summaryrefslogtreecommitdiff
path: root/beos/beos_window.cpp
diff options
context:
space:
mode:
authorFrançois Revel <mmu_man@netsurf-browser.org>2008-10-02 19:57:19 +0000
committerFrançois Revel <mmu_man@netsurf-browser.org>2008-10-02 19:57:19 +0000
commit5de594527fb2032f50d0d3c2c97ba4b3addba687 (patch)
treeb674ff502eb3c0466452dfeeef77b9eee7d0fbb2 /beos/beos_window.cpp
parente4cdeb178eba11b11aaf2b4a51a25fbd7ce361bd (diff)
downloadnetsurf-5de594527fb2032f50d0d3c2c97ba4b3addba687.tar.gz
netsurf-5de594527fb2032f50d0d3c2c97ba4b3addba687.tar.bz2
- cleanup dead gtk code and copyrights
- fix refs received before we have a window open (as in OpenWith...), maybe I should just open a new window each time anyway ? svn path=/trunk/netsurf/; revision=5476
Diffstat (limited to 'beos/beos_window.cpp')
-rw-r--r--beos/beos_window.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/beos/beos_window.cpp b/beos/beos_window.cpp
index fd2b2c989..2e7827978 100644
--- a/beos/beos_window.cpp
+++ b/beos/beos_window.cpp
@@ -1432,41 +1432,6 @@ const uint8 kWatch2CursorBits[] = {
};
-#if 0 /* GTK */
-static GdkCursor *nsbeos_create_menu_cursor(void)
-{
- static char menu_cursor_bits[] = {
- 0x00, 0x00, 0x80, 0x7F, 0x88, 0x40, 0x9E, 0x5E, 0x88, 0x40, 0x80, 0x56,
- 0x80, 0x40, 0x80, 0x5A, 0x80, 0x40, 0x80, 0x5E, 0x80, 0x40, 0x80, 0x56,
- 0x80, 0x40, 0x80, 0x7F, 0x00, 0x00, 0x00, 0x00, };
-
- static char menu_cursor_mask_bits[] = {
- 0xC0, 0xFF, 0xC8, 0xFF, 0xDF, 0xFF, 0xFF, 0xFF, 0xDF, 0xFF, 0xC8, 0xFF,
- 0xC0, 0xFF, 0xC0, 0xFF, 0xC0, 0xFF, 0xC0, 0xFF, 0xC0, 0xFF, 0xC0, 0xFF,
- 0xC0, 0xFF, 0xC0, 0xFF, 0xC0, 0xFF, 0x00, 0x00, };
-
- static GdkCursor *r;
- static GdkColor fg = { 0, 0, 0, 0 };
- static GdkColor bg = { 0, 65535, 65535, 65535 };
-
- GdkPixmap *source, *mask;
-
- if (r != NULL)
- return r;
-
- source = gdk_bitmap_create_from_data(NULL, menu_cursor_bits,
- 16, 16);
- mask = gdk_bitmap_create_from_data (NULL, menu_cursor_mask_bits,
- 16, 16);
-
- r = gdk_cursor_new_from_pixmap(source, mask, &fg, &bg, 8, 8);
- gdk_pixmap_unref(source);
- gdk_pixmap_unref(mask);
-
- return r;
-}
-#endif
-
void gui_window_set_pointer(struct gui_window *g, gui_pointer_shape shape)
{
BCursor *cursor = NULL;