wxMaxima
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Data Fields | Protected Member Functions
ToolBar Class Reference
Inheritance diagram for ToolBar:
[legend]
Collaboration diagram for ToolBar:
[legend]

Public Types

enum  AnimationStartStopState { Running , Stopped , Inactive }
 All states the "start/stop animation" toolbar button can be in. More...
 
enum  popupitems {
  undo_redo , copy_paste , open_save , print ,
  options , shownew , search , help ,
  selectAll
}
 
enum  Event {
  plot_slider_id = 5500 , tb_interrupt , tb_follow , tb_eval ,
  tb_eval_all , tb_evaltillhere , tb_evaluate_rest , tb_animation_startStop ,
  tb_animation_start , tb_animation_stop , tb_hideCode , tb_changeStyle ,
  menu_restart_id
}
 A list of all events the Toolbar can receive.
 

Public Member Functions

 ToolBar (wxWindow *parent)
 
void ShowUserInputBitmap ()
 Show that user input is needed for maxima to continue.
 
void ShowFollowBitmap ()
 Stop showing that user input is needed for maxima to continue.
 
void AnimationButtonState (AnimationStartStopState state)
 
void CanUndo (bool value)
 
void CanRedo (bool value)
 
void CanCopy (bool value)
 
void CanCut (bool value)
 
void CanSave (bool value)
 
void CanPrint (bool value)
 
void CanEvalTillHere (bool value)
 
void CanEvalThisCell (bool value)
 
void WorksheetEmpty (bool value)
 
void UpdateSlider (AnimationCell *cell)
 Updates the slider to match the Slide Show cell.
 
int GetIdealHeight ()
 
void AddTools ()
 Remove all ools and then add all tools that are requested/fit in the toolbar/...
 
GroupType GetCellType ()
 Get the cell style for new cells.
 
void SetCellStyle (GroupType style)
 Set the cell style to show for the current cell.
 
void UnsetCellStyle ()
 Called if there is no cell to show the style for.
 
void SetDefaultCellStyle (GroupType style)
 Set the default cell style for new cells.
 
void SetDefaultCellStyle ()
 The current style is the new style for new cells.
 
void UpdateBitmaps ()
 Update the bitmaps on ppi changes.
 
wxBitmap GetCopyBitmap (wxSize siz)
 
wxBitmap GetPasteBitmap (wxSize siz)
 
wxBitmap GetEvalAllBitmap (wxSize siz)
 
wxBitmap GetEvalBitmap (wxSize siz)
 
wxBitmap GetNewBitmap (wxSize siz)
 
wxBitmap GetOpenBitmap (wxSize siz)
 
wxBitmap GetSaveBitmap (wxSize siz)
 
wxBitmap GetPrintBitmap (wxSize siz)
 
wxBitmap GetPreferencesBitmap (wxSize siz)
 
wxBitmap GetCutBitmap (wxSize siz)
 
wxBitmap GetUndoBitmap (wxSize siz)
 
wxBitmap GetRedoBitmap (wxSize siz)
 
wxBitmap GetSelectAllBitmap (wxSize siz)
 
wxBitmap GetFindBitmap (wxSize siz)
 
wxBitmap GetRestartBitmap (wxSize siz)
 
wxBitmap GetInterruptBitmap (wxSize siz)
 
wxBitmap GetEvalTillHereBitmap (wxSize siz)
 
wxBitmap GetHelpBitmap (wxSize siz)
 
wxBitmap GetEvalRestBitmap (wxSize siz)
 
wxBitmap GetHideCodeBitmap (wxSize siz)
 
wxSize GetOptimalBitmapSize ()
 
wxSize GetPPI ()
 
bool ShowUndoRedo ()
 
void ShowUndoRedo (bool show)
 
bool ShowCopyPaste ()
 
void ShowCopyPaste (bool show)
 
bool ShowOpenSave ()
 
void ShowOpenSave (bool show)
 
bool ShowNew ()
 
void ShowNew (bool show)
 
bool ShowSearch ()
 
void ShowSearch (bool show)
 
bool ShowHelp ()
 
void ShowHelp (bool show)
 
bool ShowPrint ()
 
void ShowPrint (bool show)
 
bool ShowOptions ()
 
void ShowOptions (bool show)
 
bool ShowSelectAll ()
 
void ShowSelectAll (bool show)
 

Data Fields

wxSlider * m_plotSlider = NULL
 The slider for animations.
 
wxBitmap m_undoIcon
 
wxBitmap m_redoIcon
 
wxBitmap m_followIcon
 
wxBitmap m_needsInformationIcon
 
wxBitmap m_PlayButton
 
wxBitmap m_StopButton
 

Protected Member Functions

void OnSize (wxSizeEvent &event)
 
void OnMouseRightDown (wxMouseEvent &event)
 
void OnMenu (wxMenuEvent &event)
 

Member Enumeration Documentation

◆ AnimationStartStopState

All states the "start/stop animation" toolbar button can be in.

Enumerator
Running 

The animation is running.

Stopped 

The animation is stopped.

Inactive 

No animation is currently running.


The documentation for this class was generated from the following files: