A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/glresetdlg_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/widgets/wx/glresetdlg.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

14 #include "wx/cmndata.h" 15 #include "wx/dcclient.h" 38  const

wxPoint& pos = wxDefaultPosition,

39  const

wxSize&

size

= wxDefaultSize,

43  void OnPaint

(wxPaintEvent& event);

54  LOG_POST

(

"CSimpleCanvas::OnPaint()"

);

61

glClearColor(1.0f, 0.0f, 0.0f, 0.0f);

62

glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);

73  wxT

("OpenGL Kicker"),

76

wxFRAME_NO_TASKBAR|wxBORDER_SIMPLE )

89

wxBoxSizer *mainsizer =

new

wxBoxSizer( wxVERTICAL );

90

wxPanel* p =

new

wxPanel(

this

,

wxID_ANY

, wxDefaultPosition, wxDefaultSize);

92

wxBoxSizer *widget_sizer =

new

wxBoxSizer( wxHORIZONTAL );

95

widget_sizer->Add(

m_Canvas

, 0, wxALL|wxEXPAND, 1);

97

p->SetSizerAndFit(widget_sizer);

98

mainsizer->Add(p, 1, wxALL|wxEXPAND, 1);

100

SetSizerAndFit(mainsizer);

CGLCanvas This is the OpenGL widget for our simple dialog.

void OnPaint(wxPaintEvent &event)

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

GlResetDlg Simple OpenGL view used as a utility class to force a context switch on Cocoa.

void x_InitDialog()

Layout all controls owned by this class.

IMPLEMENT_CLASS(CFloatingFrame, CFloatingFrameBaseClass) const static long kFloatFrameStyle

CFloatingFrame.

#define LOG_POST(message)

This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

const struct ncbi::grid::netcache::search::fields::SIZE size


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4