wxMaxima
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions
DrawSidebar Class Reference

The class for the sidebar with the draw commands. More...

#include <DrawSidebar.h>

Inheritance diagram for DrawSidebar:
[legend]
Collaboration diagram for DrawSidebar:
[legend]

Public Member Functions

 DrawSidebar (wxWindow *parent, int id=wxID_ANY)
 
void SetDimensions (int dimensions)
 Tell the sidebar if we currently are inside a 2D or a 3D plot command.
 
int GetDimensions () const
 

Protected Member Functions

void OnSize (wxSizeEvent &event)
 

Detailed Description

The class for the sidebar with the draw commands.

Member Function Documentation

◆ SetDimensions()

void DrawSidebar::SetDimensions ( int  dimensions)

Tell the sidebar if we currently are inside a 2D or a 3D plot command.

Parameters
dimensions
  • 0 = We aren't inside a plot
  • 2 = We are inside a 2D plot
  • 3 = We are inside a 3D plot

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