Pebble Foundation Classes  0.2.0
C++ for Pebble
Pebble::SimpleMenuLayer Class Reference
Inheritance diagram for Pebble::SimpleMenuLayer:
Collaboration diagram for Pebble::SimpleMenuLayer:

Public Member Functions

 SimpleMenuLayer (Window &window, GRect frame, SimpleMenuSection *sections, int num_sections)
 
 SimpleMenuLayer (Window &window, SimpleMenuSection *section, int num_sections)
 
template<std::size_t N>
 SimpleMenuLayer (Window &window, GRect frame, SimpleMenuSection(&section)[N])
 
template<std::size_t N>
 SimpleMenuLayer (Window &window, SimpleMenuSection(&section)[N])
 
virtual ~SimpleMenuLayer ()
 Destroys the underlying SimpleMenuLayer.
 
 operator::SimpleMenuLayer * ()
 Instances of this class can be automatically converted to Pebble SimpleMenuLayers.
 
int GetSelectedIndex () const
 
void SetSelectedIndex (int32_t index, bool animated)
 
- Public Member Functions inherited from Pebble::Layer
 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 Attributes

::SimpleMenuLayermenu_layer_
 
- Protected Attributes inherited from Pebble::Layer
::Layerlayer_
 

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