#ifndef BCWINDOWBASE_H
#define BCWINDOWBASE_H
-#if defined(HAVE_CONFIG_H)
-#include "config.h"
-#endif
-
-//#define HAVE_LIBXXF86VM
-
// Window types
#define MAIN_WINDOW 0
#define SUB_WINDOW 1
void slide_right(int distance);
void slide_up(int distance);
void slide_down(int distance);
+ void flicker(int n=3, int ms=66);
int cycle_textboxes(int amount);
int trigger_tooltip();
int untrigger_tooltip();
void draw_tooltip();
- int arm_repeat(int64_t duration);
+ static XEvent *new_xevent();
// delete all repeater opjects for a close
int unset_all_repeaters();
// Recursive event dispatchers
int dispatch_resize_event(int w, int h);
+ int dispatch_flash();
int dispatch_focus_in();
int dispatch_focus_out();
int dispatch_motion_event();
int dispatch_expose_event();
// Get the port ID for a color model or return -1 for failure
- int grab_port_id(BC_WindowBase *window, int color_model);
+ int grab_port_id(int color_model);
int find_next_textbox(BC_WindowBase **first_textbox, BC_WindowBase **next_textbox, int &result);
int find_prev_textbox(BC_WindowBase **last_textbox, BC_WindowBase **prev_textbox, int &result);
#ifndef SINGLE_THREAD
// Array of repeaters for multiple repeating objects.
ArrayList<BC_Repeater*> repeaters;
+ int arm_repeat(int64_t duration);
#endif
// Text for tooltip if one exists
const char *tooltip_text;
// If this subwindow has already shown a tooltip since the last EnterNotify
int tooltip_done;
int options;
-
+ int flash_enabled;
// Font sets