Pyro higlevel API
Classes | Typedefs | Enumerations | Functions | Variables
os Namespace Reference

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

Classes

struct  RowPosPred
 
class  ListViewCol
 
class  ListViewHeader
 
class  ListViewContainer
 
class  DummyRow
 
class  MenuWindow
 
class  TextEdit
 
class  Application
 Singleton class representing an application. More...
 
class  AppserverConfig
 
union  AttrData_s
 
class  AttributeSettings
 
class  Catalog
 String Catalog. More...
 
class  LString
 Localised String. More...
 
class  CircularBuffer
 Circular (FIFO) data container. More...
 
class  Clipboard
 
class  DateTime
 Abstract datatype for date and time. More...
 
class  Event
 Events. More...
 
class  errno_exception
 
class  Flattenable
 
class  Handler
 
class  Invoker
 
class  Keymap
 Keymap class. More...
 
class  Locale
 Locale class. More...
 
class  Locker
 
class  AutoLocker
 
class  Gate
 
class  Looper
 
class  Message
 
class  MessageFilter
 
class  MessageQueue
 
class  Messenger
 
class  OptionParser
 Command line option parser. More...
 
class  Random
 
class  RegExp
 Regular expression class. More...
 
class  ResStream
 Data stream helper class for os::Resources. More...
 
class  Resources
 Helper class for reading/writing resources embedded in executables and DLL's. More...
 
class  Settings
 Utility class for storage of user settings and preferences. More...
 
class  ShortcutKey
 
class  String
 String manipulation class. More...
 
class  Thread
 Thread class. More...
 
class  Timezone
 
class  Variant
 
class  Bitmap
 Container for bitmap-image data. More...
 
class  Button
 Simple push-button class. More...
 
class  CalendarView
 
class  CheckBox
 2-state check box. More...
 
class  CheckMenu
 
class  TreeViewCheckNode
 
class  CheckRow
 
class  ColorRequester
 Color Requester. More...
 
class  ColorSelector
 ColorSelector. More...
 
class  Control
 Base class for GUI controls. More...
 
class  DateView
 
class  Desktop
 
class  FileRow
 Directory browser control. More...
 
class  DirectoryView
 Directory view suitable for file-requesters and other file browsers. More...
 
class  DropdownMenu
 Edit box with an asociated item-menu. More...
 
class  FileFilter
 
class  FileRequester
 Generic file requester. More...
 
struct  font_height
 
struct  font_attribs
 
struct  edge_info
 
struct  font_properties
 
class  Font
 Text Font class. More...
 
class  FontRequester
 Font Requester. More...
 
class  FrameView
 
struct  Color32_s
 Colour datatype. More...
 
class  DirectoryIconData
 
class  IconDirectoryView
 Directory view suitable for file-requesters and other file browsers. More...
 
class  IconData
 
class  IconView
 Icon view with different views. More...
 
class  Image
 Container for image data. More...
 
class  BitmapImage
 Container for bitmap image data. More...
 
class  ColorizeFilter
 
class  GlowFilter
 
class  ImageButton
 Imagebutton gui element... More...
 
class  ImageView
 View class for Image objects. More...
 
class  InputBox
 Simple InputBox class. More...
 
class  KeyboardEvent
 
class  LayoutNode
 Layout node. More...
 
class  LayoutSpacer
 Layout spacer. More...
 
class  VLayoutSpacer
 Vertical layout spacer. More...
 
class  HLayoutSpacer
 Horizontal layout spacer. More...
 
class  HLayoutNode
 Horizontal Layout class. More...
 
class  VLayoutNode
 Vertical Layout class. More...
 
class  LayoutView
 Main class in the Syllable dynamic layout system. More...
 
class  ListViewRow
 
class  ListViewStringRow
 
class  ListView
 Flexible multicolumn list view. More...
 
class  MenuItem
 Menu item class. More...
 
class  MenuSeparator
 Menu separator item. More...
 
class  Menu
 The menuing system for Syllable. More...
 
class  Point
 
class  IPoint
 
class  PopupMenu
 Popupmenu gui element... More...
 
class  RadioButton
 
class  RadioMenuItem
 RadioMenuItem. More...
 
