stlab.adobe.com Adobe Systems Incorporated

slider_t Struct Reference
[Concrete Widget Library (Carbon)]

Slider widget.

#include <platform_slider.hpp>

List of all members.


Public Types

typedef double model_type
typedef long 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)
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 enable (bool make_enabled)
void monitor (const setter_type &proc)
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)

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 double model_type

typedef long model_type

model type for the widget

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

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_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 item  ) 

void display ( const model_type value  ) 

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