Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

mgCapitalGreekPanel Class Reference

#include <GreekDlg.h>

Inheritance diagram for mgCapitalGreekPanel:

mgButtonListPanel mgMathBoxWndUser List of all members.

Detailed Description

A panel containing the greek symbols in capital case.

Definition at line 131 of file GreekDlg.h.

Public Member Functions

 mgCapitalGreekPanel (wxWindow *parent, wxWindow *client, mgMathWnd *mathwnd, mgMathBox *mathbox, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
 Constructs this dialog.

Protected Member Functions

void OnButtons (wxCommandEvent &event)
 The event handler for the mgGreekPanel buttons.
virtual wxString GetButtonLabel (int i)
 Returns the label of the n-th button.
virtual wxString GetButtonTooltip (int i)
 Returns the tooltip for the n-th button.

Static Private Attributes

static wxString strCapitalAlphabet
 The greek alphabet in small and in capital letters.


Constructor & Destructor Documentation

mgCapitalGreekPanel::mgCapitalGreekPanel wxWindow *  parent,
wxWindow *  client,
mgMathWnd mathwnd,
mgMathBox mathbox,
wxWindowID  id = -1,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER
 

Constructs this dialog.

This function works as the standard wxWindow constructors, with just two new parameters:

Parameters:
mathwnd The math window whose selected mathbox receives the commands.
mathbox The math box which receives the 'create greek symbol' commands.

Definition at line 143 of file GreekDlg.cpp.

References mgButtonListPanel::AddButtonsToSizer(), mgButtonListPanel::BuildPanel(), mgButtonListPanel::BuildSizer(), GREEKDLG_BUTTON_MINWIDTH, GREEKDLG_FONT_POINTSIZE, GREEKDLG_GRID_COLUMNS, and strCapitalAlphabet.


Member Data Documentation

wxString mgCapitalGreekPanel::strCapitalAlphabet [static, private]
 

Initial value:

 
   wxT("\x0391\x0392\x0393\x0394\x0395\x0396\x0397\x0398\x0399\x039A\x039B\x039C\x039D\x039E\x039F")  
   wxT("\x03A0\x03A1\x03A3\x03A4\x03A5\x03A6\x03A7\x03A8\x03A9")
The greek alphabet in small and in capital letters.

Definition at line 91 of file GreekDlg.cpp.

Referenced by GetButtonLabel(), mgCapitalGreekPanel(), and OnButtons().


The documentation for this class was generated from the following files:

Documentation generated with Doxygen on Sun Feb 6 17:19:27 2005
Visit MathStudio home page for more info

[ Top ]