class  RadioMenu
 RadioMenu. More...
 
class  Rect
 
class  IRect
 
struct  ClipRect
 
class  ClipRectList
 
class  Region
 
class  AlertView
 
class  Alert
 
class  ProgressView
 
class  ProgressRequester
 
class  ScrollBar
 
class  Separator
 Separator bar. More...
 
class  Slider
 
class  Spinner
 
class  Splash
 
class  Splitter
 Splitter View. More...
 
class  Sprite
 
class  StatusPanel
 Base class for StatusBar panels. More...
 
class  StatusBar
 Status bar. More...
 
class  StringView
 
class  TableCell
 
class  TableView
 
class  TabViewTab
 
class  TabView
 
class  TextView
 
class  ToolBar
 ToolBar. More...
 
class  ToolTipView
 
class  ToolTip
 
class  TreeViewNode
 Baseclass for TreeView nodes. More...
 
class  TreeViewStringNode
 TreeView node containing strings. More...
 
class  TreeView
 Flexible multicolumn tree view. More...
 
class  View
 Base class for all GUI components. More...
 
class  Window
 
class  Directory
 Filesystem directory class. More...
 
class  DirIterator
 
class  File
 
class  FileReference
 Semi persistent reference to a file. More...
 
class  FSNode
 Lowlevel filesystem node class. More...
 
class  MemFile
 Virtual stream object. More...
 
class  NodeMonitor
 Filesystem node monitor. More...
 
class  Path
 
class  RegistrarFileType
 Class to access a filetype. More...
 
class  RegistrarAppList
 Class to access the application list. More...
 
class  RegistrarManager
 Class to access the registrar server. More...
 
class  SeekableIO
 
class  StreamableIO
 
class  SymLink
 Symbolic link handling class. More...
 
class  TempFile
 
class  Volumes
 Information about the mounted volumes. More...
 
struct  BitmapHeader
 
struct  BitmapFrameHeader
 
class  DataReceiver
 
class  Translator
 
struct  TranslatorInfo
 
class  TranslatorNode
 
class  TranslatorFactory
 

Typedefs

typedef enum os::AppType_e AppType_t
 
typedef union os::AttrData_s AttrData_s
 
typedef std::list
< MessageFilter * > 
MsgFilterList
 
typedef errno_exception ThreadException
 
typedef Color32_s Color32
 

Enumerations

enum  {
  BMID_ARROW_LEFT,
  BMID_ARROW_RIGHT,
  BMID_ARROW_UP,
  BMID_ARROW_DOWN,
  BMID_COUNT
}
 
enum  AppType_e {
  APP_NORMAL = 0,
  APP_WAITER,
  APP_SERVER
}
 
enum  MessageFilterResult {
  MF_DISPATCH_MESSAGE = 0,
  MF_DISCARD_MESSAGE = 1
}
 
