add some comments to better describe the difference between the 2
decoration-related enumerations
This commit is contained in:
parent
df8a780df1
commit
872ba85594
1 changed files with 7 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: Window.hh,v 1.62 2003/04/26 05:42:36 rathnor Exp $
|
// $Id: Window.hh,v 1.63 2003/04/26 14:05:47 rathnor Exp $
|
||||||
|
|
||||||
#ifndef WINDOW_HH
|
#ifndef WINDOW_HH
|
||||||
#define WINDOW_HH
|
#define WINDOW_HH
|
||||||
|
@ -65,7 +65,7 @@ class XLayer;
|
||||||
/// Creates the window frame and handles any window event for it
|
/// Creates the window frame and handles any window event for it
|
||||||
class FluxboxWindow : public FbTk::TimeoutHandler, public FbTk::EventHandler {
|
class FluxboxWindow : public FbTk::TimeoutHandler, public FbTk::EventHandler {
|
||||||
public:
|
public:
|
||||||
/// decoration bit
|
/// Represents certain "preset" sets of decorations.
|
||||||
enum Decoration {
|
enum Decoration {
|
||||||
DECOR_NONE=0, ///< no decor at all
|
DECOR_NONE=0, ///< no decor at all
|
||||||
DECOR_NORMAL, ///< normal normal
|
DECOR_NORMAL, ///< normal normal
|
||||||
|
@ -204,6 +204,11 @@ public:
|
||||||
void setDecoration(Decoration decoration);
|
void setDecoration(Decoration decoration);
|
||||||
void toggleDecoration();
|
void toggleDecoration();
|
||||||
|
|
||||||
|
/**
|
||||||
|
This enumeration represents individual decoration
|
||||||
|
attributes, they can be OR-d together to get a mask.
|
||||||
|
Useful for saving.
|
||||||
|
*/
|
||||||
enum DecorationMask {
|
enum DecorationMask {
|
||||||
DECORM_TITLEBAR = (1<<0),
|
DECORM_TITLEBAR = (1<<0),
|
||||||
DECORM_HANDLE = (1<<1),
|
DECORM_HANDLE = (1<<1),
|
||||||
|
|
Loading…
Reference in a new issue