binds.h File Reference

(r1785/r751)

Go to the source code of this file.

Enumerations

enum  ClickType {
  CLICKTYPE_NONE, CLICKTYPE_SINGLE, CLICKTYPE_DOUBLE, CLICKTYPE_DRAG,
  CLICKTYPE_UP
}
enum  ButtonFunction {
  BUTTFUNC_NORMAL, BUTTFUNC_SHIFT, BUTTFUNC_CONSTRAIN, BUTTFUNC_ALTERNATIVE,
  BUTTFUNC_MENU, BUTTFUNC_FULLSCREEN, BUTTFUNC_ZOOMIN, BUTTFUNC_PUSHCENTRE,
  BUTTFUNC_LAST
}
enum  DragType { DRAGTYPE_NOSCROLL, DRAGTYPE_AUTOSCROLL, DRAGTYPE_DEFERSCROLL, DRAGTYPE_OLESCROLL }


Enumeration Type Documentation

enum ButtonFunction
 

Comment: This enum lists the possible functions that can be assigned to each of the mouse buttons via the preferences system. MonoOn enum ButtonFunction { BUTTFUNC_NORMAL, BUTTFUNC_SHIFT, BUTTFUNC_CONSTRAIN, BUTTFUNC_ALTERNATIVE, BUTTFUNC_MENU, BUTTFUNC_EDITOBJECT, BUTTFUNC_FULLSCREEN, BUTTFUNC_ZOOMIN }; MonoOff

Enumerator:
BUTTFUNC_NORMAL 
BUTTFUNC_SHIFT 
BUTTFUNC_CONSTRAIN 
BUTTFUNC_ALTERNATIVE 
BUTTFUNC_MENU 
BUTTFUNC_FULLSCREEN 
BUTTFUNC_ZOOMIN 
BUTTFUNC_PUSHCENTRE 
BUTTFUNC_LAST 

Definition at line 178 of file binds.h.

00178                     {
00179                         BUTTFUNC_NORMAL,
00180                         BUTTFUNC_SHIFT,
00181                         BUTTFUNC_CONSTRAIN,
00182                         BUTTFUNC_ALTERNATIVE,
00183                         BUTTFUNC_MENU,
00184 //                      BUTTFUNC_EDITOBJECT,
00185                         BUTTFUNC_FULLSCREEN,
00186                         BUTTFUNC_ZOOMIN,
00187                         BUTTFUNC_PUSHCENTRE,
00188 
00189                             BUTTFUNC_LAST
00190                     };

enum ClickType
 

Comment: The kernel only understands pointing-devices with ONE button! DON'T PANIC! If a pointing- device has more than one button then the functions of the other buttons are encoded as "modifiers" of the simple click state (See Modifiers below). The reason for doing things this way is not to be ready for the Mac but simply because functions which want to treat all clicks in the same way don't have to do any special tests.

The model of clicking that the kernel expects is that it always receives a single-click whether or not further testing decides that a double-click or a drag follows. The kernel expects that it will always have received a single-click when dealing with a double-click or a drag. It is up to the OIL layer to guarantee this!

MonoOn enum ClickType { CLICKTYPE_NONE, CLICKTYPE_SINGLE, CLICKTYPE_DOUBLE, CLICKTYPE_DRAG }; MonoOff

See also:
ClickModifiers; DocView::OnClick; Tool_v1::OnClick
Enumerator:
CLICKTYPE_NONE 
CLICKTYPE_SINGLE 
CLICKTYPE_DOUBLE 
CLICKTYPE_DRAG 
CLICKTYPE_UP 

Definition at line 145 of file binds.h.

00146 {
00147     CLICKTYPE_NONE,             // what's this then?
00148     CLICKTYPE_SINGLE,           // single click, any button
00149     CLICKTYPE_DOUBLE,           // double click, any button
00150     CLICKTYPE_DRAG,             // mouse move
00151     CLICKTYPE_UP                // button up, any button
00152 };

enum DragType
 

Comment: When a drag is started there are various options which control the way scrolling occurs when the pointer moves outside the client area.

MonoOn enum DragType { DRAGTYPE_NOSCROLL, DRAGTYPE_AUTOSCROLL, DRAGTYPE_DEFERSCROLL, DRAGTYPE_OLESCROLL }; MonoOff

See also:
CCamView::StartDrag
Enumerator:
DRAGTYPE_NOSCROLL 
DRAGTYPE_AUTOSCROLL 
DRAGTYPE_DEFERSCROLL 
DRAGTYPE_OLESCROLL 

Definition at line 214 of file binds.h.


Generated on Sat Nov 10 03:49:04 2007 for Camelot by  doxygen 1.4.4