41 bool equal =
cb == other.cb;
43 equal =
aw == other.
aw;
46 #if defined(DEBUG) && 0
49 "callback '%s' instantiated twice with different windows (w1='%s' w2='%s') -- assuming the callbacks are equal\n",
81 bool allow = isModalCallback || isHelp || isPopdown;
83 bool isInfoResizeExpose =
false;
87 allow = isInfoResizeExpose;
107 aw_message(
"Internal error (callback suppressed when no modal dialog active)");
110 #if defined(TRACE_CALLBACKS)
111 printf(
"suppressing callback %p\n", f);
112 #endif // TRACE_CALLBACKS
115 #if defined(TRACE_CALLBACKS)
117 if (isModalCallback) printf(
"allowed modal callback %p\n", f);
118 else if (isPopdown) printf(
"allowed AW_POPDOWN\n");
119 else if (isHelp) printf(
"allowed AW_help_popup\n");
120 else if (isInfoResizeExpose) printf(
"allowed expose/resize infoarea\n");
121 else printf(
"allowed other (unknown) callback %p\n", f);
123 #endif // TRACE_CALLBACKS
126 #if defined(TRACE_CALLBACKS)
127 printf(
"Callbacks are allowed (executing %p)\n", f);
128 #endif // TRACE_CALLBACKS
bool is_resize_callback(AW_area area, AnyWinCB f)
const char * get_window_id() const
AW_cb(AW_window *awi, const WindowCallback &wcb, const char *help_texti=NULp, AW_cb *next=NULp)
void(* AW_cb_struct_guard)()
AW_window * current_modal_window
void AW_POPDOWN(AW_window *window)
bool is_focus_callback(AnyWinCB f)
bool contains(AnyWinCB g)
bool is_expose_callback(AW_area area, AnyWinCB f)
void message_cb(AW_window *, int result)
bool is_equal(const AW_cb &other) const
void file_selection_cb(AW_window *aw, int ok_cancel_flag)
WindowCallbackSimple AnyWinCB
void recalc_pos_atShow(AW_PosRecalc pr)
void aw_message(const char *msg)
void AW_help_popup(UNFIXED, const char *help_file)
static void input_cb(AW_window *aww, MatrixDisplay *disp)
static void useraction_init()
AW_PosRecalc get_recalc_pos_atShow() const
static void useraction_done(AW_window *aw)
void(* AW_postcb_cb)(AW_window *)
void input_history_cb(AW_window *aw, int mode)