stlab.adobe.com Adobe Systems Incorporated

Slider widget.

#include <platform_slider.hpp>

List of all members.

Public Types

typedef long model_type
typedef double model_type
typedef boost::function< void(const
model_type &)> 
setter_type
typedef boost::function< void(const
model_type &)> 
setter_type

Public Member Functions

void display (const model_type &item)
void enable (bool make_enabled)
void measure (extents_t &result)
void monitor (const setter_type &proc)
void place (const place_data_t &place_data)
 slider_t (const std::string &alt_text, bool is_vertical, slider_style_t style, std::size_t num_ticks, const value_range_format_t &format, theme_t theme)
 slider_t (const std::string &alt_text, bool is_vertical, slider_style_t style, std::size_t num_ticks, const value_range_format_t &format, theme_t theme)
Placeable Concept Operations

See the Placeable concept and placeable::hpp for more information.

void measure (extents_t &result)
void place (const place_data_t &place_data)
View Concept Operations

See the View concept and view::hpp for more information.

void display (const model_type &value)
Controller Concept Operations

See the Controller concept and controller::hpp for more information.

void monitor (const setter_type &proc)
void enable (bool make_enabled)

Public Attributes

std::string alt_text_m
HWND control_m
value_range_format_t format_m
bool is_vertical_m
long last_m
std::size_t num_ticks_m
slider_style_t style_m
theme_t theme_m
model_type value_m
setter_type value_proc_m

Detailed Description

Definition at line 43 of file macintosh/adobe/future/widgets/headers/platform_slider.hpp.


Member Typedef Documentation

typedef long model_type

model type for the widget

Definition at line 46 of file macintosh/adobe/future/widgets/headers/platform_slider.hpp.

typedef double model_type
typedef boost::function<void (const model_type&)> setter_type
typedef boost::function<void (const model_type&)> setter_type

controller callback proc type for the widget

Definition at line 49 of file macintosh/adobe/future/widgets/headers/platform_slider.hpp.


Constructor & Destructor Documentation

slider_t ( const std::string &  alt_text,
bool  is_vertical,
slider_style_t  style,
std::size_t  num_ticks,
const value_range_format_t format,
theme_t  theme 
)
Parameters:
alt_textAdditional help text for the widget when the user pauses over it
is_verticalToggle the vertical orientation of the slider
styleDenotes style attributes for the slider
num_ticksNumber of tick marks for the slider
formatFormatter used to filter values for the slider
themeTheme for the widget
slider_t ( const std::string &  alt_text,
bool  is_vertical,
slider_style_t  style,
std::size_t  num_ticks,
const value_range_format_t format,
theme_t  theme 
)

Member Function Documentation

void display ( const model_type value )
void display ( const model_type item )
void enable ( bool  make_enabled )
void enable ( bool  make_enabled )
void measure ( extents_t result )
void measure ( extents_t result )
void monitor ( const setter_type proc )
void monitor ( const setter_type proc )
void place ( const place_data_t place_data )
void place ( const place_data_t place_data )

Member Data Documentation

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google