enum  {
  M_SERVER_PING = 0,
  M_SERVER_RESTART,
  M_SERVER_QUIT,
  M_ABOUT_REQUESTED = 10000000,
  M_WINDOW_ACTIVATED,
  M_APP_ACTIVATED,
  M_ARGV_RECEIVED,
  M_QUIT_REQUESTED,
  M_CLOSE_REQUESTED,
  M_KEY_DOWN,
  M_KEY_UP,
  M_MINIMIZE,
  M_MOUSE_DOWN,
  M_MOUSE_UP,
  M_MOUSE_MOVED,
  M_WHEEL_MOVED,
  M_READY_TO_RUN,
  M_PATHS_RECEIVED,
  M_SCREEN_CHANGED,
  M_VALUE_CHANGED,
  M_VIEW_MOVED,
  M_VIEW_RESIZED,
  M_WINDOW_MOVED,
  M_WINDOW_RESIZED,
  M_DESKTOP_ACTIVATED,
  M_SCREENMODE_CHANGED,
  M_ZOOM,
  M_PAINT,
  M_COLOR_CONFIG_CHANGED,
  M_FONT_CHANGED,
  M_MENU_EVENT,
  M_WINDOWS_CHANGED,
  _M_UNUSED3,
  M_QUIT,
  M_TERMINATE,
  _M_UNUSED4,
  _M_UNUSED5,
  _M_UNUSED6,
  _M_UNUSED7,
  _M_UNUSED8,
  _M_UNUSED9,
  M_MOVE_WINDOW,
  M_RESIZE_WINDOW,
  M_WINDOW_FRAME_CHANGED,
  M_SET_PROPERTY = 20000000,
  M_GET_PROPERTY,
  M_CREATE_PROPERTY,
  M_DELETE_PROPERTY,
  M_GET_SUPPORTED_SUITES,
  M_CUT,
  M_COPY,
  M_PASTE,
  M_LOAD_REQUESTED,
  M_SAVE_REQUESTED,
  M_FILE_REQUESTER_CANCELED,
  M_MESSAGE_NOT_UNDERSTOOD,
  M_NO_REPLY,
  M_REPLY,
  M_SIMPLE_DATA,
  M_MIME_DATA,
  M_ARCHIVED_OBJECT,
  M_UPDATE_STATUS_BAR,
  M_RESET_STATUS_BAR,
  M_NODE_MONITOR,
  M_FONT_REQUESTED,
  M_FONT_REQUESTER_CANCELED,
  M_BOX_REQUESTED,
  M_BOX_REQUESTER_CANCELED,
  M_COLOR_REQUESTER_CANCELED,
  M_COLOR_REQUESTED,
  M_COLOR_REQUESTER_CHANGED,
  M_CLIPBOARD_CHANGED,
  M_YEAR_CHANGED,
  M_MONTH_CHANGED,
  M_CALENDAR_DATE_INVOKED,
  M_CHECKROW_CHANGED,
  M_CHECKNODE_CHANGED,
  M_FIRST_EVENT = 3900,
  M_LAST_EVENT = 3999
}
 
enum  type_code {
  T_ANY_TYPE,
  T_POINTER,
  T_INT8,
  T_INT16,
  T_INT32,
  T_INT64,
  T_BOOL,
  T_FLOAT,
  T_DOUBLE,
  T_STRING,
  T_IRECT,
  T_IPOINT,
  T_MESSAGE,
  T_COLOR32,
  T_FILE,
  T_MEM_OBJ,
  T_RECT,
  T_POINT,
  T_VARIANT,
  T_RAW,
  T_SHORTCUTKEY,
  T_FONT,
  T_DATETIME,
  T_USER = 0x80000000
}
 
enum  font_spacing {
  CHAR_SPACING,
  STRING_SPACING,
  FIXED_SPACING
}
 
enum  font_direction {
  FONT_LEFT_TO_RIGHT,
  FONT_RIGHT_TO_LEFT,
  FONT_TOP_TO_BOTTOM,
  FONT_BOTTOM_TO_TOP
}
 
enum  {
  TRUNCATE_END = 0,
  TRUNCATE_BEGINNING = 1,
  TRUNCATE_MIDDLE = 2,
  TRUNCATE_SMART = 3
}
 
enum  {
  UNICODE_UTF8,
  ISO_8859_1,
  ISO_8859_2,
  ISO_8859_3,
  ISO_8859_4,
  ISO_8859_5,
  ISO_8859_6,
  ISO_8859_7,
  ISO_8859_8,
  ISO_8859_9,
  ISO_8859_10,
  MACINTOSH_ROMAN
}
 
enum  {
  FONT_IS_FIXED = 0x0001,
  FONT_HAS_TUNED_SIZES = 0x0002,
  FONT_IS_SCALABLE = 0x0004
}
 
enum  {
  FPF_MONOSPACED = 0x00000001,
  FPF_SMOOTHED = 0x00000002,
  FPF_BOLD = 0x00000004,
  FPF_ITALIC = 0x00000008,
  FPF_SYSTEM = 0x80000000
}
 
enum  MenuLayout_e {
  ITEMS_IN_COLUMN,
  ITEMS_IN_ROW,
  ITEMS_CUSTOM_LAYOUT
}
 
enum  { SB_MINSIZE = 12 }
 
enum  { SL_MINSIZE = 8 }
 
enum  default_color_t {
  COL_NORMAL,
  COL_SHINE,
  COL_SHADOW,
  COL_SEL_WND_BORDER,
  COL_NORMAL_WND_BORDER,
  COL_MENU_TEXT,
  COL_SEL_MENU_TEXT,
  COL_MENU_BACKGROUND,
  COL_SEL_MENU_BACKGROUND,
  COL_SCROLLBAR_BG,
  COL_SCROLLBAR_KNOB,
  COL_LISTVIEW_TAB,
  COL_LISTVIEW_TAB_TEXT,
  COL_ICON_TEXT,
  COL_ICON_SELECTED,
  COL_ICON_BG,
  COL_FOCUS,
  COL_DISABLED,
  COL_COUNT
}
 
enum  {
  FRAME_RECESSED = 0x000008,
  FRAME_RAISED = 0x000010,
  FRAME_THIN = 0x000020,
  FRAME_WHIDE = 0x000040,
  FRAME_ETCHED = 0x000080,
  FRAME_FLAT = 0x000100,
  FRAME_DISABLED = 0x000200,
  FRAME_KEEP_COLOR = 0x000300,
  FRAME_TRANSPARENT = 0x010000
}
 
enum  {
  MOUSE_INSIDE,
  MOUSE_OUTSIDE,
  MOUSE_ENTERED,
  MOUSE_EXITED
}
 
enum  tab_order {
  NO_TAB_ORDER = -1,
  NEXT_TAB_ORDER = -2
}
 Tab order allocation. More...
 
enum  view_flags {
  WID_FULL_UPDATE_ON_H_RESIZE = 0x0001,
  WID_FULL_UPDATE_ON_V_RESIZE = 0x0002,
  WID_FULL_UPDATE_ON_RESIZE = 0x0003,
  WID_WILL_DRAW = 0x0004,
  WID_TRANSPARENT = 0x0008,
  WID_CLEAR_BACKGROUND = 0x0010,
  WID_DRAW_ON_CHILDREN = 0x0020
}
 Flags controlling a View. More...
 
enum  view_resize_flags {
  CF_FOLLOW_NONE = 0x0000,
  CF_FOLLOW_LEFT = 0x0001,
  CF_FOLLOW_RIGHT = 0x0002,
  CF_FOLLOW_TOP = 0x0004,
  CF_FOLLOW_BOTTOM = 0x0008,
  CF_FOLLOW_ALL = 0x000F,
  CF_FOLLOW_H_MIDDLE = 0x0010,
  CF_FOLLOW_V_MIDDLE = 0x0020,
  CF_FOLLOW_SPECIAL = 0x0040,
  CF_FOLLOW_MASK = 0x007f
}
 Flags controlling how to resize/move a view when the parent is resized. More...
 
enum  {
  WND_NO_CLOSE_BUT = 0x00000001,
  WND_NO_ZOOM_BUT = 0x00000002,
  WND_NO_DEPTH_BUT = 0x00000004,
  WND_NOT_MOVEABLE = 0x00000008,
  WND_NOT_H_RESIZABLE = 0x00000010,
  WND_NOT_V_RESIZABLE = 0x00000020,
  WND_NOT_RESIZABLE = 0x00000030,
  WND_NO_TITLE = 0x00000040,
  WND_NO_BORDER = 0x00000080,
  WND_FRONTMOST = 0x00000100,
  WND_BACKMOST = 0x00000200,
  WND_MODAL = 0x00000400,
  WND_SEND_WINDOWS_CHANGED = 0x00000800,
  WND_SYSTEM = 0x00010000,
  WND_SINGLEBUFFER = 0x00020000,
  WND_INDEP_DESKTOP_FRAMES = 0x00040000
}
 
enum  {
  CURRENT_DESKTOP = 0,
  ALL_DESKTOPS = ~0
}
 
