ARB
|
#include <aw_device.hxx>
#include <aw_keysym.hxx>
#include <Xm/Xm.h>
#include <cb.h>
#include "aw_scalar.hxx"
#include <arb_msg.h>
Go to the source code of this file.
Classes | |
class | Label |
struct | AW_buttons_struct |
struct | AW_widget_value_pair |
struct | AW_option_menu_struct |
struct | AW_toggle_field_struct |
class | AW_area_management |
class | AW_root_Motif |
class | AW_window_Motif |
Macros | |
#define | p_r prvt |
#define | p_global (root->prvt) |
#define | p_aww(aww) (aww->p_w) |
#define | MAP_ARAM(ar) p_w->areas[ar] |
#define | INFO_WIDGET p_w->areas[AW_INFO_AREA]->get_area() |
#define | INFO_FORM p_w->areas[AW_INFO_AREA]->get_form() |
#define | MIDDLE_WIDGET p_w->areas[AW_MIDDLE_AREA]->get_area() |
#define | BOTTOM_WIDGET p_w->areas[AW_BOTTOM_AREA]->get_area() |
#define | AW_SCROLL_MAX 100 |
#define | AW_MAX_MENU_DEEP 10 |
#define | RES_CONVERT(res_name, res_value) XtVaTypedArg, (res_name), XmRString, (res_value), strlen(res_value) + 1 |
#define | AW_MOTIF_LABEL |
#define | RES_LABEL_CONVERT(label) |
#define | AW_JUSTIFY_LABEL(widget, corr) |
#define | AW_CALC_OFFSET_ON_EXPOSE -12345 |
#define | AW_MESSAGE_LISTEN_DELAY 500 |
Functions | |
void | aw_root_init_font (Display *tool_d) |
void | AW_label_in_awar_list (AW_window *aww, Widget widget, const char *str) |
void | AW_server_callback (Widget wgt, XtPointer aw_cb_struct, XtPointer call_data) |
void | message_cb (AW_window *, int result) |
void | input_cb (AW_window *aw, int buttonNr) |
void | input_history_cb (AW_window *aw, int mode) |
void | file_selection_cb (AW_window *aw, int ok_cancel_flag) |
unsigned | aw_message_timer_listen_event (AW_root *awr, AW_window *aww) |
Widget | aw_create_shell (AW_window *aww, bool allow_resize, bool allow_close, int width, int height, int posx, int posy) |
void | aw_realize_widget (AW_window *aww) |
void | aw_insert_default_help_entries (AW_window *aww) |
__ATTR__NORETURN void | type_mismatch (const char *triedType, const char *intoWhat) |
Variables | |
const int | AW_NUMBER_OF_F_KEYS = 20 |
int | aw_message_cb_result |
#define p_r prvt |
Definition at line 24 of file aw_window_Xm.hxx.
Referenced by AW_root::main_loop(), AW_root::peek_key_event(), AW_root::process_events(), and AW_root::process_pending_events().
#define p_global (root->prvt) |
Definition at line 25 of file aw_window_Xm.hxx.
Referenced by _aw_create_toggle_entry(), AW_window::_create_option_entry(), AW_window::alloc_named_data_color(), aw_create_shell(), AW_help_entry_pressed(), AW_server_callback(), aw_set_delete_window_cb(), aw_window_destroy_cb(), AW_window::clear_option_menu(), AW_window::create_button(), AW_area_management::create_devices(), AW_window::create_devices(), AW_window::create_input_field(), AW_window::create_mode(), AW_window::create_option_menu(), AW_window::create_selection_list(), AW_window::create_text_field(), AW_window::create_toggle_field(), AW_window::get_last_widget(), AW_window::refresh_toggle_field(), AW_window::select_mode(), AW_window::set_background(), AW_window::TuneBackground(), and AW_window::update_option_menu().
#define p_aww | ( | aww | ) | (aww->p_w) |
Definition at line 26 of file aw_window_Xm.hxx.
Referenced by AW_inputCB_draw_area(), aw_onExpose_calc_WM_offsets(), aw_realize_widget(), AW_server_callback(), and aw_update_window_geometry_awars().
#define MAP_ARAM | ( | ar | ) | p_w->areas[ar] |
Definition at line 28 of file aw_window_Xm.hxx.
Referenced by AW_window::_get_area_size(), AW_window::get_click_device(), AW_window::get_common(), AW_window::get_device(), AW_window::get_print_device(), AW_window::get_size_device(), AW_window::is_expose_callback(), AW_window::is_resize_callback(), AW_window::set_double_click_callback(), AW_window::set_expose_callback(), AW_window::set_input_callback(), AW_window::set_motion_callback(), and AW_window::set_resize_callback().
#define INFO_WIDGET p_w->areas[AW_INFO_AREA]->get_area() |
Definition at line 30 of file aw_window_Xm.hxx.
Referenced by AW_window::create_button(), AW_window::create_input_field(), AW_window::create_input_field_with_scaler(), AW_window::create_option_menu(), AW_window::create_selection_list(), AW_window::create_text_field(), AW_window::create_toggle_field(), AW_window_menu_modes_opengl::init(), AW_window_menu_modes::init(), AW_window_menu::init(), and AW_window::set_info_area_height().
#define INFO_FORM p_w->areas[AW_INFO_AREA]->get_form() |
Definition at line 31 of file aw_window_Xm.hxx.
Referenced by AW_window::create_button(), AW_window::create_input_field(), AW_window::create_input_field_with_scaler(), AW_window::create_option_menu(), AW_window::create_selection_list(), AW_window::create_text_field(), and AW_window::create_toggle_field().
#define MIDDLE_WIDGET p_w->areas[AW_MIDDLE_AREA]->get_area() |
Definition at line 32 of file aw_window_Xm.hxx.
Referenced by AW_window::set_focus_callback().
#define BOTTOM_WIDGET p_w->areas[AW_BOTTOM_AREA]->get_area() |
Definition at line 33 of file aw_window_Xm.hxx.
Referenced by AW_window::set_bottom_area_height().
#define AW_SCROLL_MAX 100 |
Definition at line 35 of file aw_window_Xm.hxx.
Referenced by AW_window_menu_modes_opengl::init(), AW_window_menu_modes::init(), and AW_window_menu::init().
#define AW_MAX_MENU_DEEP 10 |
Definition at line 36 of file aw_window_Xm.hxx.
Referenced by AW_window_Motif::AW_window_Motif(), and AW_window::insert_sub_menu().
#define RES_CONVERT | ( | res_name, | |
res_value | |||
) | XtVaTypedArg, (res_name), XmRString, (res_value), strlen(res_value) + 1 |
Definition at line 38 of file aw_window_Xm.hxx.
Referenced by _aw_create_toggle_entry(), AW_window::_create_option_entry(), AW_window::create_mode(), AW_window::create_option_menu(), AW_window::create_toggle_field(), AW_window_menu_modes_opengl::init(), AW_window_menu_modes::init(), AW_window_menu::init(), AW_window_simple_menu::init(), AW_window::insert_help_topic(), AW_window::insert_menu_topic(), AW_window::insert_sub_menu(), AW_window::update_label(), and AW_window::update_toggle().
#define AW_MOTIF_LABEL |
Definition at line 41 of file aw_window_Xm.hxx.
#define RES_LABEL_CONVERT | ( | label | ) |
Definition at line 57 of file aw_window_Xm.hxx.
Referenced by _aw_create_toggle_entry(), AW_window::create_button(), AW_window::create_input_field(), AW_window::create_text_field(), and AW_window::insert_menu_topic().
#define AW_JUSTIFY_LABEL | ( | widget, | |
corr | |||
) |
Definition at line 64 of file aw_window_Xm.hxx.
Referenced by AW_window::create_button().
#define AW_CALC_OFFSET_ON_EXPOSE -12345 |
Definition at line 238 of file aw_window_Xm.hxx.
Referenced by aw_realize_widget(), and AW_window_Motif::knows_WM_offset().
#define AW_MESSAGE_LISTEN_DELAY 500 |
Definition at line 288 of file aw_window_Xm.hxx.
Referenced by aw_input(), aw_message_timer_listen_event(), aw_modal_file_selection(), and aw_question().
void aw_root_init_font | ( | Display * | tool_d | ) |
Definition at line 300 of file AW_xfont.cxx.
References aw_assert, AW_NUM_FONTS, check_ps_fontinfo_valid(), DEF_FONTSIZE, xfont::fname, FONT_EXAMINE_MAX, xfont::fstruct, GBS_global_string_copy(), initialized, is_scalable, KNOWN_ISO_VERSIONS, MAX_FONTSIZE, MIN_FONTSIZE, _fstruct::name, xfont::next, NORMAL_FONT, NULp, openwinfonts, parsesize(), s, xfont::size, _xfstruct::templat, and _xfstruct::xfontlist.
Definition at line 2172 of file AW_window.cxx.
References aw_assert, AW_WIDGET_LABEL_FIELD, GBS_global_string_copy(), AW_window::get_root(), AW_root::label_is_awar(), AW_awar::read_as_string(), AW_awar::tie_widget(), and AW_window::update_label().
Referenced by AW_window::_create_option_entry(), AW_window::create_button(), and AW_window::insert_menu_topic().
void AW_server_callback | ( | Widget | wgt, |
XtPointer | aw_cb_struct, | ||
XtPointer | call_data | ||
) |
Definition at line 1399 of file AW_window.cxx.
References AW_cb::aw, AW_help_popup(), aw_message(), GB_IGNORE_CASE, GBS_string_matches(), AW_window::get_root(), AW_cb::help_text, AW_cb::id, AW_root::is_tracking(), NULp, p_aww, p_global, AW_cb::run_callbacks(), and AW_root::track_action().
Referenced by AW_window::_set_activate_callback(), AW_window::create_input_field(), AW_window::create_mode(), AW_window::create_selection_list(), AW_window::insert_help_topic(), and AW_window::insert_menu_topic().
Definition at line 33 of file AW_modal.cxx.
References EXIT_FAILURE, and result.
Referenced by aw_question(), and AW_cb::run_callbacks().
Definition at line 151 of file AW_modal.cxx.
References AW_INPUT_AWAR, AW_root::awar(), AW_window::get_root(), NULp, and AW_awar::read_as_string().
Referenced by new_input_window().
Definition at line 121 of file AW_modal.cxx.
References AW_INPUT_AWAR, AW_root::awar(), GBS_global_string(), AW_window::get_root(), input_history_insert(), AW_awar::read_string(), s, and AW_awar::write_string().
Referenced by new_input_window(), and AW_cb::run_callbacks().
Definition at line 162 of file AW_modal.cxx.
References AW_FILE_SELECT_FILE_AWAR, AW_root::awar(), AW_window::get_root(), NULp, and AW_awar::read_as_string().
Referenced by aw_modal_file_selection(), and AW_cb::run_callbacks().
Definition at line 40 of file AW_modal.cxx.
References AW_MESSAGE_LISTEN_DELAY, fflush(), and AW_window::is_shown().
Referenced by aw_input(), aw_modal_file_selection(), and aw_question().
Widget aw_create_shell | ( | AW_window * | aww, |
bool | allow_resize, | ||
bool | allow_close, | ||
int | width, | ||
int | height, | ||
int | posx, | ||
int | posy | ||
) |
Definition at line 2258 of file AW_window.cxx.
References aw_xargs::add(), AW_REPOS_TO_MOUSE_ONCE, AW_RESIZE_ANY, AW_RESIZE_USER, aw_set_delete_window_cb(), CopyFromParent_AsPtr, AW_window::create_user_geometry_awars(), dpy, father, AW_root::focus_follows_mouse, GBK_terminatef(), GBS_read_hash(), GBS_write_hash(), AW_window::get_root(), AW_window::get_window_id(), getIcon(), AW_root::hash_for_windows, HIGHER_THAN_SCREEN, aw_xargs::list(), long, NULp, p_global, AW_root::program_name, AW_window::recalc_pos_atShow(), AW_window::recalc_size_atShow(), aw_xargs::size(), WIDER_THAN_SCREEN, AW_window::window_defaults_name, and AW_window::window_name.
Referenced by AW_window_menu_modes_opengl::init(), AW_window_menu_modes::init(), AW_window_menu::init(), AW_window_simple_menu::init(), and AW_window_message::init().
void aw_realize_widget | ( | AW_window * | aww | ) |
Definition at line 2388 of file AW_window.cxx.
References AW_BOTTOM_AREA, AW_CALC_OFFSET_ON_EXPOSE, AW_INFO_AREA, AW_MIDDLE_AREA, and p_aww.
Referenced by AW_window_menu_modes_opengl::init(), AW_window_menu_modes::init(), AW_window_menu::init(), AW_window_simple_menu::init(), and AW_window_message::init().
void aw_insert_default_help_entries | ( | AW_window * | aww | ) |
Definition at line 2139 of file AW_window.cxx.
References AW_help_entry_pressed(), AWM_ALL, AW_window::insert_help_topic(), makeHelpCallback(), and NULp.
Referenced by AW_window_menu_modes_opengl::init(), AW_window_menu_modes::init(), AW_window_menu::init(), and AW_window_simple_menu::init().
|
inline |
Definition at line 300 of file aw_window_Xm.hxx.
References GBK_terminatef().
Referenced by option_type_mismatch(), TERMINATE_selection_type_mismatch(), and toggle_type_mismatch().
const int AW_NUMBER_OF_F_KEYS = 20 |
Definition at line 237 of file aw_window_Xm.hxx.
Referenced by AW_window::create_mode().
int aw_message_cb_result |
Definition at line 31 of file AW_modal.cxx.
Referenced by aw_question().