Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

ResizingAndRotateControl Class Reference

#include <window.h>

Inheritance diagram for ResizingAndRotateControl:

Control Window Calculator MsgBox TaskWindow Tutorial List of all members.

Public Member Functions

 ResizingAndRotateControl ()
 ~ResizingAndRotateControl ()
int OnHover (StateMouse *mouse, int deltaX, int deltaY, int numFace)
 Sur survole de la fenetre affiche le "trackButton" si a proximité d'un bord.


Public Attributes

BOOL canResize
BOOL canRotate

Detailed Description

Class de gestion de resize et rotate d'un control

Ceci est une "interface" de control et lui confere une trackButton de gestion Ex d'un control qui peut etre resize

class MyControl : public ResizingAndRotateControl { MyControl() { canResize=TRUE; canRotate=FALSE; ... } }

Definition at line 50 of file window.h.


Constructor & Destructor Documentation

ResizingAndRotateControl::ResizingAndRotateControl  ) 
 

Definition at line 159 of file window.cpp.

References EventControl::mouse, EventMouse::move, and OnHover().

ResizingAndRotateControl::~ResizingAndRotateControl  ) 
 

Definition at line 165 of file window.cpp.


Member Function Documentation

int ResizingAndRotateControl::OnHover StateMouse mouse,
int  deltaX,
int  deltaY,
int  numFace
 

Sur survole de la fenetre affiche le "trackButton" si a proximité d'un bord.

Definition at line 172 of file window.cpp.

References BOOL(), bottom, ce, Face::computeSize, TrackButton::Create(), DockPos, MyTreeNode< T >::elem, MyTreeNode< T >::Elems(), Control::faceNode, Control::GetLocalPos(), Primitive::GoTo(), Control::onControl, Timer::onTimer, EventOver::out, EventControl::over, ControlEngine::Pop(), StateMouse::pos, ControlEngine::primitive, ControlEngine::Push(), TrackButton::SetMode(), TrackButton::SetResizeAndRotate(), ControlEngine::timerRefresh, top, Point2D< T >::x, Point2D< int >::x, Point2D< GLdouble >::x, Control::XDockLeft(), Control::XDockRight(), Point2D< T >::y, Point2D< int >::y, Point2D< GLdouble >::y, Control::YDockBottom(), and Control::YDockTop().

Referenced by ResizingAndRotateControl().


Member Data Documentation

BOOL ResizingAndRotateControl::canResize
 

Definition at line 58 of file window.h.

BOOL ResizingAndRotateControl::canRotate
 

Definition at line 59 of file window.h.


The documentation for this class was generated from the following files:
Generated on Fri Aug 20 19:21:41 2004 for 3d Controls by doxygen 1.3.6