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

Data Structures

struct  Definition
 A letter of the sidebar. More...
 

Public Types

enum class  Condition { None , Show_mu , ShowLatinLookalikes }
 When a letter is shown.
 

Public Member Functions

 GreekSidebar (wxWindow *parent, Configuration *configuration, wxWindow *worksheet, int ID=wxID_ANY)
 
void UpdateVirtualSize ()
 Re-wrap the buttons and grow the virtual height to fit the wrapped rows.
 

Static Public Member Functions

static const std::vector< Definition > & LowercaseDefinitions ()
 The lowercase letters, whether they are currently shown or not.
 
static const std::vector< Definition > & UppercaseDefinitions ()
 The uppercase letters, whether they are currently shown or not.
 

Protected Member Functions

void UpdateSymbols ()
 
void OnMouseRightDown (wxMouseEvent &event)
 
void OnMenu (wxCommandEvent &event)
 
void OnSize (wxSizeEvent &event)
 

Member Function Documentation

◆ UpdateVirtualSize()

void GreekSidebar::UpdateVirtualSize ( )

Re-wrap the buttons and grow the virtual height to fit the wrapped rows.

Called on every resize; exposed so it can be driven directly (e.g. from a test) without pumping the event loop.


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