enum  {
  REGISTRAR_OK,
  REGISTRAR_ERROR,
  REGISTRAR_LOGIN,
  REGISTRAR_LOGOUT,
  REGISTRAR_INVALIDATE,
  REGISTRAR_REGISTER_TYPE,
  REGISTRAR_UNREGISTER_TYPE,
  REGISTRAR_REGISTER_TYPE_ICON,
  REGISTRAR_REGISTER_TYPE_EXTENSION,
  REGISTRAR_CLEAR_TYPE_EXTENSIONS,
  REGISTRAR_REGISTER_TYPE_HANDLER,
  REGISTRAR_CLEAR_TYPE_HANDLERS,
  REGISTRAR_GET_TYPE_COUNT,
  REGISTRAR_GET_TYPE,
  REGISTRAR_SET_DEFAULT_HANDLER,
  REGISTRAR_GET_TYPE_AND_ICON,
  REGISTRAR_UPDATE_APP_LIST,
  REGISTRAR_GET_APP_LIST
}
 
enum  { BMF_MULTIPASS = 0x0001 }
 

Functions

Bitmapget_std_bitmap (int nBitmap, int nColor, Rect *pcRect)
 
int BitsPerPixel (color_space eColorSpc)
 
uint32 COL_TO_RGB32 (const Color32_s &col)
 
uint16 COL_TO_RGB16 (const Color32_s &col)
 
uint16 COL_TO_RGB15 (const Color32_s &col)
 
Color32_s RGB32_TO_COL (uint32 pix)
 
Color32_s RGB16_TO_COL (uint16 pix)
 
Color32_s RGB15_TO_COL (uint16 pix)
 
Color32_s RGBA15_TO_COL (uint16 pix)
 
bool is_first_utf8_byte (uint8 nByte)
 
int utf8_char_length (uint8 nFirstByte)
 
int utf8_to_unicode (const char *pzSource)
 
int unicode_to_utf8 (char *pzDst, uint32 nChar)
 
Color32_s GetStdColor (int i)
 
Color32_s get_default_color (default_color_t nColor)
 Get the value of one of the standard system colors. More...
 
void __set_default_color (default_color_t nColor, const Color32_s &sColor)
 
void set_default_color (default_color_t nColor, const Color32_s &sColor)
 
void copy_files (const std::vector< os::String > &cDstPaths, const std::vector< os::String > &cSrcPaths, const Messenger &cMsgTarget, Message *pcFinishMsg, bool bReplace=false, bool bDontOverwrite=false)
 
void move_files (const std::vector< os::String > &cDstPaths, const std::vector< os::String > &cSrcPaths, const Messenger &cMsgTarget, Message *pcFinishMsg, bool bReplace=false, bool bDontOverwrite=false)
 
void delete_files (const std::vector< os::String > &cPaths, const Messenger &cMsgTarget, Message *pcFinishMsg)
 

Variables

const uint8 __5_to_8_bit_table []
 
const uint8 __6_to_8_bit_table []
 

Detailed Description

 All function and classes defined by the AtheOS API is contained
 by the 'os' namespace.
Author
Kurt Skauen (kurt@.nosp@m.athe.nosp@m.os.cx)

Typedef Documentation

Enumeration Type Documentation

anonymous enum
Enumerator
BMID_ARROW_LEFT 
BMID_ARROW_RIGHT 
BMID_ARROW_UP 
BMID_ARROW_DOWN 
BMID_COUNT 
anonymous enum

This is the various messages that is sent by the system. Most of these are handled internally by the various GUI classes but every now and then you might have to deal with them on your own. Input event messages like M_MOUSE_DOWN/M_MOUSE_UP/M_MOUSE_MOVED/M_KEY_DOWN, etc etc are all translated into calls of the various os::View virtual hook members so you don't have to know anything about the raw messages to deal with them.

