See ExpElement.cpp for more info.
Definition in file ExpElement.h.
#include "mc/Element.h"
#include "mc/Polynomial.h"
#include "mc/Text.h"
Include dependency graph for ExpElement.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Exponent/subscript choosers | |
Some very useful routines used to choose between the exponent/subscript version of a mcExpElement function. | |
int | mcEP_HAS (bool exp) |
mcExpElemCursorLocation | mcECL_BEGIN (bool exp) |
mcExpElemCursorLocation | mcECL_INSIDE (bool exp) |
mcExpElemCursorLocation | mcECL_END (bool exp) |
mcKey * | mcGetEditKey (bool exp) |
int | mcNotInside (bool exp) |
Defines | |
#define | mcECL_NOTINSIDEEXPONENT 0x77777777 |
If you try to use a EXPONENT function which manipulates the cursor when the cursor is not inside the exponent, this will be the return value of that function ! | |
#define | mcECL_NOTINSIDESUBSCRIPT 0x88888888 |
Same as mcECL_NOTINSIDEEXP, just for the subscript. | |
Enumerations | |
enum | mcExpElemCursorLocation { mcECL_EXPONENTBEGIN, mcECL_INSIDEEXPONENT, mcECL_EXPONENTEND, mcECL_SUBSCRIPTBEGIN, mcECL_INSIDESUBSCRIPT, mcECL_SUBSCRIPTEND, mcECL_INSIDEBASE } |
Cursor position values handled by mcExpElement Some of the possible values of mgui_nCursorPos variable (derived classes must use different values to indicate different positions). More... |
|
If you try to use a EXPONENT function which manipulates the cursor when the cursor is not inside the exponent, this will be the return value of that function !
Definition at line 118 of file ExpElement.h. Referenced by mcNotInside(). |
|
Same as mcECL_NOTINSIDEEXP, just for the subscript.
Definition at line 121 of file ExpElement.h. Referenced by mcNotInside(). |
|
Cursor position values handled by mcExpElement Some of the possible values of mgui_nCursorPos variable (derived classes must use different values to indicate different positions).
Definition at line 55 of file ExpElement.h. |
|
|
|
|
|
Definition at line 142 of file ExpElement.h. Referenced by mcExpElementHelpers::gui_ExpSubInput(), and mcExpElementHelpers::gui_isExpSubEndKey(). |
|
Definition at line 146 of file ExpElement.h. References mcECL_NOTINSIDEEXPONENT, and mcECL_NOTINSIDESUBSCRIPT. Referenced by mcExpElementHelpers::gui_ExpSubMoveCursorUsingPoint(), and mcExpElementHelpers::gui_GetExpSubRelCursorPos(). |
[ Top ] |