|
wxMaxima
|
The view/interaction half of the cell-pointer registry. More...
#include <CellPointers.h>
Public Member Functions | |
| ViewCellPointers (wxScrolledCanvas *worksheet) | |
| void | ScrollToCell (Cell *cell) |
| Cell * | CellToScrollTo () |
| bool | ScrollToCellScheduled () const |
| Is a scroll to CellToScrollTo() currently scheduled? | |
| void | SetScrollToCellScheduled (bool scheduled) |
| Schedule (or cancel) scrolling to CellToScrollTo(). | |
| const CellPtr< EditorCell > & | SearchStart () const |
| The EditorCell an incremental search was started in, or null. | |
| int | IndexSearchStartedAt () const |
| The cursor position an incremental search was started at (-1 = none). | |
| void | SetSearchStart (EditorCell *cell, int index) |
| Record where an incremental search started (its cell and cursor index). Out-of-line: assigning the raw EditorCell* needs the complete type. | |
| void | ResetSearchStart () |
| Forget where the search was started. | |
| const CellPtr< EditorCell > & | MouseSelectionStart () const |
| The EditorCell a mouse selection was started in, or null. | |
| void | SetMouseSelectionStart (EditorCell *cell) |
| Record the EditorCell a mouse selection started in (out-of-line: see above). | |
| void | ResetMouseSelectionStart () |
| Forget where the mouse selection was started. | |
| const CellPtr< EditorCell > & | KeyboardSelectionStart () const |
| The EditorCell a keyboard selection was started in, or null. | |
| void | SetKeyboardSelectionStart (EditorCell *cell) |
| Record the EditorCell a keyboard selection started in (out-of-line: see above). | |
| void | ResetKeyboardSelectionStart () |
| Forget where the keyboard selection was started. | |
| void | SetTimerIdForCell (Cell *cell, int timerId) |
| int | GetTimerIdForCell (Cell *cell) const |
| Cell * | GetCellForTimerId (int timerId) const |
| void | RemoveTimerIdForCell (const Cell *const cell) |
| GroupCell * | GetGroupCellUnderPointer () const |
| The GroupCell currently under the mouse pointer, or null. | |
| void | SetGroupCellUnderPointer (GroupCell *cell) |
| Set the GroupCell under the mouse pointer (may be null). | |
| Cell * | GetCellUnderPointer () const |
| The cell currently under the mouse pointer, or null. | |
| void | SetCellUnderPointer (Cell *cell) |
| Set the cell under the mouse pointer (may be null). | |
| void | ClearCellUnderPointer () |
| Forget which cell was under the mouse pointer. | |
| void | WXMXResetCounter () |
| wxString | WXMXGetNewFileName () |
| std::size_t | WXMXImageCount () const |
| wxScrolledCanvas * | GetWorksheet () |
The view/interaction half of the cell-pointer registry.
These pointers describe transient window state that has nothing to do with the document model: which cell/group cell is under the mouse pointer, where a mouse/keyboard/incremental-search selection was started, which cell we still need to scroll to, and the per-cell animation-timer ids. This half will eventually be owned by the Worksheet window.
Every stored cell pointer is a CellPtr, so it auto-nulls when its cell dies.