]>
Dogcows Code - chaz/openbox/blob - src/widget.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
11 // update the enum in openbox.i to match this one
32 OBWidget(WidgetType type
) : _type(type
) {}
34 inline WidgetType
type() const { return _type
; }
36 inline MouseContext
mcontext() const {
48 case Type_MaximizeButton
:
49 return MC_MaximizeButton
;
50 case Type_CloseButton
:
51 return MC_CloseButton
;
52 case Type_IconifyButton
:
53 return MC_IconifyButton
;
54 case Type_StickyButton
:
55 return MC_StickyButton
;
65 assert(false); // unhandled type
72 #endif // __obwidget_hh
This page took 0.040442 seconds and 4 git commands to generate.