M_KEY_DOWN/M_KEY_UP:
This messages are sendt to the active window to report keyboard activity. They are translated into calls of View::KeyDown() View::KeyUp() on the active view by the Window class so you normally don't have to deal with it on your own. Not all members of the message are extracted and passed to the virtual hooks though so you might occationally have to mess with the raw message yourself.
NameTypeDescription
_raw_keyT_INT32The raw untranslated key-code
_qualifiersT_INT32The current qualifier mask
_stringT_STRINGString containing a single UTF-8 encoded character.
_raw_stringT_STRINGString containing a single UTF-8 encoded character.
M_MOUSE_DOWN/M_MOUSE_UP
This messages are send when the user click one of the mouse buttons. They are translated into calls of View::MouseDown() and View::MouseUp() by the Window class and are rarly touched from user code.
NameTypeDescription
_buttonT_INT32Button number. Buttons are numbered from 1 where 1 is the left button, 2 is the right button, and 3 is the middle button. The mouse driver can also suppor additional buttons and this will then be assigned numbers from 4 and up.
_drag_messageT_MESSAGEThis member is only present in M_MOUSE_UP messages and only if the M_MOUSE_UP was the end of a drag and drop operating. The content is the data being dragged as defined by the View::BeginDrag() member.
Enumerator
M_SERVER_PING 
M_SERVER_RESTART 
M_SERVER_QUIT 
M_ABOUT_REQUESTED 
M_WINDOW_ACTIVATED 
M_APP_ACTIVATED 
M_ARGV_RECEIVED 
M_QUIT_REQUESTED 
M_CLOSE_REQUESTED 
M_KEY_DOWN 
M_KEY_UP 
M_MINIMIZE 
M_MOUSE_DOWN 
M_MOUSE_UP 
M_MOUSE_MOVED 
M_WHEEL_MOVED 
M_READY_TO_RUN 
M_PATHS_RECEIVED 
M_SCREEN_CHANGED 
M_VALUE_CHANGED 
M_VIEW_MOVED 
M_VIEW_RESIZED 
M_WINDOW_MOVED 
M_WINDOW_RESIZED 
M_DESKTOP_ACTIVATED 
M_SCREENMODE_CHANGED 
M_ZOOM 
M_PAINT 
M_COLOR_CONFIG_CHANGED 
M_FONT_CHANGED 
M_MENU_EVENT 
M_WINDOWS_CHANGED 
_M_UNUSED3 
M_QUIT 
M_TERMINATE 
_M_UNUSED4 
_M_UNUSED5 
_M_UNUSED6 
_M_UNUSED7 
_M_UNUSED8 
_M_UNUSED9 
M_MOVE_WINDOW 
M_RESIZE_WINDOW 
M_WINDOW_FRAME_CHANGED 
M_SET_PROPERTY 
M_GET_PROPERTY 
M_CREATE_PROPERTY 
M_DELETE_PROPERTY 
M_GET_SUPPORTED_SUITES 
M_CUT 
M_COPY 
M_PASTE 
M_LOAD_REQUESTED 
M_SAVE_REQUESTED 
M_FILE_REQUESTER_CANCELED 
M_MESSAGE_NOT_UNDERSTOOD 
M_NO_REPLY 
M_REPLY 
M_SIMPLE_DATA 
M_MIME_DATA 
M_ARCHIVED_OBJECT 
M_UPDATE_STATUS_BAR 
M_RESET_STATUS_BAR 
M_NODE_MONITOR 
M_FONT_REQUESTED 
M_FONT_REQUESTER_CANCELED 
M_BOX_REQUESTED 
M_BOX_REQUESTER_CANCELED 
M_COLOR_REQUESTER_CANCELED 
M_COLOR_REQUESTED 
M_COLOR_REQUESTER_CHANGED 
M_CLIPBOARD_CHANGED 
M_YEAR_CHANGED 
M_MONTH_CHANGED 
M_CALENDAR_DATE_INVOKED 
M_CHECKROW_CHANGED 
M_CHECKNODE_CHANGED 
M_FIRST_EVENT 
M_LAST_EVENT 
anonymous enum
Enumerator
TRUNCATE_END 
TRUNCATE_BEGINNING 
TRUNCATE_MIDDLE 
TRUNCATE_SMART 
anonymous enum
Enumerator
UNICODE_UTF8 
ISO_8859_1 
ISO_8859_2 
ISO_8859_3 
ISO_8859_4 
ISO_8859_5 
ISO_8859_6 
ISO_8859_7 
ISO_8859_8 
ISO_8859_9 
ISO_8859_10 
MACINTOSH_ROMAN 
anonymous enum
Enumerator
FONT_IS_FIXED 
FONT_HAS_TUNED_SIZES 
FONT_IS_SCALABLE 
anonymous enum
Enumerator
FPF_MONOSPACED 
FPF_SMOOTHED 
FPF_BOLD 

