Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Enumerations | Variables
nsIMenuParent.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsIMenuParent

Defines

#define NS_IMENUPARENT_IID   { 0x81c0bf71, 0x9f50, 0x4f4d, { 0x8b, 0x6a, 0xd6, 0xb2, 0x33, 0xc1, 0x0, 0xc2 } };
#define NS_DIRECTION_IS_INLINE(dir)
#define NS_DIRECTION_IS_BLOCK(dir)
#define NS_DIRECTION_IS_BLOCK_TO_EDGE(dir)
#define NS_DIRECTION_FROM_KEY_CODE(direction, keycode)   direction = DirectionFromKeyCode_lr_tb[keycode - NS_VK_END];

Enumerations

enum  nsNavigationDirection {
  eNavigationDirection_Last, eNavigationDirection_First, eNavigationDirection_Start, eNavigationDirection_Before,
  eNavigationDirection_End, eNavigationDirection_After
}
 nsNavigationDirection: an enum expressing navigation through the menus in terms which are independent of the directionality of the chrome. More...

Variables

static nsNavigationDirection DirectionFromKeyCode_lr_tb [6]
 DirectionFromKeyCode_lr_tb: an array that maps keycodes to values of nsNavigationDirection for left-to-right and top-to-bottom flow orientation.
static nsNavigationDirection DirectionFromKeyCode_rl_tb [6]
 DirectionFromKeyCode_rl_tb: an array that maps keycodes to values of nsNavigationDirection for right-to-left and top-to-bottom flow orientation.

Define Documentation

#define NS_DIRECTION_FROM_KEY_CODE (   direction,
  keycode 
)    direction = DirectionFromKeyCode_lr_tb[keycode - NS_VK_END];

Definition at line 133 of file nsIMenuParent.h.

Value:

Definition at line 92 of file nsIMenuParent.h.

Value:

Definition at line 94 of file nsIMenuParent.h.

Value:

Definition at line 90 of file nsIMenuParent.h.

#define NS_IMENUPARENT_IID   { 0x81c0bf71, 0x9f50, 0x4f4d, { 0x8b, 0x6a, 0xd6, 0xb2, 0x33, 0xc1, 0x0, 0xc2 } };

Definition at line 44 of file nsIMenuParent.h.


Enumeration Type Documentation

nsNavigationDirection: an enum expressing navigation through the menus in terms which are independent of the directionality of the chrome.

The terminology, derived from XSL-FO and CSS3 (e.g. http://www.w3.org/TR/css3-text/#TextLayout), is BASE (Before, After, Start, End), with the addition of First and Last (mapped to Home and End respectively).

In languages such as English where the inline progression is left-to-right and the block progression is top-to-bottom (lr-tb), these terms will map out as in the following diagram

--- inline progression --->

     First              |
     ...                |
     Before             |
   +--------+         block

Start | | End progression +--------+ | After | ... | Last V

Enumerator:
eNavigationDirection_Last 
eNavigationDirection_First 
eNavigationDirection_Start 
eNavigationDirection_Before 
eNavigationDirection_End 
eNavigationDirection_After 

Definition at line 81 of file nsIMenuParent.h.


Variable Documentation

Initial value:

DirectionFromKeyCode_lr_tb: an array that maps keycodes to values of nsNavigationDirection for left-to-right and top-to-bottom flow orientation.

Definition at line 101 of file nsIMenuParent.h.

Initial value:

DirectionFromKeyCode_rl_tb: an array that maps keycodes to values of nsNavigationDirection for right-to-left and top-to-bottom flow orientation.

Definition at line 114 of file nsIMenuParent.h.