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

mgSmallGreekPanel Class Reference

#include <GreekDlg.h>

Inheritance diagram for mgSmallGreekPanel:

mgButtonListPanel mgMathBoxWndUser List of all members.

Detailed Description

A panel containing the greek symbols in small case.

Definition at line 80 of file GreekDlg.h.

Public Member Functions

 mgSmallGreekPanel (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 strSmallAlphabet
 The greek alphabet in small and in capital letters.
static wxString strLetterNames [GREEKDLG_ALPHABET_LENGHT]
 The names of the greek letters of the alphabet: alfa, beta, gamma...

Friends

class mgCapitalGreekPanel


Constructor & Destructor Documentation

mgSmallGreekPanel::mgSmallGreekPanel 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 107 of file GreekDlg.cpp.

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


Member Data Documentation

wxString mgSmallGreekPanel::strLetterNames [static, private]
 

Initial value:

 { wxT("Alfa"), wxT("Beta"), wxT("Gamma"), wxT("Delta"),
   wxT("Epsilon"), wxT("Zeta"), wxT("Eta"), wxT("Teta"), wxT("Iota"), wxT("Cappa"), wxT("Lambda"), wxT("Mi"), wxT("Ni"), 
   wxT("Xi"), wxT("Omicron"), wxT("Pi"), wxT("Ro"), wxT("Sigma"), wxT("Tau"), wxT("Ipsilon"), wxT("Fi"), wxT("Chi"),
   wxT("Psi"), wxT("Omega") }
The names of the greek letters of the alphabet: alfa, beta, gamma...

They are used for the tooltips.

Definition at line 95 of file GreekDlg.cpp.

Referenced by GetButtonTooltip().

IDC_GREEKDLG_CAPITALBUTTONS mgCapitalGreekPanel::OnButtons wxString mgSmallGreekPanel::strSmallAlphabet [static, private]
 

Initial value:

 
   wxT("\x03B1\x03B2\x03B3\x03B4\x03B5\x03B6\x03B7\x03B8\x03B9\x03BA\x03BB\x03BC\x03BD\x03BE\x03BF")  
   wxT("\x03C0\x03C1\x03C3\x03C4\x03C5\x03C6\x03C7\x03C8\x03C9")
The greek alphabet in small and in capital letters.

Definition at line 88 of file GreekDlg.cpp.

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


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

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

[ Top ]