Added move cursor data.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3991 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm 2003-07-16 00:43:10 +00:00
parent 07dec7c1ca
commit ce072df2d0
3 changed files with 11 additions and 1 deletions

View File

@ -97,6 +97,13 @@ int8 default_text_data[] = {
0x06, 0xC0
};
int8 default_move_data[] = {
0x10, 0x01, 0x07, 0x07, 0x00, 0x00, 0x01, 0x00, 0x03, 0x80, 0x07, 0xC0, 0x00, 0x00, 0x10, 0x10, 0x30, 0x18, 0x71, 0x1C, 0x30, 0x18,
0x10, 0x10, 0x00, 0x00, 0x07, 0xC0, 0x03, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x03, 0x80, 0x07, 0xC0, 0x0F, 0xE0,
0x1F, 0xF0, 0x38, 0x38, 0x7B, 0xBC, 0xFB, 0xBE, 0x7B, 0xBC, 0x38, 0x38, 0x1F, 0xF0, 0x0F, 0xE0, 0x07, 0xC0, 0x03, 0x80, 0x01, 0x00,
0x00, 0x00
};
int8 default_drag_data[] = {
0x10, 0x01, 0x00, 0x00, 0xFF, 0x00, 0x81, 0x00, 0x82, 0x00, 0x82, 0x00, 0x81, 0xFF, 0x80, 0x81, 0xB0, 0x41, 0xC8, 0x41, 0x04, 0x81,
0x03, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, 0x01, 0x03, 0xFF, 0xFF, 0x00, 0xFF, 0x00, 0xFE, 0x00, 0xFE, 0x00,

View File

@ -3,6 +3,7 @@
extern int8 default_cursor_data[];
extern int8 default_text_data[];
extern int8 default_move_data[];
extern int8 default_drag_data[];
extern int8 default_resize_data[];
extern int8 default_resize_ew_data[];

View File

@ -57,7 +57,9 @@ CursorManager::CursorManager(void)
AddCursor(cdrag);
_dragcsr=cdrag;
_movecsr=NULL;
ServerCursor *cmove=new ServerCursor(default_move_data);
AddCursor(cmove);
_movecsr=cmove;
ServerCursor *cresize=new ServerCursor(default_resize_data);
AddCursor(cresize);