Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

os Namespace Reference

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


Compounds

class  os::Alert
class  os::AlertView
class  os::Application
 Singleton class representing an application. More...

class  os::AppserverConfig
class  os::AutoLocker
class  os::Bitmap
 Container for bitmap-image data. More...

struct  os::BitmapFrameHeader
struct  os::BitmapHeader
class  os::Button
 Simple push-button class. More...

class  os::CheckBox
 2-state check box. More...

class  os::Clipboard
struct  os::ClipRect
class  os::ClipRectList
struct  os::Color32_s
class  os::Control
 Base class for GUI controls. More...

class  os::DataReceiver
class  os::Desktop
 Class for manipulating the 32 desktops. More...

class  os::Directory
 Filesystem directory class. More...

class  os::DirectoryView
 Directory view suitable for file-requesters and other file browsers. More...

struct  os::DirectoryView::ReadDirParam
struct  os::DirectoryView::State
class  os::DirIterator
class  os::DropdownMenu
 Edit box with an asociated item-menu. More...

class  os::DropdownMenu::DropdownView
class  os::DummyRow
struct  os::edge_info
class  os::errno_exception
class  os::File
class  os::FileFilter
class  os::FileReference
 Semi persistent reference to a file. More...

class  os::FileRequester
 Generic file requester. More...

class  os::FileRow
 Directory browser control. More...

class  os::Font
 Text font class. More...

struct  os::font_attribs
struct  os::font_height
struct  os::font_properties
class  os::FrameView
class  os::FSNode
 Lowlevel filesystem node class. More...

class  os::Gate
class  os::Handler
class  os::HLayoutNode
class  os::HLayoutSpacer
class  os::Invoker
class  os::IPoint
class  os::IRect
class  os::LayoutNode
struct  os::LayoutNode::ShareNode
class  os::LayoutSpacer
class  os::LayoutView
 Main class in the AtheOS dynamic layout system. More...

class  os::ListView
 Flexible multicolumn list view. More...

class  os::ListViewCol
class  os::ListViewContainer
class  os::ListViewHeader
class  os::ListViewRow
class  os::ListViewStringRow
class  os::Locker
class  os::Looper
struct  os::Looper::TimerNode
class  os::Menu
class  os::MenuItem
class  os::MenuSeparator
class  os::MenuWindow
class  os::Message
struct  os::Message::Chunk_s
struct  os::Message::DataArray_s
class  os::MessageFilter
class  os::MessageQueue
class  os::Messenger
class  os::NodeMonitor
 Filesystem node monitor. More...

class  os::Path
class  os::Point
class  os::ProgressBar
class  os::ProgressRequester
class  os::ProgressView
class  os::RadioButton
class  os::Rect
class  os::Region
struct  os::RowPosPred
class  os::ScrollBar
class  os::SeekableIO
class  os::Settings
class  os::Slider
class  os::Spinner
class  os::Sprite
class  os::StreamableIO
class  os::String
 String manipulation class. More...

class  os::StringView
struct  os::StringView::data
class  os::SymLink
 Symbolic link handling class. More...

class  os::TableCell
class  os::TableView
class  os::TabView
struct  os::TabView::Tab
class  os::TabView::TopView
class  os::TempFile
class  os::TextEdit
struct  os::TextEdit::UndoNode
class  os::TextView
class  os::Translator
class  os::TranslatorFactory
struct  os::TranslatorInfo
class  os::TranslatorNode
class  os::Variant
class  os::View
 Base class for all GUI components. More...

class  os::VLayoutNode
class  os::VLayoutSpacer
class  os::Window

Typedefs

typedef std::list< MessageFilter *> MsgFilterList

Enumerations

enum  {
  BMID_ARROW_LEFT,
  BMID_ARROW_RIGHT,
  BMID_ARROW_UP,
  BMID_ARROW_DOWN,
  BMID_COUNT
}
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
}
enum  font_spacing {
  CHAR_SPACING,
  STRING_SPACING,
  FIXED_SPACING
}
enum  font_direction {
  FONT_LEFT_TO_RIGHT,
  FONT_RIGHT_TO_LEFT
}
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_SYSTEM = 0x80000000
}
enum  MenuLayout_e {
  ITEMS_IN_COLUMN,
  ITEMS_IN_ROW,
  ITEMS_CUSTOM_LAYOUT
}
enum  { SB_MINSIZE = 12 }
enum  { SL_MINSIZE = 8 }
enum  {
  PEN_DETAIL,
  PEN_BACKGROUND,
  PEN_SHINE,
  PEN_SHADOW,
  PEN_BRIGHT,
  PEN_DARK,
  PEN_WINTITLE,
  PEN_WINBORDER,
  PEN_SELWINTITLE,
  PEN_SELWINBORDER,
  PEN_WINDOWTEXT,
  PEN_SELWNDTEXT,
  PEN_WINCLIENT,
  PEN_GADGETFILL,
  PEN_SELGADGETFILL,
  PEN_GADGETTEXT,
  PEN_SELGADGETTEXT
}
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_COUNT
}
enum  {
  FRAME_RECESSED = 0x000008,
  FRAME_RAISED = 0x000010,
  FRAME_THIN = 0x000020,
  FRAME_WHIDE = 0x000040,
  FRAME_ETCHED = 0x000080,
  FRAME_FLAT = 0x000100,
  FRAME_DISABLED = 0x000200,
  FRAME_TRANSPARENT = 0x010000
}
enum  {
  MOUSE_INSIDE,
  MOUSE_OUTSIDE,
  MOUSE_ENTERED,
  MOUSE_EXITED
}
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_SYSTEM = 0x00010000
}
enum  {
  CURRENT_DESKTOP = 0,
  ALL_DESKTOPS = ~0
}
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)

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@atheos.cx)


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
BMID_ARROW_LEFT  
BMID_ARROW_RIGHT  
BMID_ARROW_UP  
BMID_ARROW_DOWN  
BMID_COUNT  

