SHAPE


shape                         cur=<i>

Function

To change the shape of the cursor/pointer.  In Windows the cursor index refers to one of the 12 cursors available under the current Windows installed schema.

Parameters

cur=

In Windows the cursors are defined 1-12  
i.e. on the default Windows schema cur=12 will be the hourglass.  If -1 is specified the null_cursor is used, that is nothing is displayed at cursor position. 

 

Examples

shape cur=12

Notes

Cursors can be either monochrome or color, and either static or animated. The type of cursor used on a particular computer system depends on the system’s display. Old displays such as VGA do not support color or animated cursors, but new displays (whose display drivers use the DIB engine) do support them.

Windows provides a set of standard cursors that are available for any application to use at any time. The Windows header files contain identifiers for the standard cursors.

 

1

Standard arrow

2

Crosshair

3

Text I-beam

4

A square with a smaller square inside its lower right corner

5

Four pointed arrow NSEW

6

Stop symbol

7

Double pointed cursor with arrows facing NE and SW

8

Double pointed cursor with arrows facing N and S

9

Double pointed cursor with arrows facing NW and SE

10

Double pointed cursor with arrows facing W and E

11

Vertical up arrow

12

Hourglass

 

 

If the standard cursors are replaced by another schema (static or animated) then the cursors selected using the shape command will take on these characteristics.

 

This command refers to windowing system cursor and should not be confused with the Eagle internal cursor. They are entirely independent and can possibly be both visible during an interactive session. 

 

Eagle Window Cursors are displayed use during dynamic zoom and pan. They are coded (e.g. SHAPE CUR=) as follows :

 

zoom in (to be used by the application)

dynamic zoom

dynamic pan

spin

 

The corresponding resources file entries are :

 

 

2009  
2010
2011 
2012

        

                  

The new cursors introduced for the POLLING L are also accessible from the SHAPE command. The correspondence between the value passed to the SHAPE command with the CUR primer and the image of the cursor is described in the following figure.

 

IDC_APPSTARTING

IDC_ARROW

IDC_IBEAM

IDC_IBEAM   

2001

5      2002 

6      2004

7      IDC_SIZENESW

8      IDC_SIZENS

9      IDC_SIZENWSE

10     2005

11     2003

12     IDC_WAIT

13     IDC_ICON

14     IDC_SIZE

15     IDC_NO

16     IDC_SIZEWE

17     IDC_UPARROW

18     not used

19     not used

20     2006

21     2007

22     2008

23     not used

-

63     not used

 

   The numbers like 2000, 2001, etc. correspond to entries in the Eagle resource file and the correspondent shape are :

 

2001  
2002
2003 
2004
2005
2006
2007
2008

 

See also

cursor, polling