diff options
author | fluxgen <fluxgen> | 2003-08-13 09:42:22 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-13 09:42:22 (GMT) |
commit | c4ef95612c7d4f1f66c0befd515c753b7d1cfb37 (patch) | |
tree | 9f43ebf7513cea874a1d14b821458a060c3d8066 /src/ArrowButton.cc | |
parent | 87c97a966801bd1bdd38e11304061bdbe5248d2e (diff) | |
download | fluxbox_pavel-c4ef95612c7d4f1f66c0befd515c753b7d1cfb37.zip fluxbox_pavel-c4ef95612c7d4f1f66c0befd515c753b7d1cfb37.tar.bz2 |
Button changed to a FbWindow
Diffstat (limited to 'src/ArrowButton.cc')
-rw-r--r-- | src/ArrowButton.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ArrowButton.cc b/src/ArrowButton.cc index 1d3d9fe..96f2142 100644 --- a/src/ArrowButton.cc +++ b/src/ArrowButton.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: ArrowButton.cc,v 1.3 2003/05/17 11:30:59 fluxgen Exp $ | 22 | // $Id: ArrowButton.cc,v 1.4 2003/08/13 09:38:09 fluxgen Exp $ |
23 | 23 | ||
24 | #include "ArrowButton.hh" | 24 | #include "ArrowButton.hh" |
25 | 25 | ||
@@ -31,8 +31,8 @@ ArrowButton::ArrowButton(ArrowButton::Type arrow_type, | |||
31 | m_arrow_type(arrow_type), | 31 | m_arrow_type(arrow_type), |
32 | m_mouse_handler(0) { | 32 | m_mouse_handler(0) { |
33 | 33 | ||
34 | window().setEventMask(ExposureMask | ButtonPressMask | ButtonReleaseMask | | 34 | setEventMask(ExposureMask | ButtonPressMask | ButtonReleaseMask | |
35 | EnterWindowMask | LeaveWindowMask); | 35 | EnterWindowMask | LeaveWindowMask); |
36 | } | 36 | } |
37 | 37 | ||
38 | ArrowButton::ArrowButton(ArrowButton::Type arrow_type, | 38 | ArrowButton::ArrowButton(ArrowButton::Type arrow_type, |
@@ -43,8 +43,8 @@ ArrowButton::ArrowButton(ArrowButton::Type arrow_type, | |||
43 | m_arrow_type(arrow_type), | 43 | m_arrow_type(arrow_type), |
44 | m_mouse_handler(0) { | 44 | m_mouse_handler(0) { |
45 | 45 | ||
46 | window().setEventMask(ExposureMask | ButtonPressMask | ButtonReleaseMask | | 46 | setEventMask(ExposureMask | ButtonPressMask | ButtonReleaseMask | |
47 | EnterWindowMask | LeaveWindowMask); | 47 | EnterWindowMask | LeaveWindowMask); |
48 | } | 48 | } |
49 | 49 | ||
50 | void ArrowButton::clear() { | 50 | void ArrowButton::clear() { |
@@ -102,9 +102,9 @@ void ArrowButton::drawArrow() { | |||
102 | } | 102 | } |
103 | 103 | ||
104 | if (gc() != 0) { | 104 | if (gc() != 0) { |
105 | window().fillPolygon(gc(), | 105 | fillPolygon(gc(), |
106 | pts, 3, | 106 | pts, 3, |
107 | Convex, CoordModePrevious); | 107 | Convex, CoordModePrevious); |
108 | } | 108 | } |
109 | } | 109 | } |
110 | 110 | ||