Blame toonz/sources/include/tools/cursors.h
|
Shinya Kitaoka |
810553 |
#pragma once
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef CURSORS_INCLUDED
|
|
Toshihiro Shimizu |
890ddd |
#define CURSORS_INCLUDED
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
namespace ToolCursor {
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
enum {
|
|
Shinya Kitaoka |
120a6e |
CURSOR_NONE, // no cursor...
|
|
Shinya Kitaoka |
120a6e |
CURSOR_DEFAULT = CURSOR_NONE, // window class cursor...
|
|
Shinya Kitaoka |
120a6e |
CURSOR_ARROW,
|
|
Shinya Kitaoka |
120a6e |
CURSOR_HAND,
|
|
Shinya Kitaoka |
120a6e |
CURSOR_HOURGLASS,
|
|
Shinya Kitaoka |
120a6e |
CURSOR_NO,
|
|
Shinya Kitaoka |
120a6e |
CURSOR_DUMMY,
|
|
Shinya Kitaoka |
9f5a1b |
#ifndef _WIN32
|
|
Shinya Kitaoka |
120a6e |
CURSOR_DND,
|
|
Shinya Kitaoka |
120a6e |
CURSOR_QUESTION,
|
|
Toshihiro Shimizu |
890ddd |
#endif
|
|
Shinya Kitaoka |
120a6e |
PenCursor,
|
|
manongjohn |
75da26 |
PenLargeCursor,
|
|
manongjohn |
75da26 |
PenCrosshairCursor,
|
|
Shinya Kitaoka |
120a6e |
BenderCursor,
|
|
Shinya Kitaoka |
120a6e |
CutterCursor,
|
|
Shinya Kitaoka |
120a6e |
DistortCursor,
|
|
Shinya Kitaoka |
120a6e |
EraserCursor,
|
|
Shinya Kitaoka |
120a6e |
FillCursor,
|
|
Shinya Kitaoka |
120a6e |
MoveCursor,
|
|
Shinya Kitaoka |
120a6e |
FlipHCursor,
|
|
Shinya Kitaoka |
120a6e |
FlipVCursor,
|
|
Shinya Kitaoka |
120a6e |
IronCursor,
|
|
Shinya Kitaoka |
120a6e |
LevelSelectCursor,
|
|
Shinya Kitaoka |
120a6e |
MagnetCursor,
|
|
Shinya Kitaoka |
120a6e |
PanCursor,
|
|
Shinya Kitaoka |
120a6e |
PickerCursor,
|
|
Shinya Kitaoka |
120a6e |
PumpCursor,
|
|
Shinya Kitaoka |
120a6e |
RotCursor,
|
|
Shinya Kitaoka |
120a6e |
RotTopLeft,
|
|
Shinya Kitaoka |
120a6e |
RotBottomRight,
|
|
Shinya Kitaoka |
120a6e |
RotBottomLeft,
|
|
Shinya Kitaoka |
120a6e |
RotateCursor,
|
|
Shinya Kitaoka |
120a6e |
ScaleCursor,
|
|
Shinya Kitaoka |
120a6e |
ScaleInvCursor,
|
|
Shinya Kitaoka |
120a6e |
ScaleHCursor,
|
|
Shinya Kitaoka |
120a6e |
ScaleVCursor,
|
|
Shinya Kitaoka |
120a6e |
StrokeSelectCursor,
|
|
Shinya Kitaoka |
120a6e |
TapeCursor,
|
|
Shinya Kitaoka |
120a6e |
TypeInCursor,
|
|
Shinya Kitaoka |
120a6e |
TypeOutCursor,
|
|
Shinya Kitaoka |
120a6e |
ZoomCursor,
|
|
Shinya Kitaoka |
120a6e |
PinchCursor,
|
|
Shinya Kitaoka |
120a6e |
PinchAngleCursor,
|
|
Shinya Kitaoka |
120a6e |
PinchWaveCursor,
|
|
Shinya Kitaoka |
120a6e |
SplineEditorCursor,
|
|
Shinya Kitaoka |
120a6e |
SplineEditorCursorSelect,
|
|
Shinya Kitaoka |
120a6e |
SplineEditorCursorAdd,
|
|
Shinya Kitaoka |
120a6e |
TrackerCursor,
|
|
Shinya Kitaoka |
120a6e |
ForbiddenCursor,
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
NormalEraserCursor,
|
|
Shinya Kitaoka |
120a6e |
RectEraserCursor,
|
|
shun_iwasawa |
06bcc2 |
PickerCursorOrganize,
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
PickerRGBWhite,
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
FillCursorL,
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
MoveEWCursor,
|
|
Shinya Kitaoka |
120a6e |
MoveNSCursor,
|
|
Shinya Kitaoka |
120a6e |
DisableCursor,
|
|
Shinya Kitaoka |
120a6e |
ScaleGlobalCursor,
|
|
Shinya Kitaoka |
120a6e |
RulerModifyCursor,
|
|
shun_iwasawa |
009457 |
RulerNewCursor,
|
|
shun_iwasawa |
009457 |
|
|
manongjohn |
75da26 |
// Base cursors with fixed set of decorations. See below
|
|
manongjohn |
75da26 |
FxGadgetCursorBase,
|
|
manongjohn |
75da26 |
EditFxCursorBase,
|
|
manongjohn |
75da26 |
MoveZCursorBase,
|
|
manongjohn |
75da26 |
PickerCursorLineBase,
|
|
manongjohn |
75da26 |
PickerCursorAreaBase,
|
|
manongjohn |
75da26 |
PickerRGBBase,
|
|
manongjohn |
75da26 |
ScaleHVCursorBase,
|
|
manongjohn |
75da26 |
|
|
shun_iwasawa |
009457 |
// extra options for decorating the cursor
|
|
shun-iwasawa |
43640b |
Ex_Negate = 0x100, // used for black bg
|
|
shun-iwasawa |
43640b |
Ex_FreeHand = 0x200,
|
|
shun-iwasawa |
43640b |
Ex_PolyLine = 0x400,
|
|
shun-iwasawa |
43640b |
Ex_Rectangle = 0x800,
|
|
shun-iwasawa |
43640b |
Ex_Line = 0x1000,
|
|
shun-iwasawa |
43640b |
Ex_Area = 0x2000,
|
|
manongjohn |
75da26 |
Ex_Fill_NoAutopaint = 0x4000,
|
|
manongjohn |
75da26 |
Ex_FX = 0x8000,
|
|
manongjohn |
75da26 |
Ex_Z = 0x10000,
|
|
manongjohn |
75da26 |
Ex_StyleLine = 0x20000,
|
|
manongjohn |
75da26 |
Ex_StyleArea = 0x40000,
|
|
manongjohn |
75da26 |
Ex_RGB = 0x80000,
|
|
manongjohn |
75da26 |
Ex_HV = 0x100000,
|
|
manongjohn |
75da26 |
|
|
manongjohn |
75da26 |
// This section is for cursors that have fixed text that needs to
|
|
manongjohn |
75da26 |
// be handled separately when flipping for left-handed cursors.
|
|
manongjohn |
75da26 |
// The base gets flipped, but a left-handed version of text will be
|
|
manongjohn |
75da26 |
// used instead of flipped.
|
|
manongjohn |
75da26 |
FxGadgetCursor = FxGadgetCursorBase | Ex_FX,
|
|
manongjohn |
75da26 |
EditFxCursor = EditFxCursorBase | Ex_FX,
|
|
manongjohn |
75da26 |
MoveZCursor = MoveZCursorBase | Ex_Z,
|
|
manongjohn |
75da26 |
PickerCursorLine = PickerCursorLineBase | Ex_StyleLine,
|
|
manongjohn |
75da26 |
PickerCursorArea = PickerCursorAreaBase | Ex_StyleArea,
|
|
manongjohn |
75da26 |
PickerRGB = PickerRGBBase | Ex_RGB,
|
|
manongjohn |
75da26 |
ScaleHVCursor = ScaleHVCursorBase | Ex_HV
|
|
Toshihiro Shimizu |
890ddd |
};
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
} // namespace
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#endif
|