NCBI C++ ToolKit
Public Member Functions | Private Member Functions | List of all members
CSimpleCanvas Class Reference

Search Toolkit Book for CSimpleCanvas

CGLCanvas This is the OpenGL widget for our simple dialog. More...

+ Inheritance diagram for CSimpleCanvas:
+ Collaboration diagram for CSimpleCanvas:

Public Member Functions

 CSimpleCanvas (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0)
 
void OnPaint (wxPaintEvent &event)
 
- Public Member Functions inherited from CGLCanvas
 CGLCanvas (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0)
 
virtual ~CGLCanvas ()
 
void OnPaint (wxPaintEvent &event)
 
void DoNotUpdate ()
 
void SetClearColor (float r, float g, float b, float a)
 

Private Member Functions

 DECLARE_EVENT_TABLE ()
 

Additional Inherited Members

- Protected Member Functions inherited from CGLCanvas
void x_SetupGLContext ()
 
void x_CheckGlVersion ()
 
virtual void x_Render ()
 
const wxGLAttributes & x_GetAttribList () const
 Not having all programs share the same window attributes has caused crashing on Linux, so each window will use these attributes (this should be the superset of attributes needed by program windows). More...
 
- Protected Attributes inherited from CGLCanvas
bool m_DoNotUpdate
 
float m_ClearColor [4]
 

Detailed Description

CGLCanvas This is the OpenGL widget for our simple dialog.

Definition at line 32 of file glresetdlg.cpp.

Constructor & Destructor Documentation

◆ CSimpleCanvas()

CSimpleCanvas::CSimpleCanvas ( wxWindow *  parent,
wxWindowID  id,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = 0 
)
inline

Definition at line 37 of file glresetdlg.cpp.

Member Function Documentation

◆ DECLARE_EVENT_TABLE()

CSimpleCanvas::DECLARE_EVENT_TABLE ( )
private

◆ OnPaint()

void CSimpleCanvas::OnPaint ( wxPaintEvent &  event)

Definition at line 52 of file glresetdlg.cpp.

References LOG_POST.


The documentation for this class was generated from the following file:
Modified on Thu Apr 25 08:22:08 2024 by modify_doxy.py rev. 669887