12 #ifndef AW_COMMON_XM_HXX
13 #define AW_COMMON_XM_HXX
33 virtual void wm_set_foreground_color(
AW_rgb col);
35 virtual void wm_set_lineattributes(
short lwidth,
AW_linestyle lstyle);
36 virtual void wm_set_font(
AW_font font_nr,
int size,
int *found_size);
49 const XFontStruct *
get_xfont()
const {
return &curfont; }
67 :
AW_common(fcolors, dcolors, dcolors_count),
69 window_id(window_id_in)
71 install_common_extends_cb(aww, area);
91 #error aw_common_xm.hxx included twice
92 #endif // AW_COMMON_XM_HXX
XID get_window_id() const
AW_GC * map_mod_gc(int gc)
AW_GC_Xm * map_mod_gc(int gc)
#define DOWNCAST(totype, expr)
AW_GC_Xm(AW_common *common)
const XFontStruct * get_xfont() const
Display * get_display() const
const AW_GC * map_gc(int gc) const
AW_common * get_common() const
const XFontStruct * get_xfont(int gc) const
virtual int get_available_fontsizes(AW_font font_nr, int *available_sizes) const
AW_common_Xm(Display *display_in, XID window_id_in, AW_rgb *&fcolors, AW_rgb *&dcolors, long &dcolors_count, AW_window *aww, AW_area area)
virtual AW_GC * create_gc()
AW_common_Xm * get_common() const
const AW_GC_Xm * map_gc(int gc) const