Pebble Foundation Classes
0.2.0
C++ for Pebble
|
Public Member Functions | |
NumberWindow (const char *label) | |
virtual | ~NumberWindow () |
Destroys the underlying Pebble window. | |
operator::NumberWindow * () | |
int32_t | GetValue () const |
void | SetValue (int32_t value) |
void | SetLabel (const char *label) |
void | SetMin (int32_t min) |
void | SetMax (int32_t max) |
void | SetStepSize (int32_t step) |
![]() | |
Window (::Window *window) | |
virtual | ~Window () |
Window destructor | |
operator::Window * () | |
Instances of this class can be automatically converted to Pebble window pointers. | |
void | StackPush (bool animated) |
bool | StackContainsWindow () const |
bool | WindowIsTop () |
bool | StackRemove (bool animated) |
bool | IsLoaded () const |
inline ::ClickConfigProvider | GetClickConfigProvider () const |
Gets the current click configuration provider of the window. | |
void | SetBackgroundColor (GColor background_color) |
![]() | |
Layer (::Layer *layer) | |
Wraps an existing TextLayer. | |
operator::Layer * () | |
Instances of this class can be automatically converted to Pebble Layers. | |
operator const ::Layer * () const | |
void | MarkDirty () |
void | SetFrame (GRect frame) |
void | SetFrame (int16_t x, int16_t y, int16_t w, int16_t h) |
void | SetFrame (GPoint origin, GSize size) |
GRect | GetFrame () |
void | SetBounds (GRect bounds) |
GRect | GetBounds () |
void | RemoveFromParent () |
void | RemoveChildLayers () |
void | AddChild (Layer &child) |
void | InsertBelowSibling (Layer &below_sibling_layer) |
void | InsertAboveSibling (Layer &above_sibling_layer) |
void | SetHidden (bool hidden) |
bool | GetHidden () |
void | SetClips (bool clips) |
bool | GetClips () |
Protected Member Functions | |
virtual void | OnIncremented () |
virtual void | OnDecremented () |
virtual void | OnSelected () |
Additional Inherited Members | |
![]() | |
::Window * | window_ |
![]() | |
::Layer * | layer_ |
|
inline |
Constructs a new Window and initalizes it with the default values. This constructor also sets up all the window events.