Pyro higlevel API
|
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 |
Functions | |
Bitmap * | get_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 [] |
All function and classes defined by the AtheOS API is contained by the 'os' namespace.
typedef enum os::AppType_e os::AppType_t |
typedef union os::AttrData_s os::AttrData_s |
typedef Color32_s os::Color32 |
typedef errno_exception os::ThreadException |
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.
Name | Type | Description |
_raw_key | T_INT32 | The raw untranslated key-code |
_qualifiers | T_INT32 | The current qualifier mask |
_string | T_STRING | String containing a single UTF-8 encoded character. |
_raw_string | T_STRING | String containing a single UTF-8 encoded character. |
Name | Type | Description |
_button | T_INT32 | Button 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_message | T_MESSAGE | This 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. |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
enum os::AppType_e |
enum os::default_color_t |
enum os::font_direction |
enum os::font_spacing |
enum os::MenuLayout_e |
enum os::type_code |
void os::__set_default_color | ( | default_color_t | nColor, |
const Color32_s & | sColor | ||
) |
Referenced by os::Application::Application(), and os::Application::HandleMessage().
|
inline |
|
inline |
|
inline |
|
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 |
||
) |
Referenced by os::IconDirectoryView::MouseUp().
void os::delete_files | ( | const std::vector< os::String > & | cPaths, |
const Messenger & | cMsgTarget, | ||
Message * | pcFinishMsg | ||
) |
Referenced by os::IconDirectoryView::HandleMessage().
Color32_s os::get_default_color | ( | default_color_t | nColor | ) |
nColor | - One of the COL_xxx enums from default_color_t |
Referenced by os::Alert::Alert(), os::TableView::AttachedToWindow(), os::Application::CommitColorConfig(), os::RadioMenuItem::Draw(), os::CheckMenu::Draw(), os::MenuItem::Draw(), os::MenuSeparator::Draw(), os::View::DrawFrame(), os::BitmapImage::GrayFilter(), os::BitmapImage::HighlightFilter(), SplashView::Paint(), os::CalendarView::DayView::Paint(), os::PopupMenu::Paint(), os::Separator::Paint(), os::AlertView::Paint(), os::CheckBox::Paint(), os::TabViewTab::Paint(), os::RadioButton::Paint(), os::FrameView::Paint(), os::ImageButton::Paint(), os::CalendarView::DOWView::Paint(), os::ImageView::Paint(), os::Button::Paint(), os::ScrollBar::Paint(), os::TableView::Paint(), os::Spinner::Paint(), os::DropdownMenu::Paint(), os::TabView::Paint(), os_priv::SplitterSeparator::Paint(), os::TextView::Paint(), os::Menu::Paint(), os::View::Paint(), os::ListView::Paint(), os::IconView::Private::Private(), os::IconView::Private::RenderIcon(), os::Slider::RenderKnob(), os::Slider::RenderSlider(), os::Slider::RenderTicks(), os::TextEdit::SetEnable(), os::Slider::Slider(), and os::View::View().
References BitmapDesc::anRaster, BMID_COUNT, CS_CMAP8, g_asBitmapDescs, os::Bitmap::GetBytesPerRow(), BitmapDesc::h, os::Bitmap::LockRaster(), MAX_BM_SIZE, os::Bitmap::SHARE_FRAMEBUFFER, BitmapDesc::w, and BitmapDesc::y.
Referenced by os::ScrollBar::Paint().
Color32_s os::GetStdColor | ( | int | i | ) |
|
inline |
Referenced by os::TextEdit::HandleKeyDown().
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 |
||
) |
References MoveFileThread().
Referenced by os::IconDirectoryView::HandleMessage(), and os::IconDirectoryView::MouseUp().
|
inline |
References __5_to_8_bit_table.
|
inline |
References __5_to_8_bit_table, and __6_to_8_bit_table.
|
inline |
|
inline |
References __5_to_8_bit_table.
void os::set_default_color | ( | default_color_t | nColor, |
const Color32_s & | sColor | ||
) |
|
inline |
|
inline |
|
inline |
const uint8 os::__5_to_8_bit_table |
Referenced by RGB15_TO_COL(), RGB16_TO_COL(), and RGBA15_TO_COL().
const uint8 os::__6_to_8_bit_table |
Referenced by RGB16_TO_COL().