Antialiased.

FPF_ITALIC 
FPF_SYSTEM 
anonymous enum
Enumerator
SB_MINSIZE 
anonymous enum
Enumerator
SL_MINSIZE 
anonymous enum
Enumerator
FRAME_RECESSED 
FRAME_RAISED 
FRAME_THIN 
FRAME_WHIDE 
FRAME_ETCHED 
FRAME_FLAT 
FRAME_DISABLED 
FRAME_KEEP_COLOR 
FRAME_TRANSPARENT 
anonymous enum
Enumerator
MOUSE_INSIDE 
MOUSE_OUTSIDE 
MOUSE_ENTERED 
MOUSE_EXITED 
anonymous enum
Enumerator
WND_NO_CLOSE_BUT 
WND_NO_ZOOM_BUT 
WND_NO_DEPTH_BUT 
WND_NOT_MOVEABLE 
WND_NOT_H_RESIZABLE 
WND_NOT_V_RESIZABLE 
WND_NOT_RESIZABLE 
WND_NO_TITLE 
WND_NO_BORDER 
WND_FRONTMOST 
WND_BACKMOST 
WND_MODAL 
WND_SEND_WINDOWS_CHANGED 
WND_SYSTEM 
WND_SINGLEBUFFER 
WND_INDEP_DESKTOP_FRAMES 
anonymous enum
Enumerator
CURRENT_DESKTOP 
ALL_DESKTOPS 
anonymous enum
Enumerator
REGISTRAR_OK 
REGISTRAR_ERROR 
REGISTRAR_LOGIN 
REGISTRAR_LOGOUT 
REGISTRAR_INVALIDATE 
REGISTRAR_REGISTER_TYPE 
REGISTRAR_UNREGISTER_TYPE 
REGISTRAR_REGISTER_TYPE_ICON 
REGISTRAR_REGISTER_TYPE_EXTENSION 
REGISTRAR_CLEAR_TYPE_EXTENSIONS 
REGISTRAR_REGISTER_TYPE_HANDLER 
REGISTRAR_CLEAR_TYPE_HANDLERS 
REGISTRAR_GET_TYPE_COUNT 
REGISTRAR_GET_TYPE 
REGISTRAR_SET_DEFAULT_HANDLER 
REGISTRAR_GET_TYPE_AND_ICON 
REGISTRAR_UPDATE_APP_LIST 
REGISTRAR_GET_APP_LIST 
anonymous enum
Enumerator
BMF_MULTIPASS 
Enumerator
APP_NORMAL 
APP_WAITER 
APP_SERVER 
Enumerator
COL_NORMAL 
COL_SHINE 
COL_SHADOW 
COL_SEL_WND_BORDER 
COL_NORMAL_WND_BORDER 
COL_MENU_TEXT 
COL_SEL_MENU_TEXT 
COL_MENU_BACKGROUND 
COL_SEL_MENU_BACKGROUND 
COL_SCROLLBAR_BG 
COL_SCROLLBAR_KNOB 
COL_LISTVIEW_TAB 
COL_LISTVIEW_TAB_TEXT 
COL_ICON_TEXT 
COL_ICON_SELECTED 
COL_ICON_BG 
COL_FOCUS 
COL_DISABLED 
COL_COUNT 
Enumerator
FONT_LEFT_TO_RIGHT 
FONT_RIGHT_TO_LEFT 
FONT_TOP_TO_BOTTOM 
FONT_BOTTOM_TO_TOP 
Enumerator
CHAR_SPACING 
STRING_SPACING 
FIXED_SPACING 
Enumerator
ITEMS_IN_COLUMN 
ITEMS_IN_ROW 
ITEMS_CUSTOM_LAYOUT 
Enumerator
MF_DISPATCH_MESSAGE 
MF_DISCARD_MESSAGE 

