27 #ifndef _Win32CEGuiRendererSelector_h_
28 #define _Win32CEGuiRendererSelector_h_
30 #if defined( __WIN32__ ) || defined( _WIN32 )
31 # define WIN32_LEAN_AND_MEAN
35 #include "CEGuiRendererSelector.h"
75 bool addComboboxOption(HWND combo,
const char* name, CEGuiRendererType rendererType);
91 static INT_PTR CALLBACK
dialogProcedure(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
127 LPDLGTEMPLATE d_template;
130 #endif // end of guard _Win32CEGuiRendererSelector_h_
Base class for the renderer selection dialog class.
Definition: CEGuiRendererSelector.h:57
bool addComboboxOption(HWND combo, const char *name, CEGuiRendererType rendererType)
Helper method to add entries for renderers to the Combobox and pre-select the first item entered...
Definition: Win32CEGuiRendererSelector.cpp:344
static int copyAnsiToWideChar(LPBYTE outBuff, LPCTSTR ansiString)
Converts the Ansi string in 'pAnsiIn' into wide characters and copies the result into the WORD array ...
Definition: Win32CEGuiRendererSelector.cpp:462
virtual ~Win32CEGuiRendererSelector()
Destructor.
Definition: Win32CEGuiRendererSelector.cpp:42
static LPDLGTEMPLATE createDialogTemplate()
Create a Win32 dialog template for the requester.
Definition: Win32CEGuiRendererSelector.cpp:90
Win32CEGuiRendererSelector()
Constructor.
Definition: Win32CEGuiRendererSelector.cpp:34
Class representing a modal renderer selection dialog under Win32.
Definition: Win32CEGuiRendererSelector.h:42
static INT_PTR CALLBACK dialogProcedure(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Win32 dialog procedure function.
Definition: Win32CEGuiRendererSelector.cpp:365
virtual bool invokeDialog()
Displays a dialog allowing the user to select a renderer to be used.
Definition: Win32CEGuiRendererSelector.cpp:54
static LPBYTE alignPointer(LPBYTE buff)
Take an input pointer, return closest pointer that is aligned on a DWORD (4 byte) boundary...
Definition: Win32CEGuiRendererSelector.cpp:448