#include <MathBox.h>
Inheritance diagram for mgResizeableMathBox:
The resizeable window appears (by default) as a yellow border around the wrapped mgMathBox, with 8 squares which can be dragged by the user to resize the window. The empty border can be used to move the window (typically inside a mgMathWnd which acts as a mgResizeableMathBox container).
You can change the colour of the window using wxWindow::SetBackgroundColor() but remember that the background colour determines also the square's colour; infact the squares are drawn with the wxXOR logical function.
You can change the thickness of the border around the mgMathBox using the SetMinBorder function.
Definition at line 842 of file MathBox.h.
Public Member Functions | |
mgResizeableMathBox (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize) | |
Main constructor. | |
mgResizeableMathBox () | |
Default constructor. | |
mgResizeableMathBox (const mgResizeableMathBox &tocopy) | |
Copy constructor. | |
virtual | ~mgResizeableMathBox () |
Destructor. | |
void | DeepCopy (const mgResizeableMathBox &) |
Copies all the info contained in the given resizeable math box. | |
wxString | GetDebug () |
Returns a string with debug info about this window. | |
virtual wxXml2Node | GetMathML (bool bGetPresentation) |
Returns an XML tree containing the MathML code representing the math data stored in the math box. | |
virtual bool | ImportMathML (wxXml2Node pDoc, wxString *pErr) |
Imports MathML inside this resizeable box. | |
wxWindow * | GetChild () |
Protected Attributes | |
mgMathBox * | m_pMathBox |
The contained math box. |
|
Main constructor. Builds and initialize this window.
Definition at line 1728 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 1742 of file MathBox.cpp. References DeepCopy(), and m_pMathBox. |
[ Top ] |