stlab.adobe.com Adobe Systems Incorporated

control_button_t Struct Reference

#include <control_button.hpp>

List of all members.

Public Types

typedef boost::function
< any_regular_t(const array_t
&expression)> 
expression_eval_proc
typedef any_regular_t model_type
typedef boost::function< void(const
model_type &)> 
setter_proc_type

Public Member Functions

 control_button_t (const std::string &name, const std::string &alt_text, const expression_eval_proc &eval_proc, const array_t &expression, theme_t theme)
Placeable Concept Operations

See the Placeable concept and placeable_concept.hpp for more information.

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

See the Controller concept and controller_concept.hpp for more information.

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

Public Attributes

adobe::auto_ptr< button_tbutton_m

Detailed Description

Definition at line 23 of file control_button.hpp.


Member Typedef Documentation

typedef boost::function<any_regular_t (const array_t& expression)> expression_eval_proc

Definition at line 27 of file control_button.hpp.

Definition at line 25 of file control_button.hpp.

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

Definition at line 26 of file control_button.hpp.


Constructor & Destructor Documentation

control_button_t ( const std::string &  name,
const std::string &  alt_text,
const expression_eval_proc eval_proc,
const array_t expression,
theme_t  theme 
)

Member Function Documentation

void enable ( bool  make_enabled )
void measure ( extents_t result )
void monitor ( const setter_proc_type proc )
void place ( const place_data_t place_data )

Member Data Documentation

Definition at line 61 of file control_button.hpp.

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