slider_t Struct Reference | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 |
Definition at line 37 of file windows/adobe/future/widgets/headers/platform_slider.hpp.
| typedef boost::function<void (const model_type&)> setter_type |
Definition at line 38 of file windows/adobe/future/widgets/headers/platform_slider.hpp.
| 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_text Additional help text for the widget when the user pauses over it is_vertical Toggle the vertical orientation of the slider style Denotes style attributes for the slider num_ticks Number of tick marks for the slider format Formatter used to filter values for the slider theme Theme 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 ) |
Definition at line 55 of file windows/adobe/future/widgets/headers/platform_slider.hpp.
| void place | ( | const place_data_t & | place_data ) |
| void place | ( | const place_data_t & | place_data ) |
Member Data Documentation
| std::string alt_text_m |
Definition at line 59 of file windows/adobe/future/widgets/headers/platform_slider.hpp.
| HWND control_m |
Definition at line 58 of file windows/adobe/future/widgets/headers/platform_slider.hpp.
Definition at line 63 of file windows/adobe/future/widgets/headers/platform_slider.hpp.
| bool is_vertical_m |
Definition at line 60 of file windows/adobe/future/widgets/headers/platform_slider.hpp.
| long last_m |
Definition at line 66 of file windows/adobe/future/widgets/headers/platform_slider.hpp.
| std::size_t num_ticks_m |
Definition at line 62 of file windows/adobe/future/widgets/headers/platform_slider.hpp.
Definition at line 61 of file windows/adobe/future/widgets/headers/platform_slider.hpp.
Definition at line 64 of file windows/adobe/future/widgets/headers/platform_slider.hpp.
Definition at line 67 of file windows/adobe/future/widgets/headers/platform_slider.hpp.
Definition at line 65 of file windows/adobe/future/widgets/headers/platform_slider.hpp.

