#define done( type, value )
#define CANCEL_STR "\033"
#define LLEN 128
#define H_DELTA 0.25
| struct icon_info | |
| { | |
| const char* name; | |
| unsigned char* bits; | |
| unsigned width; | |
| unsigned height; | |
| } |
| Visible in: | win/X11/winX.c | |
| Used in: | X11_delay_output() | win/X11/winX.c |
| X11_init_nhwindows() | win/X11/winX.c | |
| init_standard_windows() | win/X11/winX.c |
| Visible in: | win/X11/winX.c | |
| Used in: | X11_getlin() | win/X11/winX.c |
| X11_yn_function() | win/X11/winX.c | |
| init_standard_windows() | win/X11/winX.c | |
| nh_XtPopup() | win/X11/winX.c |
| Visible in: | win/X11/winX.c | |
| Used in: | X11_nh_poskey() | win/X11/winX.c |
| Visible in: | win/X11/winX.c | |
| Used in: | X11_nh_poskey() | win/X11/winX.c |
| Visible in: | win/X11/winX.c | |
| Used in: | X11_nh_poskey() | win/X11/winX.c |
| Visible in: | win/X11/winX.c | |
| Used in: | X11_update_inventory() | win/X11/winX.c |
| Visible in: | win/X11/winX.c | |
| Used in: | X11_yn_function() | win/X11/winX.c |
| yn_key() | win/X11/winX.c |
| Visible in: | win/X11/winX.c |
| Visible in: | win/X11/winX.c | |
| Used in: | X11_init_nhwindows() | win/X11/winX.c |
| Included from | win/X11/nh72icon | |
| Used in: | win/X11/winX.c |
nh56icon_bits
static unsigned char nh56icon_bits[]
| Included from | win/X11/nh56icon | |
| Used in: | win/X11/winX.c |
nh32icon_bits
static unsigned char nh32icon_bits[]
| Included from | win/X11/nh32icon | |
| Used in: | win/X11/winX.c |
icon_data
static struct icon_info icon_data[]
| Used in: | X11_init_nhwindows() |
x_inited
static boolean x_inited
| Used in: | X11_create_nhwindow() |
| X11_delay_output() | |
| X11_init_nhwindows() | |
| X11_mark_synch() | |
| X11_nhbell() | |
| X11_update_inventory() | |
| X11_wait_synch() |
message_win
static winid message_win
| Used in: | X11_create_nhwindow() |
| init_standard_windows() |
| Used in: | X11_create_nhwindow() |
| init_standard_windows() |
status_win
static winid status_win
| Used in: | X11_create_nhwindow() |
| init_standard_windows() |
icon_pixmap
static Pixmap icon_pixmap
| Used in: | X11_exit_nhwindows() |
| X11_init_nhwindows() |
actions
static XtActionsRec actions[]
| Used in: | X11_init_nhwindows() |
resources
static XtResource resources[]
| Used in: | X11_init_nhwindows() |
getline_popup
static Widget getline_popup
| Used in: | X11_getlin() |
getline_dialog
static Widget getline_dialog
| Used in: | X11_getlin() |
getline_input
static char* getline_input
| Used in: | X11_getlin() |
| abort_button() | |
| done_button() | |
| getline_delete() |
display_translations
static const char display_translations[]
| Used in: | X11_display_file() |
yn_quitchars
static const char* yn_quitchars
| Used in: | yn_key() |
yn_choices
static const char* yn_choices
| Used in: | X11_yn_function() |
| yn_delete() | |
| yn_key() |
| Used in: | X11_yn_function() |
| yn_key() |
yn_return
static char yn_return
| Used in: | X11_yn_function() |
| yn_delete() | |
| yn_key() |
yn_esc_map
static char yn_esc_map
| Used in: | X11_yn_function() |
| yn_delete() | |
| yn_key() |
yn_popup
static Widget yn_popup
| Used in: | X11_yn_function() |
yn_label
static Widget yn_label
| Used in: | X11_yn_function() |
| init_standard_windows() |
yn_getting_num
static boolean yn_getting_num
| Used in: | X11_yn_function() |
| yn_delete() | |
| yn_key() |
yn_ndigits
static int yn_ndigits
| Used in: | yn_key() |
| Used in: | yn_key() |
yn_translations
static const char yn_translations[]
| Used in: | X11_yn_function() |
| init_standard_windows() |
| Prototyped in: | include/winX.h | |
| Calls: | CreateDialog() | win/X11/dialogs.c |
| SetDialogPrompt() | win/X11/dialogs.c | |
| SetDialogResponse() | win/X11/dialogs.c | |
| nh_XtPopup() | win/X11/winX.c | |
| positionpopup() | win/X11/dialogs.c | |
| XtCreatePopupShell(), XtOverrideTranslations(), XtParseTranslationTable(), XtRealizeWidget(), x_event() | ||
| Used in: | win/X11/winX.c | |
| References Functions: | askname_done() | win/X11/winX.c |
| References Variables: | toplevel | win/X11/winX.c |
| Prototyped in: | include/winX.h | |
| Calls: | panic() | src/end.c |
| clear_map_window(), clear_text_window() | ||
| Used in: | win/X11/winX.c | |
| References Variables: | window_list | win/X11/winX.c |
| Prototyped in: | include/winX.h | |
| Calls: | find_free_window() | win/X11/winX.c |
| panic() | src/end.c | |
| create_map_window(), create_menu_window(), create_message_window(), create_status_window(), create_text_window() | ||
| Called by: | X11_putstr() | win/X11/winX.c |
| Used in: | win/X11/winX.c | |
| References Variables: | map_win | win/X11/winX.c |
| message_win | win/X11/winX.c | |
| status_win | win/X11/winX.c | |
| window_list | win/X11/winX.c | |
| x_inited | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | impossible() | src/pline.c |
| panic() | src/end.c | |
| Used in: | win/X11/winX.c | |
| References Variables: | window_list | win/X11/winX.c |
| Prototyped in: | include/winX.h | |
| Calls: | XtAppAddTimeOut(), x_event() | |
| Used in: | win/X11/winX.c | |
| References Functions: | d_timeout() | win/X11/winX.c |
| References Variables: | app_context | win/X11/winX.c |
| x_inited | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | panic() | src/end.c |
| destroy_map_window(), destroy_menu_window(), destroy_message_window(), destroy_status_window(), destroy_text_window() | ||
| Called by: | X11_exit_nhwindows() | win/X11/winX.c |
| X11_putstr() | win/X11/winX.c | |
| Used in: | win/X11/winX.c | |
| References Variables: | WIN_INVEN | src/decl.c |
| WIN_MAP | src/decl.c | |
| WIN_MESSAGE | src/decl.c | |
| WIN_STATUS | src/decl.c | |
| iflags | src/decl.c | |
| window_list | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | alloc() | src/alloc.c |
| dlb_fclose() | src/dlb.c | |
| dlb_fgets() | src/dlb.c | |
| dlb_fopen() | src/dlb.c | |
| nh_XtPopup() | win/X11/winX.c | |
| pline() | src/pline.c | |
| XtCreateManagedWidget(), XtCreatePopupShell(), XtGetValues(), XtOverrideTranslations(), XtParseTranslationTable(), XtSetValues(), free(), strcat(), strlen() | ||
| Used in: | win/X11/winX.c | |
| References Variables: | display_translations | win/X11/winX.c |
| toplevel | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | impossible() | src/pline.c |
| nh_XtPopup() | win/X11/winX.c | |
| panic() | src/end.c | |
| X11_select_menu(), display_map_window(), display_message_window(), display_text_window(), free(), x_event() | ||
| Used in: | win/X11/winX.c | |
| References Variables: | WIN_MESSAGE | src/decl.c |
| window_list | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Used in: | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Used in: | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | X11_destroy_nhwindow() | win/X11/winX.c |
| XFreePixmap() | ||
| Used in: | win/X11/winX.c | |
| References Variables: | WIN_INVEN | src/decl.c |
| WIN_MAP | src/decl.c | |
| WIN_MESSAGE | src/decl.c | |
| WIN_STATUS | src/decl.c | |
| icon_pixmap | win/X11/winX.c | |
| toplevel | win/X11/winX.c | |
| tile_pixmap | ||
| Prototyped in: | include/winX.h | |
| Used in: | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | CreateDialog() | win/X11/dialogs.c |
| SetDialogPrompt() | win/X11/dialogs.c | |
| SetDialogResponse() | win/X11/dialogs.c | |
| flush_screen() | src/display.c | |
| nh_XtPopup() | win/X11/winX.c | |
| positionpopup() | win/X11/dialogs.c | |
| XSetWMProtocols(), XtCreatePopupShell(), XtOverrideTranslations(), XtParseTranslationTable(), XtRealizeWidget(), x_event() | ||
| Used in: | win/X11/winX.c | |
| References Functions: | abort_button() | win/X11/winX.c |
| done_button() | win/X11/winX.c | |
| References Variables: | getline_dialog | win/X11/winX.c |
| getline_input | win/X11/winX.c | |
| getline_popup | win/X11/winX.c | |
| toplevel | win/X11/winX.c | |
| wm_delete_window | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | X11_putstr() | win/X11/winX.c |
| init_standard_windows() | win/X11/winX.c | |
| XCreateBitmapFromData(), XSetIOErrorHandler(), XSetWMHints(), XtAppAddActions(), XtAppInitialize(), XtGetApplicationResources(), XtOverrideTranslations(), XtParseTranslationTable(), XtSetTypeConverter(), geteuid(), getuid(), memset(), seteuid(), strcmp() | ||
| Used in: | win/X11/winX.c | |
| References Functions: | hangup() | src/save.c |
| nhCvtStringToPixel() | win/X11/winX.c | |
| nhFreePixel() | win/X11/winX.c | |
| References Variables: | WIN_MESSAGE | src/decl.c |
| actions | win/X11/winX.c | |
| appResources | win/X11/winX.c | |
| app_context | win/X11/winX.c | |
| icon_data | win/X11/winX.c | |
| icon_pixmap | win/X11/winX.c | |
| nhcolorConvertArgs | win/X11/winX.c | |
| resources | win/X11/winX.c | |
| toplevel | win/X11/winX.c | |
| window_list | win/X11/winX.c | |
| x_inited | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | XSync(), display_message_window() | |
| Used in: | win/X11/winX.c | |
| References Variables: | WIN_MESSAGE | src/decl.c |
| toplevel | win/X11/winX.c | |
| window_list | win/X11/winX.c | |
| x_inited | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | input_event() | win/X11/winX.c |
| Used in: | win/X11/winX.c | |
| References Variables: | click_button | win/X11/winX.c |
| click_x | win/X11/winX.c | |
| click_y | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | XBell() | |
| Called by: | askname_done() | win/X11/winX.c |
| yn_key() | win/X11/winX.c | |
| Used in: | win/X11/winX.c | |
| References Variables: | toplevel | win/X11/winX.c |
| x_inited | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | input_event() | win/X11/winX.c |
| Used in: | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Used in: | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | X11_create_nhwindow() | win/X11/winX.c |
| X11_destroy_nhwindow() | win/X11/winX.c | |
| impossible() | src/pline.c | |
| panic() | src/end.c | |
| add_to_text_window(), adjust_status(), append_message(), strncpy() | ||
| Called by: | X11_init_nhwindows() | win/X11/winX.c |
| Used in: | win/X11/winX.c | |
| References Variables: | toplines | src/decl.c |
| window_list | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | puts() | |
| Used in: | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | puts() | |
| Used in: | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Used in: | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Used in: | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Used in: | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | display_inventory() | src/invent.c |
| Used in: | win/X11/winX.c | |
| References Variables: | WIN_INVEN | src/decl.c |
| updated_inventory | win/X11/winX.c | |
| window_list | win/X11/winX.c | |
| x_inited | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | XFlush() | |
| Used in: | win/X11/winX.c | |
| References Variables: | toplevel | win/X11/winX.c |
| x_inited | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | eos() | src/hacklib.c |
| nh_XtPopdown() | win/X11/winX.c | |
| nh_XtPopup() | win/X11/winX.c | |
| panic() | src/end.c | |
| positionpopup() | win/X11/dialogs.c | |
| XSetWMProtocols(), XtCreateManagedWidget(), XtCreatePopupShell(), XtOverrideTranslations(), XtParseTranslationTable(), XtRealizeWidget(), XtSetValues(), display_message_window(), sprintf(), strchr(), strcpy(), strlen(), x_event() | ||
| Used in: | win/X11/winX.c | |
| References Functions: | yn_key() | win/X11/winX.c |
| References Variables: | WIN_MESSAGE | src/decl.c |
| appResources | win/X11/winX.c | |
| input_func | win/X11/winX.c | |
| toplevel | win/X11/winX.c | |
| window_list | win/X11/winX.c | |
| wm_delete_window | win/X11/winX.c | |
| yn_choices | win/X11/winX.c | |
| yn_def | win/X11/winX.c | |
| yn_esc_map | win/X11/winX.c | |
| yn_getting_num | win/X11/winX.c | |
| yn_label | win/X11/winX.c | |
| yn_popup | win/X11/winX.c | |
| yn_return | win/X11/winX.c | |
| yn_translations | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | panic() | src/end.c |
| References Variables: | window_list | win/X11/winX.c |
| Prototyped in: | include/winX.h | |
| Calls: | XLookupString() | |
| Called by: | yn_key() | win/X11/winX.c |
| Prototyped in: | include/winX.h | |
| Calls: | map_input() | |
| Used in: | init_standard_windows() | win/X11/winX.c |
| References Variables: | WIN_MAP | src/decl.c |
| window_list | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | XAllocColor(), XParseColor(), XQueryColors(), XtCalloc() | |
| Called by: | nhCvtStringToPixel() | win/X11/winX.c |
| Calls: | nhApproxColor() | win/X11/winX.c |
| strncmpi() | src/hacklib.c | |
| XAllocColor(), XAllocNamedColor(), XLookupColor(), XParseColor(), XtAppWarningMsg(), XtCvtStringToPixel(), XtDisplayToApplicationContext() | ||
| Used in: | X11_init_nhwindows() | win/X11/winX.c |
| Prototyped in: | include/winX.h | |
| Calls: | XtPopdown(), XtSetKeyboardFocus() | |
| Called by: | X11_yn_function() | win/X11/winX.c |
| abort_button() | win/X11/winX.c | |
| askname_delete() | win/X11/winX.c | |
| askname_done() | win/X11/winX.c | |
| delete_file() | win/X11/winX.c | |
| dismiss_file() | win/X11/winX.c | |
| done_button() | win/X11/winX.c | |
| getline_delete() | win/X11/winX.c | |
| References Variables: | appResources | win/X11/winX.c |
| toplevel | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | XSetWMProtocols(), XtPopup(), XtSetKeyboardFocus() | |
| Called by: | X11_askname() | win/X11/winX.c |
| X11_display_file() | win/X11/winX.c | |
| X11_display_nhwindow() | win/X11/winX.c | |
| X11_getlin() | win/X11/winX.c | |
| X11_yn_function() | win/X11/winX.c | |
| References Variables: | appResources | win/X11/winX.c |
| toplevel | win/X11/winX.c | |
| wm_delete_window | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Calls: | XtCallCallbacks(), XtGetValues(), XtNameToWidget(), atoi() | |
| Used in: | win/X11/winX.c | |
| Prototyped in: | include/winX.h | |
| Prototyped in: | win/X11/winX.c | |
| Calls: | hangup() | src/save.c |
| Used in: | win/X11/winX.c | |
| Calls: | nh_XtPopdown() | win/X11/winX.c |
| strcpy() | ||
| Used in: | X11_getlin() | win/X11/winX.c |
| References Variables: | getline_input | win/X11/winX.c |
| exit_x_event | ||
| Prototyped in: | win/X11/winX.c | |
| Calls: | nh_XtPopdown() | win/X11/winX.c |
| strcpy() | ||
| Used in: | win/X11/winX.c | |
| References Variables: | plname | src/decl.c |
| exit_x_event | ||
| Calls: | GetDialogResponse() | win/X11/dialogs.c |
| X11_nhbell() | win/X11/winX.c | |
| nh_XtPopdown() | win/X11/winX.c | |
| XtFree(), strlen(), strncpy() | ||
| Used in: | X11_askname() | win/X11/winX.c |
| References Variables: | plname | src/decl.c |
| exit_x_event | ||
| Calls: | XSendEvent() | |
| Used in: | X11_delay_output() | win/X11/winX.c |
| References Variables: | WIN_MAP | src/decl.c |
| window_list | win/X11/winX.c | |
| Prototyped in: | win/X11/winX.c | |
| Calls: | nh_XtPopdown() | win/X11/winX.c |
| XtDestroyWidget() | ||
| Used in: | win/X11/winX.c | |
| Prototyped in: | win/X11/winX.c | |
| Calls: | nh_XtPopdown() | win/X11/winX.c |
| XtDestroyWidget() | ||
| Used in: | win/X11/winX.c | |
| Calls: | GetDialogResponse() | win/X11/dialogs.c |
| nh_XtPopdown() | win/X11/winX.c | |
| XtFree(), strcpy() | ||
| Used in: | X11_getlin() | win/X11/winX.c |
| References Variables: | getline_input | win/X11/winX.c |
| exit_x_event | ||
| Calls: | panic() | src/end.c |
| Called by: | X11_create_nhwindow() | win/X11/winX.c |
| init_standard_windows() | win/X11/winX.c | |
| References Variables: | window_list | win/X11/winX.c |
| Prototyped in: | win/X11/winX.c | |
| Calls: | nh_XtPopdown() | win/X11/winX.c |
| strcpy() | ||
| Used in: | win/X11/winX.c | |
| References Variables: | getline_input | win/X11/winX.c |
| exit_x_event | ||
| Prototyped in: | win/X11/winX.c | |
| Calls: | find_free_window() | win/X11/winX.c |
| XInternAtom(), XMoveWindow(), XSetWMProtocols(), XtAddEventHandler(), XtAppSetErrorHandler(), XtCreateManagedWidget(), XtGetValues(), XtParseTranslationTable(), XtRealizeWidget(), XtSetValues(), create_map_window(), create_message_window(), create_status_window(), null_out_status(), post_process_tiles(), set_map_size(), set_message_slider() | ||
| Called by: | X11_init_nhwindows() | win/X11/winX.c |
| References Functions: | hangup() | src/save.c |
| msgkey() | win/X11/winX.c | |
| win_visible() | win/X11/winX.c | |
| References Variables: | WIN_MESSAGE | src/decl.c |
| appResources | win/X11/winX.c | |
| app_context | win/X11/winX.c | |
| iflags | src/decl.c | |
| map_win | win/X11/winX.c | |
| message_win | win/X11/winX.c | |
| status_win | win/X11/winX.c | |
| toplevel | win/X11/winX.c | |
| window_list | win/X11/winX.c | |
| wm_delete_window | win/X11/winX.c | |
| yn_label | win/X11/winX.c | |
| yn_translations | win/X11/winX.c | |
| Prototyped in: | win/X11/winX.c | |
| Calls: | check_cursor_visibility(), check_turn_events(), set_last_pause(), x_event() | |
| Called by: | X11_nh_poskey() | win/X11/winX.c |
| X11_nhgetch() | win/X11/winX.c | |
| References Variables: | WIN_MAP | src/decl.c |
| WIN_MESSAGE | src/decl.c | |
| WIN_STATUS | src/decl.c | |
| window_list | win/X11/winX.c | |
| Calls: | XFreeColors(), XtAppWarningMsg() | |
| Used in: | X11_init_nhwindows() | win/X11/winX.c |
| Prototyped in: | win/X11/winX.c | |
| Calls: | XSetInputFocus(), XtRemoveEventHandler() | |
| Used in: | init_standard_windows() | win/X11/winX.c |
| win_visible() | win/X11/winX.c | |
| References Functions: | win_visible() | win/X11/winX.c |
| References Variables: | toplevel | win/X11/winX.c |
| Prototyped in: | win/X11/winX.c | |
| Used in: | win/X11/winX.c | |
| References Variables: | yn_choices | win/X11/winX.c |
| yn_esc_map | win/X11/winX.c | |
| yn_getting_num | win/X11/winX.c | |
| yn_return | win/X11/winX.c | |
| exit_x_event | ||
| Prototyped in: | win/X11/winX.c | |
| Calls: | X11_nhbell() | win/X11/winX.c |
| digit() | src/hacklib.c | |
| key_event_to_char() | win/X11/winX.c | |
| lowc() | src/hacklib.c | |
| map_input(), strchr() | ||
| Used in: | win/X11/winX.c | |
| X11_yn_function() | win/X11/winX.c | |
| References Variables: | appResources | win/X11/winX.c |
| input_func | win/X11/winX.c | |
| yn_choices | win/X11/winX.c | |
| yn_def | win/X11/winX.c | |
| yn_esc_map | win/X11/winX.c | |
| yn_getting_num | win/X11/winX.c | |
| yn_ndigits | win/X11/winX.c | |
| yn_number | src/decl.c | |
| yn_quitchars | win/X11/winX.c | |
| yn_return | win/X11/winX.c | |
| yn_val | win/X11/winX.c | |
| exit_x_event | ||