![]() |
Running Manager
1.7
API for Running Manager (https://github.com/HWiman-ICONIC/running-manager)
|
Grid which can change order of columns. More...
#include <WeekDay.h>
Public Member Functions | |
DragGrid (wxWindow *parent, wxWindowID id, wxButton *createButton) | |
Constructor. More... | |
void | OnColumnMoved (wxGridEvent &e) |
Handle a column darg event. More... | |
wxArrayInt | GetColumnOrder () |
Return the current order of the columns. More... | |
void | SetColumnOrder (wxArrayInt order) |
Set current order of columns. More... | |
void | OnPaint (wxPaintEvent &e) |
Refresh this panel. More... | |
Protected Attributes | |
bool | isColumnOrderChanged |
wxButton * | createButton |
Grid which can change order of columns.
USe to change which week days long runs, intervals etc are on.
DragGrid::DragGrid | ( | wxWindow * | parent, |
wxWindowID | id, | ||
wxButton * | createButton | ||
) |
Constructor.
parent | Parent |
id | Window ID |
createButton | Button for updating according to current drag state |
wxArrayInt DragGrid::GetColumnOrder | ( | ) |
Return the current order of the columns.
void DragGrid::OnColumnMoved | ( | wxGridEvent & | e | ) |
Handle a column darg event.
e |
void DragGrid::OnPaint | ( | wxPaintEvent & | e | ) |
Refresh this panel.
e | event |
void DragGrid::SetColumnOrder | ( | wxArrayInt | order | ) |
Set current order of columns.
order | current order of columns |
|
protected |
|
protected |