Description:
Various type codes used to identify data-types by various classes in the toolkit. Most notably the os::Message class and os::Flattenable. For classes not part of the OS namespace, use codes equal to, or higher than, T_USER.
Enumerator
T_ANY_TYPE 
T_POINTER 
T_INT8 
T_INT16 
T_INT32 
T_INT64 
T_BOOL 
T_FLOAT 
T_DOUBLE 
T_STRING 
T_IRECT 
T_IPOINT 
T_MESSAGE 
T_COLOR32 
T_FILE 
T_MEM_OBJ 
T_RECT 
T_POINT 
T_VARIANT 
T_RAW 
T_SHORTCUTKEY 
T_FONT 
T_DATETIME 
T_USER 

Function Documentation

void os::__set_default_color ( default_color_t  nColor,
const Color32_s sColor 
)
int os::BitsPerPixel ( color_space  eColorSpc)
inline
uint16 os::COL_TO_RGB15 ( const Color32_s &  col)
inline
uint16 os::COL_TO_RGB16 ( const Color32_s &  col)
inline
uint32 os::COL_TO_RGB32 ( const Color32_s &  col)
inline
void os::copy_files ( const std::vector< os::String > &  cDstPaths,
const std::vector< os::String > &  cSrcPaths,
const Messenger cMsgTarget,
Message pcFinishMsg,
bool  bReplace = false,
bool  bDontOverwrite = false 
)
void os::delete_files ( const std::vector< os::String > &  cPaths,
const Messenger cMsgTarget,
Message pcFinishMsg 
)
Color32_s os::get_default_color ( default_color_t  nColor)
Bitmap * os::get_std_bitmap ( int  nBitmap,
int  nColor,
Rect pcRect 
)
Color32_s os::GetStdColor ( int  i)
bool os::is_first_utf8_byte ( uint8  nByte)
inline
void os::move_files ( const std::vector< os::String > &  cDstPaths,
const std::vector< os::String > &  cSrcPaths,
const Messenger cMsgTarget,
Message pcFinishMsg,
bool  bReplace = false,
bool  bDontOverwrite = false 
)
Color32_s os::RGB15_TO_COL ( uint16  pix)
inline

References __5_to_8_bit_table.

Color32_s os::RGB16_TO_COL ( uint16  pix)
inline
Color32_s os::RGB32_TO_COL ( uint32  pix)
inline
Color32_s os::RGBA15_TO_COL ( uint16  pix)
inline

References __5_to_8_bit_table.

void os::set_default_color ( default_color_t  nColor,
const Color32_s sColor 
)
int os::unicode_to_utf8 ( char *  pzDst,
uint32  nChar 
)
inline
int os::utf8_char_length ( uint8  nFirstByte)
inline
int os::utf8_to_unicode ( const char *  pzSource)
inline

Variable Documentation

const uint8 os::__5_to_8_bit_table
Initial value:
= {
0x00, 0x08, 0x10, 0x18, 0x20, 0x29, 0x31, 0x39,
0x41, 0x4a, 0x52, 0x5a, 0x62, 0x6a, 0x73, 0x7b,
0x83, 0x8b, 0x94, 0x9c, 0xa4, 0xac, 0xb4, 0xbd,
0xc5, 0xcd, 0xd5, 0xde, 0xe6, 0xee, 0xf6, 0xff
}

Referenced by RGB15_TO_COL(), RGB16_TO_COL(), and RGBA15_TO_COL().

const uint8 os::__6_to_8_bit_table
Initial value:
= {
0x00, 0x04, 0x08, 0x0c, 0x10, 0x14, 0x18, 0x1c,
0x20, 0x24, 0x28, 0x2c, 0x30, 0x34, 0x38, 0x3c,
0x40, 0x44, 0x48, 0x4c, 0x50, 0x55, 0x59, 0x5d,
0x61, 0x65, 0x69, 0x6d, 0x71, 0x75, 0x79, 0x7d,
0x81, 0x85, 0x89, 0x8d, 0x91, 0x95, 0x99, 0x9d,
0xa1, 0xa5, 0xaa, 0xae, 0xb2, 0xb6, 0xba, 0xbe,
0xc2, 0xc6, 0xca, 0xce, 0xd2, 0xd6, 0xda, 0xde,
0xe2, 0xe6, 0xea, 0xee, 0xf2, 0xf6, 0xfa, 0xff
}

Referenced by RGB16_TO_COL().