Am_Style
are available to query the properties of styles:
Am_Style
Am_No_Style is used when you do not want an object to have a line or fill style (transparent fill or line style). It can be used interchangeably with NULL.
Am_Font (Am_Font_Family_Flag family = Am_FONT_FIXED,
bool is_bold = false,
bool is_italic = false,
bool is_underline = false,
Am_Font_Size_Flag size = Am_FONT_MEDIUM)
Am_Font (const char* the_name)
void Get(Am_String &name,
Am_Font_Family_Flag &f,
bool &is_bold,
bool &is_italic,
bool &is_underline,
Am_Font_Size_Flag &s);
Am_Japanese_Font
-- a fixed, medium-sized Kanji font
(x1, y1)
to (x2, y2)
.
Am_HEAD_WIDTH
and Am_HEAD_LENGTH
.
Am_VALUE
slot.
Am_VALUE
slot, which is the index of the one part to show.
.
Am_One_Shot_Interactor
that pops up a menu.
Am_Text_Input_Widget
or Am_Number_Input_Widget
or Am_Password_Input_Widget
to the next using the TAB key.
Am_Menu
or submenu widget.
Am_SELECTION_WIDGET
is allowed to select.
Am_SELECTION_WIDGET
.
Am_SELECTION_WIDGET
.
Am_SELECTION_WIDGET
is allowed to select.
Am_SELECTION_WIDGET
to Am_CLIPBOARD
.
Am_SELECTION_WIDGET
to Am_CLIPBOARD
Am_CLIPBOARD.
Am_SELECTION_WIDGET
.
Am_Resize_Group
containing the currently selected objects.
Group_Command
.
#include UNDO_DIALOG__H
to use this (see Section 1.8).
11.9.18 Am_Quit_No_Ask_Command
Quit the current application right now by calling Am_Exit_Main_Event_Loop()
.11.10 Undo objects
11.10.1 Am_Undo_Handler
Instantiate this object to create custom undo handlers. Normally you should use an Am_Single_Undo_Object11.10.2 Am_Single_Undo_Object
Undo or redo only a single command Add this as a part to a window.11.10.3 Am_Multiple_Undo_Object
Undo multiple commands, and redo only the last undone command. Add this as a part to a window.:11.10.4 Am_Undo_Dialog_Box
This is a complete dialog box used to handle selective undo of various commands. You need to #include UNDO_DIALOG__H
to use this (see Section 1.8).
Am_Cursor();
Am_Cursor(Am_Image_Array image, Am_Image_Array mask,
Am_Style fg_color, Am_Style bg_color);
void Set_Hot_Spot (int x, int y);
void Get_Hot_Spot (int& x, int& y) const;
// Size will be zero until the image is drawn. Get the size of an
// image through Am_Drawonable::Get_Image_Size.
void Get_Size (int& width, int& height);