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

MathLine.h File Reference


Detailed Description

Defines the mcMathMng class.

See MathLine.cpp for more info.

Definition in file MathLine.h.

#include <wx/dcmemory.h>
#include "mc/MathMng.h"

Include dependency graph for MathLine.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Bitmap defines

Standard bitmap size at the beginning.

#define mcBMP_STDWIDTH   60
#define mcBMP_STDHEIGHT   60
#define mcBMP_ADDEDWIDTH   30
 When bitmaps become too small, they are resized adding the following value to the previous size; don't set it too big (it would be a waste of memory for small expression) and don't set it too small (it would force mcMathLineHelpers to continuosly destroy and recreate the bitmap).
#define mcBMP_ADDEDHEIGHT   20
#define mcBMP_SPACELEFT   5
 Space added to the bitmap on the left and on the right of the element, both when blitting from the bitmap to a DC, and when drawing on the bitmap; this space is useful for selection rectangles, for example.
#define mcBMP_SPACERIGHT   5

Defines

#define mcMATHLINE_DBG_BITMAP   256
 Adds info about the bitmap used to make double buffer when calling the mcMathLineHelpers::data_GetDebug() function.

Variables

mcMathLine mcEmptyLine


Define Documentation

#define mcBMP_ADDEDHEIGHT   20
 

Definition at line 58 of file MathLine.h.

Referenced by mcMathLineHelpers::gui_ExpandBmp().

#define mcBMP_ADDEDWIDTH   30
 

When bitmaps become too small, they are resized adding the following value to the previous size; don't set it too big (it would be a waste of memory for small expression) and don't set it too small (it would force mcMathLineHelpers to continuosly destroy and recreate the bitmap).

Definition at line 57 of file MathLine.h.

Referenced by mcMathLineHelpers::gui_ExpandBmp().

#define mcBMP_SPACELEFT   5
 

Space added to the bitmap on the left and on the right of the element, both when blitting from the bitmap to a DC, and when drawing on the bitmap; this space is useful for selection rectangles, for example.

In fact, if no space were added, the border of the selection rectangles would often be cut...

Definition at line 64 of file MathLine.h.

Referenced by mcMathLineHelpers::gui_DoRecalcSize(), mcMathLineHelpers::gui_GetRelCursorPos(), mcMathLineHelpers::gui_Init(), mcMathLineHelpers::gui_MoveCursorUsingPoint(), mcMathLineHelpers::gui_OnSelect(), and mcMathLineHelpers::gui_UpdateBmp().

#define mcBMP_SPACERIGHT   5
 

Definition at line 65 of file MathLine.h.

Referenced by mcMathLineHelpers::gui_DoRecalcSize(), and mcMathLineHelpers::gui_Init().

#define mcBMP_STDHEIGHT   60
 

Definition at line 51 of file MathLine.h.

Referenced by mcMathLineHelpers::gui_Init().

#define mcBMP_STDWIDTH   60
 

Definition at line 50 of file MathLine.h.

Referenced by mcMathLineHelpers::gui_Init().

#define mcMATHLINE_DBG_BITMAP   256
 

Adds info about the bitmap used to make double buffer when calling the mcMathLineHelpers::data_GetDebug() function.

Definition at line 73 of file MathLine.h.


Variable Documentation

class mcMathLine mcEmptyLine
 

Referenced by mcMathOrSystemHelpers::gui_GetFocusLine().



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

[ Top ]