File win/X11/wintext.c


Included Files


Preprocessor definitions

#define PRESERVE_NO_SYSV

#define TRANSIENT_TEXT


Local Variables

text_translations
static const char text_translations[]
Used in: create_text_window()

Global Function add_to_text_window()

void add_to_text_window ( struct xwindow* wp, int attr, const char* str )
Prototyped in: include/winX.h
Calls: append_text_buffer()win/X11/wintext.c
  XTextWidth(), strlen()
Called by: X11_putstr()win/X11/winX.c

Global Function append_text_buffer()

void append_text_buffer ( struct text_buffer* tb, const char* str, boolean concat )
Prototyped in: include/winX.h
Calls: alloc()src/alloc.c
  panic()src/end.c
  free(), memcpy(), strchr(), strlen()
Called by: add_to_text_window()win/X11/wintext.c
  adjust_status()win/X11/winstat.c

Global Function clear_text_buffer()

void clear_text_buffer ( struct text_buffer* tb )
Prototyped in: include/winX.h
Called by: adjust_status()win/X11/winstat.c
  clear_text_window()win/X11/wintext.c

Global Function clear_text_window()

void clear_text_window ( struct xwindow* wp )
Prototyped in: include/winX.h
Calls: clear_text_buffer()win/X11/wintext.c
Called by: X11_clear_nhwindow()win/X11/winX.c

Global Function create_text_window()

void create_text_window ( struct xwindow* wp )
Prototyped in: include/winX.h
Calls: alloc()src/alloc.c
  init_text_buffer()win/X11/wintext.c
  XtCreateManagedWidget(), XtCreatePopupShell(), XtGetValues(), XtOverrideTranslations(), XtParseTranslationTable()
Called by: X11_create_nhwindow()win/X11/winX.c
References Variables: WIN_MAPsrc/decl.c
  killersrc/decl.c
  text_translationswin/X11/wintext.c
  toplevelwin/X11/winX.c

Global Function delete_text()

void delete_text ( Widget w, XEvent* event, String* params, Cardinal* num_params )
Prototyped in: include/winX.h
Calls: destroy_text_window()win/X11/wintext.c
  find_widget()win/X11/winX.c
  nh_XtPopdown()win/X11/winX.c
Used in:  win/X11/winX.c
References Variables: exit_x_eventwin/X11/winmap.c

Global Function destroy_text_window()

void destroy_text_window ( struct xwindow* wp )
Prototyped in: include/winX.h
Calls: free_text_buffer()win/X11/wintext.c
  XtDestroyWidget(), free()
Called by: X11_destroy_nhwindow()win/X11/winX.c
  delete_text()win/X11/wintext.c
  dismiss_text()win/X11/wintext.c

Global Function dismiss_text()

void dismiss_text ( Widget w, XEvent* event, String* params, Cardinal* num_params )
Prototyped in: include/winX.h
Calls: destroy_text_window()win/X11/wintext.c
  find_widget()win/X11/winX.c
  nh_XtPopdown()win/X11/winX.c
Called by: key_dismiss_text()win/X11/wintext.c
Used in:  win/X11/winX.c
References Variables: exit_x_eventwin/X11/winmap.c

Global Function display_text_window()

void display_text_window ( struct xwindow* wp, boolean blocking )
Prototyped in: include/winX.h
Calls: nh_XtPopdown()win/X11/winX.c
  nh_XtPopup()win/X11/winX.c
  positionpopup()win/X11/dialogs.c
  x_event()win/X11/winmap.c
  XSetWMProtocols(), XtDisplay(), XtRealizeWidget(), XtScreen(), XtSetValues(), XtWindow()
Called by: X11_display_nhwindow()win/X11/winX.c
References Variables: wm_delete_windowwin/X11/winX.c

Global Function free_text_buffer()

void free_text_buffer ( struct text_buffer* tb )
Prototyped in: include/winX.h
Calls: free()
Called by: destroy_text_window()win/X11/wintext.c

Global Function init_text_buffer()

void init_text_buffer ( struct text_buffer* tb )
Prototyped in: include/winX.h
Calls: alloc()src/alloc.c
Called by: create_status_window()win/X11/winstat.c
  create_text_window()win/X11/wintext.c

Global Function key_dismiss_text()

void key_dismiss_text ( Widget w, XEvent* event, String* params, Cardinal* num_params )
Prototyped in: include/winX.h
Calls: dismiss_text()win/X11/wintext.c
  key_event_to_char()win/X11/winX.c
Used in:  win/X11/winX.c