Displays the time. More...
#include <ControlPanel.h>
Public Member Functions | |
Clock () | |
~Clock () | |
void | newOpenGLContextCreated () |
void | renderOpenGL () |
void | start () |
void | stop () |
void | startRecording () |
void | stopRecording () |
void | resetRecordTime () |
![]() | |
OpenGLCanvas () | |
~OpenGLCanvas () | |
void | setUp2DCanvas () |
void | activateAntiAliasing () |
virtual void | refreshState () |
void | resized () |
virtual void | canvasWasResized () |
void | mouseDown (const MouseEvent &e) |
void | mouseDrag (const MouseEvent &e) |
void | mouseMove (const MouseEvent &e) |
void | mouseUp (const MouseEvent &e) |
void | mouseWheelMove (const MouseEvent &, float, float) |
virtual void | mouseDownInCanvas (const MouseEvent &e) |
virtual void | mouseDragInCanvas (const MouseEvent &e) |
virtual void | mouseMoveInCanvas (const MouseEvent &e) |
virtual void | mouseUpInCanvas (const MouseEvent &e) |
virtual void | mouseWheelMoveInCanvas (const MouseEvent &, float, float) |
void | startCallbacks () |
void | stopCallbacks () |
int | getScrollAmount () |
int | getScrollBarWidth () |
void | drawScrollBars () |
void | drawRoundedRect (float x, float y, float w, float h, float r, int n) |
FTGLPixmapFont * | getFont (int fontCode) |
virtual int | getHeaderHeight () |
virtual int | getFooterHeight () |
void | setClearColor (int colorCode) |
Additional Inherited Members | |
![]() | |
enum | colorCodes { white, black, lightgrey, darkgrey } |
enum | fontCodes { miso_regular = 0, miso_bold = 1, miso_light = 2, bebas_neue = 3, ostrich = 4, cpmono_extra_light = 5, cpmono_light = 6, cpmono_plain = 7, cpmono_bold = 8, nordic = 9, silkscreen = 10 } |
![]() | |
virtual int | getTotalHeight () |
void | showScrollBars () |
![]() | |
int | scrollPix |
bool | animationIsActive |
int | refreshMs |
Displays the time.
Clock::Clock | ( | ) |
Clock::~Clock | ( | ) |
void Clock::newOpenGLContextCreated | ( | ) |
void Clock::renderOpenGL | ( | ) |
void Clock::start | ( | ) |
void Clock::stop | ( | ) |
void Clock::startRecording | ( | ) |
void Clock::stopRecording | ( | ) |
void Clock::resetRecordTime | ( | ) |