#include <window.h>
Inheritance diagram for ResizingAndRotateControl:
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 |
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.
|
Definition at line 159 of file window.cpp. References EventControl::mouse, EventMouse::move, and OnHover(). |
|
Definition at line 165 of file window.cpp. |
|
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(). |
|
|
|
|