SGMouseInfo Struct Reference

#include <sgtree.h>

List of all members.

Public Attributes

DocCoord Position
BOOL Adjust
BOOL Extend
BOOL DoubleClick
BOOL MenuClick


Detailed Description

Comment: MonoOn typedef struct { DocCoord Position; BOOL Adjust; BOOL Extend; BOOL DoubleClick; BOOL MenuClick; } SGMouseInfo; MonoOff

This structure is passed down through the SuperGallery Display Tree by the SGDisplayNode::HandleEvent method, when processing MOUSE events.

Position contains the current x,y position of the mouse in MILLIPOINTS

Adjust is TRUE for an 'adjust' (ctrl) click or FALSE for a normal (left button) click

Extend is TRUE if it was a 'selection extending' click (shift-click in windows-listbox way of operation)

DoubleClick is TRUE if this mouse event closely follows another one, so that it looks like this is actually part two of a double-click.

MenuClick is TRUE if the click will be showing a menu (in which case, a drag MUST NOT be started or the menu will never appear) - this occurs for right-button clicks.

See also:
SGDisplayGroup::HandleEvent; SGEventType

Definition at line 416 of file sgtree.h.


Member Data Documentation

BOOL SGMouseInfo::Adjust
 

Definition at line 419 of file sgtree.h.

BOOL SGMouseInfo::DoubleClick
 

Definition at line 421 of file sgtree.h.

BOOL SGMouseInfo::Extend
 

Definition at line 420 of file sgtree.h.

BOOL SGMouseInfo::MenuClick
 

Definition at line 422 of file sgtree.h.

DocCoord SGMouseInfo::Position
 

Definition at line 418 of file sgtree.h.


The documentation for this struct was generated from the following file:
Generated on Sat Nov 10 04:01:09 2007 for Camelot by  doxygen 1.4.4