SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
MFXCheckableButton.h
Go to the documentation of this file.
1
/****************************************************************************/
7
// missing_desc
8
/****************************************************************************/
9
// SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
10
// Copyright (C) 2004-2014 DLR (http://www.dlr.de/) and contributors
11
/****************************************************************************/
12
//
13
// This file is part of SUMO.
14
// SUMO is free software: you can redistribute it and/or modify
15
// it under the terms of the GNU General Public License as published by
16
// the Free Software Foundation, either version 3 of the License, or
17
// (at your option) any later version.
18
//
19
/****************************************************************************/
20
#ifndef MFXCheckableButton_h
21
#define MFXCheckableButton_h
22
23
24
// ===========================================================================
25
// included modules
26
// ===========================================================================
27
#ifdef _MSC_VER
28
#include <
windows_config.h
>
29
#else
30
#include <
config.h
>
31
#endif
32
33
#include <fx.h>
34
35
class
MFXCheckableButton
:
public
FXButton
{
36
FXDECLARE(
MFXCheckableButton
)
37
public
:
38
MFXCheckableButton
(
bool
amChecked
, FXComposite* p,
const
FXString& text,
39
FXIcon* ic = NULL,
FXObject
* tgt = NULL, FXSelector sel = 0,
40
FXuint opts = BUTTON_NORMAL,
41
FXint x = 0, FXint y = 0, FXint w = 0, FXint h = 0,
42
FXint pl = DEFAULT_PAD, FXint pr = DEFAULT_PAD, FXint pt = DEFAULT_PAD, FXint pb = DEFAULT_PAD);
43
~MFXCheckableButton
();
44
bool
amChecked
()
const
;
45
void
setChecked
(
bool
val);
46
long
onPaint
(
FXObject
*, FXSelector,
void
*);
47
long
onUpdate
(
FXObject
*, FXSelector,
void
*);
48
49
50
private
:
51
void
buildColors
();
52
void
setColors
();
53
54
private
:
55
bool
myAmChecked
;
56
FXColor
myBackColor
,
myDarkColor
,
myHiliteColor
,
myShadowColor
;
57
58
bool
myAmInitialised
;
59
60
protected
:
61
MFXCheckableButton
() { }
62
};
63
64
65
#endif
66
67
/****************************************************************************/
68
MFXCheckableButton::onUpdate
long onUpdate(FXObject *, FXSelector, void *)
Definition:
MFXCheckableButton.cpp:85
windows_config.h
MFXCheckableButton::setChecked
void setChecked(bool val)
Definition:
MFXCheckableButton.cpp:69
config.h
FXButton
MFXCheckableButton::myAmChecked
bool myAmChecked
Definition:
MFXCheckableButton.h:55
MFXCheckableButton::myDarkColor
FXColor myDarkColor
Definition:
MFXCheckableButton.h:56
MFXCheckableButton::MFXCheckableButton
MFXCheckableButton()
Definition:
MFXCheckableButton.h:61
MFXCheckableButton::~MFXCheckableButton
~MFXCheckableButton()
Definition:
MFXCheckableButton.cpp:59
FXObject
MFXCheckableButton::myBackColor
FXColor myBackColor
Definition:
MFXCheckableButton.h:56
MFXCheckableButton::myHiliteColor
FXColor myHiliteColor
Definition:
MFXCheckableButton.h:56
MFXCheckableButton::setColors
void setColors()
Definition:
MFXCheckableButton.cpp:106
MFXCheckableButton::myAmInitialised
bool myAmInitialised
Definition:
MFXCheckableButton.h:58
MFXCheckableButton
Definition:
MFXCheckableButton.h:35
MFXCheckableButton::myShadowColor
FXColor myShadowColor
Definition:
MFXCheckableButton.h:56
MFXCheckableButton::onPaint
long onPaint(FXObject *, FXSelector, void *)
Definition:
MFXCheckableButton.cpp:75
MFXCheckableButton::buildColors
void buildColors()
Definition:
MFXCheckableButton.cpp:96
MFXCheckableButton::amChecked
bool amChecked() const
Definition:
MFXCheckableButton.cpp:63
build
buildd
sumo-0.21.0+dfsg
src
utils
foxtools
MFXCheckableButton.h
Generated on Wed Mar 18 2015 22:57:45 for SUMO - Simulation of Urban MObility by
1.8.9.1