diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-27 18:41:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-27 18:41:26 +0400 |
commit | 699030ceb698f827fe582bf03a78a44ffc283629 (patch) | |
tree | b9bd3afdc7d131f66460fad247135c3ed155a2ff /intern/ghost | |
parent | 626f73718631a641fe2d9fe6e2786fc48a341ff7 (diff) |
use const for readonly strings and set some functions to static
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowX11.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp index 1c729fc0772..c379e4c7e48 100644 --- a/intern/ghost/intern/GHOST_WindowX11.cpp +++ b/intern/ghost/intern/GHOST_WindowX11.cpp @@ -1585,30 +1585,3 @@ setWindowCustomCursorShape( return GHOST_kSuccess; } - -/* - -void glutCustomCursor(char *data1, char *data2, int size) -{ - Pixmap source, mask; - Cursor cursor; - XColor fg, bg; - - if(XAllocNamedColor(__glutDisplay, DefaultColormap(__glutDisplay, __glutScreen), - "White", &fg, &fg) == 0) return; - if(XAllocNamedColor(__glutDisplay, DefaultColormap(__glutDisplay, __glutScreen), - "Red", &bg, &bg) == 0) return; - - - source= XCreateBitmapFromData(__glutDisplay, xdraw, data2, size, size); - mask= XCreateBitmapFromData(__glutDisplay, xdraw, data1, size, size); - - cursor= XCreatePixmapCursor(__glutDisplay, source, mask, &fg, &bg, 7, 7); - - XFreePixmap(__glutDisplay, source); - XFreePixmap(__glutDisplay, mask); - - XDefineCursor(__glutDisplay, xdraw, cursor); -} - -*/ |