diff options
author | fluxgen <fluxgen> | 2003-06-11 14:52:45 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-06-11 14:52:45 (GMT) |
commit | 32cdc02556ac89a4ec75e24d481c179c909114c0 (patch) | |
tree | 6c57f343af96fedeb56f012b263423ad50d75ca9 /src/FbWinFrameTheme.cc | |
parent | 127778b167888bdd8e19d798512b251ee8ca7dfd (diff) | |
download | fluxbox_pavel-32cdc02556ac89a4ec75e24d481c179c909114c0.zip fluxbox_pavel-32cdc02556ac89a4ec75e24d481c179c909114c0.tar.bz2 |
added cursor
Diffstat (limited to 'src/FbWinFrameTheme.cc')
-rw-r--r-- | src/FbWinFrameTheme.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/FbWinFrameTheme.cc b/src/FbWinFrameTheme.cc index d42501c..e747c03 100644 --- a/src/FbWinFrameTheme.cc +++ b/src/FbWinFrameTheme.cc | |||
@@ -19,11 +19,13 @@ | |||
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: FbWinFrameTheme.cc,v 1.3 2003/02/23 01:02:52 fluxgen Exp $ | 22 | // $Id: FbWinFrameTheme.cc,v 1.4 2003/06/11 14:52:45 fluxgen Exp $ |
23 | 23 | ||
24 | #include "FbWinFrameTheme.hh" | 24 | #include "FbWinFrameTheme.hh" |
25 | #include "App.hh" | 25 | #include "App.hh" |
26 | 26 | ||
27 | #include <X11/cursorfont.h> | ||
28 | |||
27 | #include <iostream> | 29 | #include <iostream> |
28 | 30 | ||
29 | FbWinFrameTheme::FbWinFrameTheme(int screen_num): | 31 | FbWinFrameTheme::FbWinFrameTheme(int screen_num): |
@@ -62,6 +64,11 @@ FbWinFrameTheme::FbWinFrameTheme(int screen_num): | |||
62 | m_label_text_unfocus_gc = XCreateGC(disp, rootwin, 0, 0); | 64 | m_label_text_unfocus_gc = XCreateGC(disp, rootwin, 0, 0); |
63 | m_button_pic_focus_gc = XCreateGC(disp, rootwin, 0, 0); | 65 | m_button_pic_focus_gc = XCreateGC(disp, rootwin, 0, 0); |
64 | m_button_pic_unfocus_gc = XCreateGC(disp, rootwin, 0, 0); | 66 | m_button_pic_unfocus_gc = XCreateGC(disp, rootwin, 0, 0); |
67 | // create cursors | ||
68 | m_cursor_move = XCreateFontCursor(disp, XC_fleur); | ||
69 | m_cursor_lower_left_angle = XCreateFontCursor(disp, XC_ll_angle); | ||
70 | m_cursor_lower_right_angle = XCreateFontCursor(disp, XC_lr_angle); | ||
71 | |||
65 | } | 72 | } |
66 | 73 | ||
67 | FbWinFrameTheme::~FbWinFrameTheme() { | 74 | FbWinFrameTheme::~FbWinFrameTheme() { |