Use the new cursors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35891 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a5b1cf5973
commit
769912c87b
@ -9,17 +9,8 @@
|
||||
#define CURSORS_H
|
||||
|
||||
// Exported with Wonderbrush from haiku/data/artwork/cursors/Overlays_Tracker
|
||||
|
||||
const unsigned char kCopyCursor[] = {16, 1, 0, 1,
|
||||
0x70, 0x00, 0x48, 0x00, 0x48, 0x00, 0x27, 0xc0,
|
||||
0x24, 0xb8, 0x12, 0x54, 0x10, 0x02, 0x78, 0x02,
|
||||
0x98, 0x02, 0x84, 0x1c, 0x60, 0x14, 0x18, 0x77,
|
||||
0x04, 0x41, 0x00, 0x77, 0x00, 0x14, 0x00, 0x1c,
|
||||
|
||||
0x70, 0x00, 0x78, 0x00, 0x78, 0x00, 0x3f, 0xc0,
|
||||
0x3f, 0xf8, 0x1f, 0xfc, 0x1f, 0xfe, 0x7f, 0xfe,
|
||||
0xff, 0xfe, 0xff, 0xfc, 0x7f, 0xfc, 0x1f, 0xff,
|
||||
0x07, 0xff, 0x01, 0xff, 0x00, 0x1c, 0x00, 0x1c};
|
||||
// TODO: Don't use these, there are new cursors, which you can use by ID.
|
||||
// (Except for the kMoveCursor, which has different meaning here.)
|
||||
|
||||
const unsigned char kMoveCursor[] = {16, 1, 0, 1,
|
||||
0x70, 0x00, 0x48, 0x00, 0x48, 0x00, 0x27, 0xc0,
|
||||
|
@ -9008,7 +9008,7 @@ BPoseView::UpdateDropTarget(BPoint mouseLoc, const BMessage *dragMessage,
|
||||
if (!CheckDevicesEqual(&srcRef, targetModel)
|
||||
&& !srcModel.IsVolume()
|
||||
&& !srcModel.IsRoot()) {
|
||||
BCursor copyCursor(kCopyCursor);
|
||||
BCursor copyCursor(B_CURSOR_ID_COPY);
|
||||
SetViewCursor(©Cursor);
|
||||
return true;
|
||||
}
|
||||
|
@ -61,14 +61,6 @@ static rgb_color sDarkShadowColor;
|
||||
|
||||
const rgb_color kHighlightColor = {100, 100, 210, 255};
|
||||
|
||||
const unsigned char kHorizontalResizeCursor[] = {
|
||||
16, 1, 7, 7,
|
||||
0, 0, 1, 0, 1, 0, 1, 0, 9, 32, 25, 48, 57, 56, 121, 60,
|
||||
57, 56, 25, 48, 9, 32, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0,
|
||||
3, 128, 3, 128, 3, 128, 15, 224, 31, 240, 63, 248, 127, 252, 255, 254,
|
||||
127, 252, 63, 248, 31, 240, 15, 224, 3, 128, 3, 128, 3, 128, 0, 0
|
||||
};
|
||||
|
||||
|
||||
static void
|
||||
_DrawLine(BPoseView *view, BPoint from, BPoint to)
|
||||
@ -109,7 +101,7 @@ BTitleView::BTitleView(BRect frame, BPoseView *view)
|
||||
: BView(frame, "TitleView", B_FOLLOW_LEFT_RIGHT, B_WILL_DRAW),
|
||||
fPoseView(view),
|
||||
fTitleList(10, true),
|
||||
fHorizontalResizeCursor(kHorizontalResizeCursor),
|
||||
fHorizontalResizeCursor(B_CURSOR_ID_RESIZE_EAST_WEST),
|
||||
fPreviouslyClickedColumnTitle(0),
|
||||
fTrackingState(NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user