Pyro higlevel API
Classes | Namespaces | Enumerations | Functions
view.h File Reference

Classes

class  os::View
 Base class for all GUI components. More...
 

Namespaces

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

Enumerations

enum  os::default_color_t {
  os::COL_NORMAL,
  os::COL_SHINE,
  os::COL_SHADOW,
  os::COL_SEL_WND_BORDER,
  os::COL_NORMAL_WND_BORDER,
  os::COL_MENU_TEXT,
  os::COL_SEL_MENU_TEXT,
  os::COL_MENU_BACKGROUND,
  os::COL_SEL_MENU_BACKGROUND,
  os::COL_SCROLLBAR_BG,
  os::COL_SCROLLBAR_KNOB,
  os::COL_LISTVIEW_TAB,
  os::COL_LISTVIEW_TAB_TEXT,
  os::COL_ICON_TEXT,
  os::COL_ICON_SELECTED,
  os::COL_ICON_BG,
  os::COL_FOCUS,
  os::COL_DISABLED,
  os::COL_COUNT
}
 
enum  {
  os::FRAME_RECESSED = 0x000008,
  os::FRAME_RAISED = 0x000010,
  os::FRAME_THIN = 0x000020,
  os::FRAME_WHIDE = 0x000040,
  os::FRAME_ETCHED = 0x000080,
  os::FRAME_FLAT = 0x000100,
  os::FRAME_DISABLED = 0x000200,
  os::FRAME_KEEP_COLOR = 0x000300,
  os::FRAME_TRANSPARENT = 0x010000
}
 
enum  {
  os::MOUSE_INSIDE,
  os::MOUSE_OUTSIDE,
  os::MOUSE_ENTERED,
  os::MOUSE_EXITED
}
 
enum  os::tab_order {
  os::NO_TAB_ORDER = -1,
  os::NEXT_TAB_ORDER = -2
}
 Tab order allocation. More...
 
enum  os::view_flags {
  os::WID_FULL_UPDATE_ON_H_RESIZE = 0x0001,
  os::WID_FULL_UPDATE_ON_V_RESIZE = 0x0002,
  os::WID_FULL_UPDATE_ON_RESIZE = 0x0003,
  os::WID_WILL_DRAW = 0x0004,
  os::WID_TRANSPARENT = 0x0008,
  os::WID_CLEAR_BACKGROUND = 0x0010,
  os::WID_DRAW_ON_CHILDREN = 0x0020
}
 Flags controlling a View. More...
 
enum  os::view_resize_flags {
  os::CF_FOLLOW_NONE = 0x0000,
  os::CF_FOLLOW_LEFT = 0x0001,
  os::CF_FOLLOW_RIGHT = 0x0002,
  os::CF_FOLLOW_TOP = 0x0004,
  os::CF_FOLLOW_BOTTOM = 0x0008,
  os::CF_FOLLOW_ALL = 0x000F,
  os::CF_FOLLOW_H_MIDDLE = 0x0010,
  os::CF_FOLLOW_V_MIDDLE = 0x0020,
  os::CF_FOLLOW_SPECIAL = 0x0040,
  os::CF_FOLLOW_MASK = 0x007f
}
 Flags controlling how to resize/move a view when the parent is resized. More...
 

Functions

Color32_s os::GetStdColor (int i)
 
Color32_s os::get_default_color (default_color_t nColor)
 Get the value of one of the standard system colors. More...
 
void os::__set_default_color (default_color_t nColor, const Color32_s &sColor)
 
void os::set_default_color (default_color_t nColor, const Color32_s &sColor)
 

Detailed Description

Description:
Declaration of the os::View class
Author
Kurt Skauen (kurt@.nosp@m.athe.nosp@m.os.cx)