anonymous enum
 

Enumeration values:
TRUNCATE_END  
TRUNCATE_BEGINNING  
TRUNCATE_MIDDLE  
TRUNCATE_SMART  

anonymous enum
 

Enumeration values:
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
 

Enumeration values:
FONT_IS_FIXED  
FONT_HAS_TUNED_SIZES  
FONT_IS_SCALABLE  

anonymous enum
 

Enumeration values:
FPF_MONOSPACED  
FPF_SMOOTHED  
FPF_SYSTEM  

anonymous enum
 

Enumeration values:
SB_MINSIZE  

anonymous enum
 

Enumeration values:
SL_MINSIZE  

anonymous enum
 

Enumeration values:
PEN_DETAIL  
PEN_BACKGROUND  
PEN_SHINE  
PEN_SHADOW  
PEN_BRIGHT  
PEN_DARK  
PEN_WINTITLE  
PEN_WINBORDER  
PEN_SELWINTITLE  
PEN_SELWINBORDER  
PEN_WINDOWTEXT  
PEN_SELWNDTEXT  
PEN_WINCLIENT  
PEN_GADGETFILL  
PEN_SELGADGETFILL  
PEN_GADGETTEXT  
PEN_SELGADGETTEXT  

anonymous enum
 

Enumeration values:
FRAME_RECESSED  
FRAME_RAISED  
FRAME_THIN  
FRAME_WHIDE  
FRAME_ETCHED  
FRAME_FLAT  
FRAME_DISABLED  
FRAME_TRANSPARENT  

anonymous enum
 

Enumeration values:
MOUSE_INSIDE  
MOUSE_OUTSIDE  
MOUSE_ENTERED  
MOUSE_EXITED  

anonymous enum
 

Enumeration values:
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_SYSTEM  

anonymous enum
 

Enumeration values:
CURRENT_DESKTOP  
ALL_DESKTOPS  

anonymous enum
 

Enumeration values:
BMF_MULTIPASS  

enum os::MenuLayout_e
 

Enumeration values:
ITEMS_IN_COLUMN  
ITEMS_IN_ROW  
ITEMS_CUSTOM_LAYOUT  

enum os::default_color_t
 

Enumeration values:
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_COUNT  

enum os::font_direction
 

Enumeration values:
FONT_LEFT_TO_RIGHT  
FONT_RIGHT_TO_LEFT  

enum os::font_spacing
 

Enumeration values:
CHAR_SPACING  
STRING_SPACING  
FIXED_SPACING  

enum os::type_code
 

Description:
Various type codes used to identify data-types by various classes in the toolkit. Most notably the os::Message class.
Enumeration values:
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  


Function Documentation

int BitsPerPixel color_space eColorSpc [inline]
 

uint16 COL_TO_RGB15 const Color32_s & col [inline]
 

uint16 COL_TO_RGB16 const Color32_s & col [inline]
 

uint32 COL_TO_RGB32 const Color32_s & col [inline]
 

Color32_s GetStdColor int i
 

Color32_s RGB15_TO_COL uint16 pix [inline]
 

Color32_s RGB16_TO_COL uint16 pix [inline]
 

Color32_s RGB32_TO_COL uint32 pix [inline]
 

Color32_s RGBA15_TO_COL uint16 pix [inline]
 

void os::__set_default_color default_color_t nColor,
const Color32_s & sColor
 

For internal use only.

Color32_s os::get_default_color default_color_t nColor
 

Description:
Call this function to obtain one of the user-configurable system colors. This should be used whenever possible instead of hardcoding colors to make it possible for the user to customize the look.
Note:
Warning:
Parameters:
nColor   - One of the COL_xxx enums from default_color_t
Returns:
The current color for the given system pen.
See also:
Author:
Kurt Skauen (kurt@atheos.cx)

Bitmap * os::get_std_bitmap int nBitmap,
int nColor,
Rect * pcRect
 

bool is_first_utf8_byte uint8 nByte [inline]
 

void os::set_default_color default_color_t nColor,
const Color32_s & sColor
 

int unicode_to_utf8 char * pzDst,
uint32 nChar
[inline]
 

int utf8_char_length uint8 nFirstByte [inline]
 

int 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
}

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
}


Generated at Tue Sep 11 15:27:59 2001 for AtheOS higlevel API by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001