ARB
|
#include <aw_window.hxx>
Public Member Functions | |
AW_window_menu () | |
~AW_window_menu () | |
void | init (AW_root *root, const char *wid, const char *windowname, int width, int height) |
![]() | |
AW_window () | |
virtual | ~AW_window () |
const char * | window_local_awarname (const char *localname, bool tmp=true) |
class AW_awar * | window_local_awar (const char *localname, bool tmp=true) |
void | create_window_variables () |
void | recalc_pos_atShow (AW_PosRecalc pr) |
void | recalc_size_atShow (enum AW_SizeRecalc sr) |
AW_PosRecalc | get_recalc_pos_atShow () const |
void | reset_layout (const char *YYYYMMDD) |
void | allow_delete_window (bool allow_close) |
void | on_hide (const WindowCallback &call_on_hide) |
void | on_hide (WindowCallbackSimple call_on_hide) |
void | run_focus_callback () |
void | run_popup_callbacks () |
void | show_modal () |
void | set_window_title_intern (char *title) |
void | update_label (Widget widget, const char *var_value) |
void | update_toggle (Widget widget, const char *var_value, AW_CL cd) |
void | update_input_field (Widget widget, const char *var_value) |
void | update_text_field (Widget widget, const char *var_value) |
void | update_scaler (Widget widget, AW_awar *awar, AW_ScalerType scalerType) |
void | create_invisible (int columns) |
void * | _create_option_entry (AW_VARIABLE_TYPE type, const char *name, const char *mnemonic, const char *name_of_color) |
void | refresh_toggle_field (int toggle_field_number) |
void | _set_activate_callback (void *widget) |
void | increment_at_commands (int width, int height) |
AW_color_idx | alloc_named_data_color (int colnum, const char *colorname) |
void | _get_area_size (AW_area area, AW_screen_area *square) |
int | label_widget (void *wgt, AW_label str, char *mnemonic=NULp, int width=0, int alignment=0) |
AW_root * | get_root () |
void | show () |
void | hide () |
void | activate () |
bool | is_shown () const |
void | hide_or_notify (const char *error) |
void | message (char *title, int ms) |
void | set_window_title (const char *title) |
const char * | get_window_title () const |
const char * | get_window_id () const |
const char * | local_id (const char *id) const |
void | set_info_area_height (int height) |
void | set_bottom_area_height (int height) |
void | set_popup_callback (const WindowCallback &wcb) |
void | set_focus_callback (const WindowCallback &wcb) |
bool | is_focus_callback (AnyWinCB f) |
void | set_expose_callback (AW_area area, const WindowCallback &wcb) |
void | set_resize_callback (AW_area area, const WindowCallback &wcb) |
void | set_input_callback (AW_area area, const WindowCallback &wcb) |
void | set_motion_callback (AW_area area, const WindowCallback &wcb) |
void | set_double_click_callback (AW_area area, const WindowCallback &wcb) |
bool | is_expose_callback (AW_area area, AnyWinCB f) |
bool | is_resize_callback (AW_area area, AnyWinCB f) |
void | get_event (AW_event *eventi) const |
void | force_expose () |
AW_device * | get_device (AW_area area) |
AW_device_click * | get_click_device (AW_area area, int mousex, int mousey, int max_distance) |
AW_device_size * | get_size_device (AW_area area) |
AW_device_print * | get_print_device (AW_area area) |
AW_common * | get_common (AW_area area) |
void | create_menu (const char *name, const char *mnemonic, AW_active mask=AWM_ALL) |
void | insert_sub_menu (const char *name, const char *mnemonic, AW_active mask=AWM_ALL) |
void | insert_menu_topic (const char *id, const char *name, const char *mnemonic, const char *help_text_, AW_active mask, const WindowCallback &wcb) |
void | insert_menu_topic (const char *id, const char *name, const char *mnemonic, const char *help_text_, AW_active mask, const CreateWindowCallback &cwcb) |
void | insert_menu_topic (const char *id, const char *name, const char *mnemonic, const char *help_text_, AW_active mask, WindowCallbackSimple cb) |
void | insert_menu_topic (const char *id, const char *name, const char *mnemonic, const char *help_text_, AW_active mask, CreateWindowCallbackSimple cb) |
void | sep______________ () |
void | close_sub_menu () |
void | insert_help_topic (const char *labeli, const char *mnemonic, const char *helpText, AW_active mask, const WindowCallback &cb) |
void | insert_help_topic (const char *labeli, const char *mnemonic, const char *helpText, AW_active mask, WindowCallbackSimple cb) |
int | create_mode (const char *pixmap, const char *help_text_, AW_active mask, const WindowCallback &cb) |
void | select_mode (int mode) |
void | tell_scrolled_picture_size (AW_screen_area rectangle) |
void | tell_scrolled_picture_size (AW_world rectangle) |
AW_pos | get_scrolled_picture_width () const |
AW_pos | get_scrolled_picture_height () const |
void | reset_scrolled_picture_size () |
void | get_scrollarea_size (AW_screen_area *square) |
void | calculate_scrollbars () |
void | set_vertical_scrollbar_position (int position) |
void | set_horizontal_scrollbar_position (int position) |
void | set_vertical_change_callback (const WindowCallback &wcb) |
void | set_horizontal_change_callback (const WindowCallback &wcb) |
void | set_vertical_scrollbar_top_indent (int indent) |
void | set_horizontal_scrollbar_left_indent (int indent) |
void | update_scrollbar_settings_from_awars (AW_orientation orientation) |
void | create_user_geometry_awars (int posx, int posy, int width, int height) |
void | get_window_size (int &width, int &height) |
void | window_fit () |
void | load_xfig (const char *file, bool resize=true) |
void | draw_line (int x1, int y1, int x2, int y2, int width, bool resize) |
void | label_length (int length) |
void | button_length (int length) |
void | button_height (int height) |
int | get_button_length () const |
void | highlight () |
void | auto_increment (int dx, int dy) |
void | auto_space (int xspace, int yspace) |
void | shadow_width (int shadow_thickness) |
void | TuneBackground (Widget w, int modStrength) |
void | TuneOrSetBackground (Widget w, const char *color, int modStrength) |
void | at (int x, int y) |
void | at_x (int x) |
void | at_y (int y) |
void | at_shift (int x, int y) |
void | at_newline () |
void | at (const char *id) |
bool | at_ifdef (const char *id) |
void | label (const char *label) |
void | get_at_position (int *x, int *y) const |
int | get_at_xposition () const |
int | get_at_yposition () const |
void | dump_at_position (const char *debug_label) const |
void | at_attach (int x, int y) |
void | at_attach_to (bool attach_x, bool attach_y, int xoff, int yoff) |
void | at_unattach () |
void | unset_at_commands () |
void | store_at_to (AW_at_storage &storage) |
void | restore_at_from (const AW_at_storage &stored) |
void | sens_mask (AW_active mask) |
void | help_text (const char *id) |
void | callback (const WindowCallback &cb) |
void | callback (const CreateWindowCallback &cwcb) |
void | callback (CreateWindowCallbackSimple cb) |
void | callback (WindowCallbackSimple cb) |
void | d_callback (const WindowCallback &cb) |
void | create_button (const char *macro_name, AW_label label, const char *mnemonic=NULp, const char *color=NULp) |
void | create_autosize_button (const char *macro_name, AW_label label, const char *mnemonic=NULp, unsigned xtraSpace=1) |
Widget | get_last_widget () const |
void | create_toggle (const char *awar_name) |
void | create_inverse_toggle (const char *awar_name) |
void | create_toggle (const char *awar_name, const char *nobitmap, const char *yesbitmap, int buttonWidth=0) |
void | create_text_toggle (const char *var_name, const char *noText, const char *yesText, int buttonWidth=0) |
void | create_input_field (const char *awar_name, int columns=0) |
void | create_text_field (const char *awar_name, int columns=20, int rows=4) |
void | create_input_field_with_scaler (const char *awar_name, int textcolumns=4, int scaler_length=250, AW_ScalerType scalerType=AW_SCALER_LINEAR) |
AW_option_menu_struct * | create_option_menu (const char *awar_name) |
void | clear_option_menu (AW_option_menu_struct *oms) |
void | insert_option (AW_label choice_label, const char *mnemonic, const char *var_value, const char *name_of_color=NULp) |
void | insert_default_option (AW_label choice_label, const char *mnemonic, const char *var_value, const char *name_of_color=NULp) |
void | insert_option (AW_label choice_label, const char *mnemonic, int var_value, const char *name_of_color=NULp) |
void | insert_default_option (AW_label choice_label, const char *mnemonic, int var_value, const char *name_of_color=NULp) |
void | insert_option (AW_label choice_label, const char *mnemonic, float var_value, const char *name_of_color=NULp) |
void | insert_default_option (AW_label choice_label, const char *mnemonic, float var_value, const char *name_of_color=NULp) |
void | update_option_menu () |
void | refresh_option_menu (AW_option_menu_struct *) |
void | create_toggle_field (const char *awar_name, AW_label label, AW_orientation orientation=AW_VERTICAL) |
void | create_toggle_field (const char *awar_name, AW_orientation orientation=AW_VERTICAL) |
void | insert_toggle (AW_label toggle_label, const char *mnemonic, const char *var_value) |
void | insert_default_toggle (AW_label toggle_label, const char *mnemonic, const char *var_value) |
void | insert_toggle (AW_label toggle_label, const char *mnemonic, int var_value) |
void | insert_default_toggle (AW_label toggle_label, const char *mnemonic, int var_value) |
void | insert_toggle (AW_label toggle_label, const char *mnemonic, float var_value) |
void | insert_default_toggle (AW_label toggle_label, const char *mnemonic, float var_value) |
void | update_toggle_field () |
AW_selection_list * | create_selection_list (const char *awar_name, int columns, int rows) |
AW_selection_list * | create_selection_list (const char *awar_name) |
Additional Inherited Members | |
![]() | |
static WindowCallback | makeWindowPopper (const CreateWindowCallback &cwcb) |
static WindowCallback | makeWindowReplacer (const CreateWindowCallback &cwcb) |
![]() | |
AW_event | event |
unsigned long | click_time |
long | color_table_size |
AW_rgb * | color_table |
int | number_of_timed_title_changes |
AW_window_Motif * | p_w |
AW_cb * | _callback |
AW_cb * | _d_callback |
char * | window_name |
char * | window_defaults_name |
window title More... | |
int | slider_pos_vertical |
window id More... | |
int | slider_pos_horizontal |
current position of the vertical slider More... | |
bool | window_is_shown |
current position of the horizontal slider More... | |
AW_screen_area * | picture |
![]() | |
void | create_devices () |
void | set_background (const char *colorname, Widget w) |
void | wm_activate () |
![]() | |
AW_root * | root |
Definition at line 663 of file aw_window.hxx.
AW_window_menu::AW_window_menu | ( | ) |
Definition at line 1181 of file AW_window.cxx.
AW_window_menu::~AW_window_menu | ( | ) |
Definition at line 1182 of file AW_window.cxx.
void AW_window_menu::init | ( | AW_root * | root, |
const char * | wid, | ||
const char * | windowname, | ||
int | width, | ||
int | height | ||
) |
Definition at line 2612 of file AW_window.cxx.
References AW_window_Motif::areas, AW_BOTTOM_AREA, aw_create_shell(), AW_INFO_AREA, aw_insert_default_help_entries(), AW_MIDDLE_AREA, aw_realize_widget(), AW_SCROLL_MAX, AWM_ALL, AW_window::create_devices(), AW_window::create_window_variables(), AW_window_Motif::frame, GBS_string_2_key(), AW_window_Motif::help_pull_down, INFO_WIDGET, AW_root::make_sensitive(), AW_window_Motif::menu_bar, AW_window_Motif::mode_area, NULp, AW_window::p_w, RES_CONVERT, AW_window::root, AW_window_Motif::scroll_bar_horizontal, AW_window_Motif::scroll_bar_vertical, AW_window_Motif::shell, and AW_window::window_defaults_name.
Referenced by createSaiProbeMatchWindow(), and DI_create_view_matrix_window().