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

Public Member Functions

 ScrollLayer (GRect frame)
 
virtual ~ScrollLayer ()
 Destroys the underlying TextLayer.
 
 operator::ScrollLayer * ()
 Instances of this class can be automatically converted to Pebble TextLayers.
 
void AddChild (Layer &child)
 
GPoint GetContentOffset () const
 
GSize GetContentSize () const
 
bool GetShadowHidden () const
 
void SetContentOffset (GPoint offset, bool animated)
 
void SetContentOffset (int offset, bool animated)
 
void SetContentSize (GSize size)
 
void SetContentSize (int height, int width)
 
void SetFrame (GRect frame)
 
void SetFrame (int16_t x, int16_t y, int16_t w, int16_t h)
 
void SetFrame (GPoint origin, GSize size)
 
void SetShadowHidden (bool hidden)
 
void SetClickConfigOntoWindow (Window &owner_window)
 
void SetCallbacks (Window &owner_window, ScrollLayerCallbacks callbacks)
 
void SetCallbacks (Window &owner_window, ::ClickConfigProvider click_config_provider, ::ScrollLayerCallback content_offset_changed_handler)
 
void SetCallbacks (Window &owner_window, ::ScrollLayerCallback content_offset_changed_handler)
 
void SetCallbacks (Window &owner_window, ::ClickConfigProvider click_config_provider)
 
- 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

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

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