nux-0.9.48
|
#include <Nux/ClientArea.h>
Public Member Functions | |
ClientArea (NUX_FILE_LINE_PROTO) | |
~ClientArea () | |
virtual void | BeginDraw (GraphicsEngine &GfxContext, bool force_draw) |
virtual void | Draw (GraphicsEngine &GfxContext, bool force_draw) |
virtual void | DrawContent (GraphicsEngine &GfxContext, bool force_draw) |
virtual void | PostDraw (GraphicsEngine &GfxContext, bool force_draw) |
virtual long | ProcessEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo) |
virtual void | NeedRedraw () |
Deprecated. Use QueueDraw. | |
void | EnableClientDraw (bool b) |
bool | IsClientDrawEnabled () const |
virtual void | ClientDraw (GraphicsEngine &GfxContext, DrawAreaContext &ctx, bool force_draw) |
virtual void | RecvMouseDown (int x, int y, unsigned long button_flags, unsigned long key_flags) |
virtual void | RecvMouseUp (int x, int y, unsigned long button_flags, unsigned long key_flags) |
virtual void | RecvMouseDrag (int x, int y, int dx, int dy, unsigned long button_flags, unsigned long key_flags) |
virtual void | RecvMouseMove (int x, int y, int dx, int dy, unsigned long button_flags, unsigned long key_flags) |
virtual void | RecvKeyEvent (GraphicsEngine &, unsigned long, unsigned long, unsigned long, const TCHAR *, unsigned short) |
void | SetClientViewport (GraphicsEngine &GfxContext) |
void | Setup2DMode (GraphicsEngine &GfxContext) |
ObjectPtr < IOpenGLFrameBufferObject > & | GetWindowFrameBufferObject () |
Data Fields | |
sigc::signal< void, DrawAreaContext, bool > | sigClientDraw |
ObjectPtr < IOpenGLFrameBufferObject > | m_FrameBufferObject |
nux::ClientArea::ClientArea | ( | NUX_FILE_LINE_PROTO | ) |
nux::ClientArea::~ClientArea | ( | ) |
virtual void nux::ClientArea::BeginDraw | ( | GraphicsEngine & | GfxContext, |
bool | force_draw | ||
) | [virtual] |
virtual void nux::ClientArea::ClientDraw | ( | GraphicsEngine & | GfxContext, |
DrawAreaContext & | ctx, | ||
bool | force_draw | ||
) | [virtual] |
virtual void nux::ClientArea::Draw | ( | GraphicsEngine & | GfxContext, |
bool | force_draw | ||
) | [virtual] |
Implements nux::View.
virtual void nux::ClientArea::DrawContent | ( | GraphicsEngine & | GfxContext, |
bool | force_draw | ||
) | [virtual] |
Reimplemented from nux::View.
void nux::ClientArea::EnableClientDraw | ( | bool | b | ) | [inline] |
ObjectPtr<IOpenGLFrameBufferObject>& nux::ClientArea::GetWindowFrameBufferObject | ( | ) | [inline] |
References m_FrameBufferObject.
bool nux::ClientArea::IsClientDrawEnabled | ( | ) | const [inline] |
virtual void nux::ClientArea::NeedRedraw | ( | ) | [virtual] |
Deprecated. Use QueueDraw.
Reimplemented from nux::View.
virtual void nux::ClientArea::PostDraw | ( | GraphicsEngine & | GfxContext, |
bool | force_draw | ||
) | [virtual] |
Reimplemented from nux::View.
virtual long nux::ClientArea::ProcessEvent | ( | IEvent & | ievent, |
long | TraverseInfo, | ||
long | ProcessEventInfo | ||
) | [virtual] |
Implements nux::View.
virtual void nux::ClientArea::RecvKeyEvent | ( | GraphicsEngine & | , |
unsigned | long, | ||
unsigned | long, | ||
unsigned | long, | ||
const TCHAR * | , | ||
unsigned | short | ||
) | [virtual] |
virtual void nux::ClientArea::RecvMouseDown | ( | int | x, |
int | y, | ||
unsigned long | button_flags, | ||
unsigned long | key_flags | ||
) | [virtual] |
virtual void nux::ClientArea::RecvMouseDrag | ( | int | x, |
int | y, | ||
int | dx, | ||
int | dy, | ||
unsigned long | button_flags, | ||
unsigned long | key_flags | ||
) | [virtual] |
virtual void nux::ClientArea::RecvMouseMove | ( | int | x, |
int | y, | ||
int | dx, | ||
int | dy, | ||
unsigned long | button_flags, | ||
unsigned long | key_flags | ||
) | [virtual] |
virtual void nux::ClientArea::RecvMouseUp | ( | int | x, |
int | y, | ||
unsigned long | button_flags, | ||
unsigned long | key_flags | ||
) | [virtual] |
void nux::ClientArea::SetClientViewport | ( | GraphicsEngine & | GfxContext | ) |
void nux::ClientArea::Setup2DMode | ( | GraphicsEngine & | GfxContext | ) |
Referenced by GetWindowFrameBufferObject().
sigc::signal<void, DrawAreaContext, bool> nux::ClientArea::sigClientDraw |