Pyro higlevel API
Classes | Namespaces | Macros | Enumerations | Variables
menu.cpp File Reference

Classes

class  os::MenuWindow
 
class  os::Menu::Private
 
class  os::MenuItem::Private
 

Namespaces

namespace  os
 os:: This namespace wrapps all AtheOS API classes
 

Macros

#define MIN_ICON_MARGIN   16
 
#define ICON_TO_TEXT_SPACE   4
 
#define TITLE_TO_SHORTCUT_SPACE   16
 
#define H_ROW_SPACE   2
 
#define STICKY_THRESHOLD   5.0f
 
#define SUB_MENU_ARROW_W   5
 
#define SUB_MENU_ARROW_H   8
 

Enumerations

enum  {
  IMG_STATE_NORMAL = 0,
  IMG_STATE_GRAY = 1,
  IMG_STATE_HIGHLIGHT = 2
}
 

Variables

uint8 nSubMenuArrowData []
 

Macro Definition Documentation

#define H_ROW_SPACE   2
#define ICON_TO_TEXT_SPACE   4
#define MIN_ICON_MARGIN   16
#define STICKY_THRESHOLD   5.0f

Referenced by os::Menu::MouseMove().

#define SUB_MENU_ARROW_H   8
#define SUB_MENU_ARROW_W   5

Referenced by os::MenuItem::Draw().

#define TITLE_TO_SHORTCUT_SPACE   16

Enumeration Type Documentation

anonymous enum
Enumerator
IMG_STATE_NORMAL 
IMG_STATE_GRAY 
IMG_STATE_HIGHLIGHT 

Variable Documentation

uint8 nSubMenuArrowData[]