|
|
#include <MathBox.h>
Inheritance diagram for mgResizeableBox:

VERY IMPORTANT:
Definition at line 670 of file MathBox.h.
Public Member Functions | |
| mgResizeableBox (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize) | |
| Main constructor. | |
| mgResizeableBox () | |
| Default constructor. | |
| mgResizeableBox (const mgResizeableBox &tocopy) | |
| Copy constructor. | |
| virtual | ~mgResizeableBox () |
| Destructor. | |
| void | DeepCopy (const mgResizeableBox &) |
| Copies all the info contained in the given resizeable math box. | |
| void | SetMinBorder (int n) |
| Sets the minimum number of pixels which compose the border of this resizeable box. | |
| int | GetBorder () |
| Returns the minimum border always present aroung the contained math box. | |
| virtual wxString | GetDebug () |
| Returns a string containing debug information. | |
| virtual void | OnSize (wxSizeEvent &) |
| virtual void | OnSetFocus (wxFocusEvent &) |
| virtual void | OnKillFocus (wxFocusEvent &) |
| virtual void | OnSetCursor (wxSetCursorEvent &ev) |
| virtual void | OnPaint (wxPaintEvent &ev) |
| virtual void | OnMove (wxMoveEvent &ev) |
| virtual void | OnChildKillFocus (wxCommandEvent &) |
| virtual void | OnChildSetFocus (wxCommandEvent &) |
| virtual void | OnChildResize (wxCommandEvent &) |
'Abstract' functions | |
The quotes around the word 'abstract' mean that these functions are not declared as C++ pure virtual functions: they cannot be used if you are using the DECLARE_DYNAMIC_CLASS wxWidgets macro. | |
| virtual wxWindow * | GetChild () |
Protected Attributes | |
| int | m_nMinBorder |
| The minimum border. | |
|
||||||||||||||||||||
|
Main constructor. Builds and initialize this window.
Definition at line 1481 of file MathBox.cpp. |
|
|
Default constructor. This is required by wxWidgets DECLARE_DYNAMIC_CLASS macro, but you should always use the main constructor form. |
|
|
Copy constructor. Deep copies the given mgMathBox into this object.
Definition at line 1502 of file MathBox.cpp. References DeepCopy(). |
|
|
Returns the minimum border always present aroung the contained math box. That minimum border is where the 8 squares which can be dragged for resizing, are placed. Definition at line 1517 of file MathBox.cpp. References m_nMinBorder. Referenced by SetMinBorder(). |
|
|
Sets the minimum number of pixels which compose the border of this resizeable box. If the user tries to make this window smaller than the minimum border + the contained math box's minimum size, this window will adjust the resize request to the smallest available size. Definition at line 1526 of file MathBox.cpp. References GetBorder(), and m_nMinBorder. |
[ Top ] |