mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 04:07:57 +02:00
added mouse cursors for 8 uni directions, imlemented for gtk
git-svn-id: trunk@6577 -
This commit is contained in:
parent
407a9f452a
commit
617a25c02d
@ -489,9 +489,9 @@ implementation
|
||||
|
||||
const
|
||||
GRAB_CURSOR: array[TGrabIndex] of TCursor = (
|
||||
crSizeNWSE, crSizeNS, crSizeNESW,
|
||||
crSizeWE, crSizeWE,
|
||||
crSizeNESW, crSizeNS, crSizeNWSE
|
||||
crSizeNW, crSizeN, crSizeNE,
|
||||
crSizeW, crSizeE,
|
||||
crSizeSW, crSizeS, crSizeSE
|
||||
);
|
||||
|
||||
GRAB_POSITIONS: array [TGrabIndex] of TGrabPositions = (
|
||||
|
@ -238,10 +238,18 @@ const
|
||||
crCross = TCursor(-3);
|
||||
crIBeam = TCursor(-4);
|
||||
crSize = TCursor(-22);
|
||||
crSizeNESW = TCursor(-6);
|
||||
crSizeNESW = TCursor(-6); // diagonal north east - south west
|
||||
crSizeNS = TCursor(-7);
|
||||
crSizeNWSE = TCursor(-8);
|
||||
crSizeWE = TCursor(-9);
|
||||
crSizeNW = TCursor(-23);
|
||||
crSizeN = TCursor(-24);
|
||||
crSizeNE = TCursor(-25);
|
||||
crSizeW = TCursor(-26);
|
||||
crSizeE = TCursor(-27);
|
||||
crSizeSW = TCursor(-28);
|
||||
crSizeS = TCursor(-29);
|
||||
crSizeSE = TCursor(-30);
|
||||
crUpArrow = TCursor(-10);
|
||||
crHourGlass = TCursor(-11);
|
||||
crDrag = TCursor(-12);
|
||||
@ -256,7 +264,7 @@ const
|
||||
crHandPoint = TCursor(-21);
|
||||
crSizeAll = TCursor(-22);
|
||||
|
||||
crLow = TCursor(-22);
|
||||
crLow = TCursor(-30);
|
||||
|
||||
type
|
||||
TWndMethod = procedure(var TheMessage: TLMessage) of Object;
|
||||
@ -2808,6 +2816,9 @@ end.
|
||||
{ =============================================================================
|
||||
|
||||
$Log$
|
||||
Revision 1.266 2005/01/13 22:07:10 mattias
|
||||
added mouse cursors for 8 uni directions, imlemented for gtk
|
||||
|
||||
Revision 1.265 2005/01/08 14:23:56 micha
|
||||
move taborder and tabstop to twincontrol
|
||||
|
||||
|
@ -385,6 +385,14 @@ begin
|
||||
CursorToGDKCursor[crSizeNS] := GDK_SB_V_DOUBLE_ARROW;
|
||||
CursorToGDKCursor[crSizeNWSE] := GDK_TOP_LEFT_CORNER;
|
||||
CursorToGDKCursor[crSizeWE] := GDK_SB_H_DOUBLE_ARROW;
|
||||
CursorToGDKCursor[crSizeNW] := GDK_TOP_LEFT_CORNER;
|
||||
CursorToGDKCursor[crSizeN] := GDK_TOP_SIDE;
|
||||
CursorToGDKCursor[crSizeNE] := GDK_TOP_RIGHT_CORNER;
|
||||
CursorToGDKCursor[crSizeW] := GDK_LEFT_SIDE;
|
||||
CursorToGDKCursor[crSizeE] := GDK_RIGHT_SIDE;
|
||||
CursorToGDKCursor[crSizeSW] := GDK_BOTTOM_LEFT_CORNER;
|
||||
CursorToGDKCursor[crSizeS] := GDK_BOTTOM_SIDE;
|
||||
CursorToGDKCursor[crSizeSE] := GDK_BOTTOM_RIGHT_CORNER;
|
||||
CursorToGDKCursor[crUpArrow] := GDK_LEFT_PTR;
|
||||
CursorToGDKCursor[crHourGlass]:= GDK_CLOCK;
|
||||
CursorToGDKCursor[crDrag] := GDK_SAILBOAT;
|
||||
@ -432,6 +440,9 @@ end.
|
||||
{ =============================================================================
|
||||
|
||||
$Log$
|
||||
Revision 1.219 2005/01/13 22:07:10 mattias
|
||||
added mouse cursors for 8 uni directions, imlemented for gtk
|
||||
|
||||
Revision 1.218 2005/01/08 11:03:18 mattias
|
||||
implemented TPen.Mode=pmXor from Jesus
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user