#include <albaGUITimeBar.h>
albaGUITimeBar is a wxPanel with a set of widget to handle time.
Definition at line 47 of file albaGUITimeBar.h.
◆ albaGUITimeBar()
albaGUITimeBar::albaGUITimeBar |
( |
wxWindow * |
parent, |
|
|
wxWindowID |
id = -1 , |
|
|
bool |
CloseButton = false |
|
) |
| |
◆ ~albaGUITimeBar()
virtual albaGUITimeBar::~albaGUITimeBar |
( |
| ) |
|
|
virtual |
◆ SetListener()
◆ OnEvent()
process the events sent by subjects
Implements albaObserver.
◆ SetBounds()
void albaGUITimeBar::SetBounds |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
Set the time bounds for the time bar.
Time bar manage time expressed in milliseconds.
◆ SetMultiplier()
void albaGUITimeBar::SetMultiplier |
( |
double |
mult = 1000.0 | ) |
|
Set the multiplier for timer.
Default value is to show time data represented in seconds.
◆ SetTimeSettings()
Set the reference to the time setting panel.
◆ SetNumberOfIntervals()
void albaGUITimeBar::SetNumberOfIntervals |
( |
int |
intervals | ) |
|
Set the number of subdivisions for the slider.
◆ OnTimer()
void albaGUITimeBar::OnTimer |
( |
wxTimerEvent & |
event | ) |
|
|
protected |
Update the time and send the TIME_SET event to synchronize all the application.
◆ Update()
void albaGUITimeBar::Update |
( |
| ) |
|
|
protected |
Update the time bar interface.
◆ UpdateTimeStep()
void albaGUITimeBar::UpdateTimeStep |
( |
| ) |
|
|
protected |
Calculate the Time step according to the number of intervals.
◆ m_Time
double albaGUITimeBar::m_Time |
|
protected |
◆ m_TimeMin
double albaGUITimeBar::m_TimeMin |
|
protected |
◆ m_TimeMax
double albaGUITimeBar::m_TimeMax |
|
protected |
◆ m_TimeStep
double albaGUITimeBar::m_TimeStep |
|
protected |
◆ m_TimeStart
double albaGUITimeBar::m_TimeStart |
|
protected |
ALBA time when the play button was pressed.
Definition at line 74 of file albaGUITimeBar.h.
◆ m_NumberOfIntervals
int albaGUITimeBar::m_NumberOfIntervals |
|
protected |
Number of subdivision intervals for the time bar.
Definition at line 76 of file albaGUITimeBar.h.
◆ m_TimeMinString
◆ m_TimeMaxString
◆ m_WorldTimeStart
wxDateTime albaGUITimeBar::m_WorldTimeStart |
|
protected |
World time when the play button was pressed.
Definition at line 81 of file albaGUITimeBar.h.
◆ m_Sizer
wxBoxSizer* albaGUITimeBar::m_Sizer |
|
protected |
◆ m_TimeBarButtons
◆ m_TimeBarEntry
wxTextCtrl* albaGUITimeBar::m_TimeBarEntry |
|
protected |
◆ m_TimeBarSlider
◆ m_Timer
wxTimer albaGUITimeBar::m_Timer |
|
protected |
◆ m_Listener
◆ m_TimeBarSettings
The documentation for this class was generated from the following file: