The vlWXGLCanvas class implements a vl::OpenGLContext using the wxWidgets library.
More...
#include <vlWXGLCanvas.hpp>
List of all members.
Public Member Functions |
| | vlWXGLCanvas (wxWindow *parent, const wxGLContext *shared, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, int *attribList=0, const wxString &name=wxT("vlWXGLCanvas"), const wxPalette &palette=wxNullPalette) |
| | ~vlWXGLCanvas () |
| void | OnPaint (wxPaintEvent &ev) |
| void | OnSize (wxSizeEvent &ev) |
| void | OnEraseBackground (wxEraseEvent &ev) |
| void | OnKeyDown (wxKeyEvent &ev) |
| void | OnKeyUp (wxKeyEvent &ev) |
| void | OnMouseMotion (wxMouseEvent &ev) |
| void | OnMouseDown (wxMouseEvent &ev) |
| void | OnMouseUp (wxMouseEvent &ev) |
| void | OnMouseWheel (wxMouseEvent &ev) |
| void | OnMouseEnter (wxMouseEvent &ev) |
| void | OnIdle (wxIdleEvent &ev) |
| void | OnDropFiles (wxDropFilesEvent &ev) |
| bool | setFullscreen (bool fullscreen) |
| void | quitApplication () |
| | Asks to the windowing system that is managing the OpenGLContext to quit the application.
|
| void | makeCurrent () |
| void | swapBuffers () |
| void | getFocus () |
| void | setMousePosition (int x, int y) |
| void | update () |
| void | setWindowTitle (const vl::String &text) |
| void | show () |
| void | hide () |
| void | setPosition (int x, int y) |
| void | setSize (int w, int h) |
| vl::ivec2 | position () const |
| void | setMouseVisible (bool visible) |
Detailed Description
The vlWXGLCanvas class implements a vl::OpenGLContext using the wxWidgets library.
Constructor & Destructor Documentation
| vlWXGLCanvas::vlWXGLCanvas |
( |
wxWindow * |
parent, |
|
|
const wxGLContext * |
shared, |
|
|
wxWindowID |
id = wxID_ANY, |
|
|
const wxPoint & |
pos = wxDefaultPosition, |
|
|
const wxSize & |
size = wxDefaultSize, |
|
|
long |
style = 0, |
|
|
int * |
attribList = 0, |
|
|
const wxString & |
name = wxT("vlWXGLCanvas"), |
|
|
const wxPalette & |
palette = wxNullPalette |
|
) |
| |
| vlWX::vlWXGLCanvas::~vlWXGLCanvas |
( |
) |
[inline] |
Member Function Documentation
| void vlWXGLCanvas::OnPaint |
( |
wxPaintEvent & |
ev ) |
|
| void vlWXGLCanvas::OnSize |
( |
wxSizeEvent & |
ev ) |
|
| void vlWXGLCanvas::OnEraseBackground |
( |
wxEraseEvent & |
ev ) |
|
| void vlWXGLCanvas::OnKeyDown |
( |
wxKeyEvent & |
ev ) |
|
| void vlWXGLCanvas::OnKeyUp |
( |
wxKeyEvent & |
ev ) |
|
| void vlWXGLCanvas::OnMouseMotion |
( |
wxMouseEvent & |
ev ) |
|
| void vlWXGLCanvas::OnMouseDown |
( |
wxMouseEvent & |
ev ) |
|
| void vlWXGLCanvas::OnMouseUp |
( |
wxMouseEvent & |
ev ) |
|
| void vlWXGLCanvas::OnMouseWheel |
( |
wxMouseEvent & |
ev ) |
|
| void vlWX::vlWXGLCanvas::OnMouseEnter |
( |
wxMouseEvent & |
ev ) |
|
| void vlWXGLCanvas::OnIdle |
( |
wxIdleEvent & |
ev ) |
|
| void vlWXGLCanvas::OnDropFiles |
( |
wxDropFilesEvent & |
ev ) |
|
| bool vlWXGLCanvas::setFullscreen |
( |
bool |
fullscreen ) |
[virtual] |
| void vlWXGLCanvas::quitApplication |
( |
) |
[virtual] |
Asks to the windowing system that is managing the OpenGLContext to quit the application.
Reimplemented from vl::OpenGLContext.
| void vlWXGLCanvas::makeCurrent |
( |
) |
[virtual] |
| void vlWXGLCanvas::swapBuffers |
( |
) |
[virtual] |
| void vlWXGLCanvas::getFocus |
( |
) |
[virtual] |
| void vlWXGLCanvas::setMousePosition |
( |
int |
x, |
|
|
int |
y |
|
) |
| [virtual] |
| void vlWXGLCanvas::update |
( |
) |
[virtual] |
| void vlWXGLCanvas::setWindowTitle |
( |
const vl::String & |
text ) |
[virtual] |
| void vlWXGLCanvas::show |
( |
) |
[virtual] |
| void vlWXGLCanvas::hide |
( |
) |
[virtual] |
| void vlWXGLCanvas::setPosition |
( |
int |
x, |
|
|
int |
y |
|
) |
| [virtual] |
| void vlWXGLCanvas::setSize |
( |
int |
w, |
|
|
int |
h |
|
) |
| [virtual] |
| ivec2 vlWXGLCanvas::position |
( |
) |
const [virtual] |
| void vlWXGLCanvas::setMouseVisible |
( |
bool |
visible ) |
[virtual] |
The documentation for this class was generated from the following files: