popup_t Struct ReferencePopup widget.
More...
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Types | |
| typedef popup_extended_setter_type | extended_setter_type |
| typedef popup_extended_setter_type | extended_setter_type |
| typedef std::vector< menu_item_t > | menu_item_set_t |
| typedef std::pair< std::string, any_regular_t > | menu_item_t |
| typedef any_regular_t | model_type |
| typedef any_regular_t | model_type |
| typedef popup_setter_type | setter_type |
| typedef popup_setter_type | setter_type |
Public Member Functions | |
| void | display (const any_regular_t &item) |
| void | enable (bool make_enabled) |
| void | measure (extents_t &result) |
| void | monitor (const setter_type &proc) |
| void | monitor_extended (const extended_setter_type &proc) |
| void | monitor_extended (const extended_setter_type &extended_proc) |
| void | place (const place_data_t &place_data) |
| popup_t (const std::string &name, const std::string &alt_text, const std::string &custom_item_name, const menu_item_t *first, const menu_item_t *last, theme_t theme) | |
| popup_t (const std::string &name, const std::string &alt_text, const std::string &custom_item_name, const menu_item_t *first, const menu_item_t *last, theme_t theme) | |
| void | reset_menu_item_set (const menu_item_set_t &menu_item_set) |
| void | reset_menu_item_set (const menu_item_t *first, const menu_item_t *last) |
| void | reset_menu_item_set (const menu_item_set_t &menu_item_set) |
| void | reset_menu_item_set (const menu_item_t *first, const menu_item_t *last) |
| void | select_with_text (const std::string &text) |
| void | select_with_text (const std::string &text) |
View Concept Operations | |
| void | display (const any_regular_t &value) |
Controller Concept Operations | |
| void | enable (bool make_enabled) |
| void | monitor (const setter_type &proc) |
Placeable Concept Operations | |
| void | measure (extents_t &result) |
| void | place (const place_data_t &place_data) |
Public Attributes | |
| std::string | alt_text_m |
| HWND | control_m |
| std::string | custom_item_name_m |
| bool | custom_m |
| extended_setter_type | extended_value_proc_m |
| model_type | last_m |
| menu_item_set_t | menu_items_m |
| label_t | name_m |
| long | popup_baseline_m |
| long | popup_height_m |
| long | static_baseline_m |
| long | static_height_m |
| theme_t | theme_m |
| bool | type_2_debounce_m |
| bool | using_label_m |
| setter_type | value_proc_m |
Detailed Description
- Model Of:
Definition at line 99 of file macintosh/adobe/future/widgets/headers/platform_popup.hpp.
Member Typedef Documentation
Definition at line 36 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
Definition at line 106 of file macintosh/adobe/future/widgets/headers/platform_popup.hpp.
| typedef std::vector<menu_item_t> menu_item_set_t |
Definition at line 32 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
| typedef std::pair<std::string, any_regular_t> menu_item_t |
Definition at line 31 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
| typedef any_regular_t model_type |
Definition at line 34 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
| typedef any_regular_t model_type |
model type for this widget
Definition at line 102 of file macintosh/adobe/future/widgets/headers/platform_popup.hpp.
| typedef popup_setter_type setter_type |
Definition at line 35 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
| typedef popup_setter_type setter_type |
controller callback proc type for this widget
Definition at line 105 of file macintosh/adobe/future/widgets/headers/platform_popup.hpp.
Constructor & Destructor Documentation
| popup_t | ( | const std::string & | name, | |
| const std::string & | alt_text, | |||
| const std::string & | custom_item_name, | |||
| const menu_item_t * | first, | |||
| const menu_item_t * | last, | |||
| theme_t | theme | |||
| ) |
- Parameters:
-
name Name of the widget alt_text Additional help text for the widget when the user pauses over it custom_item_name Name to be used for when no item in the cell matches a popup item first The first menu item in the list last One-past-the-back of the menu item list theme Theme for the widget
| popup_t | ( | const std::string & | name, | |
| const std::string & | alt_text, | |||
| const std::string & | custom_item_name, | |||
| const menu_item_t * | first, | |||
| const menu_item_t * | last, | |||
| theme_t | theme | |||
| ) |
Member Function Documentation
| void display | ( | const any_regular_t & | item | ) |
| void display | ( | const any_regular_t & | 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 monitor_extended | ( | const extended_setter_type & | proc | ) |
| void monitor_extended | ( | const extended_setter_type & | extended_proc | ) |
| void place | ( | const place_data_t & | place_data | ) |
| void place | ( | const place_data_t & | place_data | ) |
| void reset_menu_item_set | ( | const menu_item_set_t & | menu_item_set | ) |
Definition at line 47 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
| void reset_menu_item_set | ( | const menu_item_t * | first, | |
| const menu_item_t * | last | |||
| ) |
| void reset_menu_item_set | ( | const menu_item_set_t & | menu_item_set | ) |
Resets the popup with a new list of menu items.
Definition at line 139 of file macintosh/adobe/future/widgets/headers/platform_popup.hpp.
| void reset_menu_item_set | ( | const menu_item_t * | first, | |
| const menu_item_t * | last | |||
| ) |
- Parameters:
-
first The first menu item in the list last One-past-the-back of the menu item list
| void select_with_text | ( | const std::string & | text | ) |
| void select_with_text | ( | const std::string & | text | ) |
- Parameters:
-
text the text to match to the popup menu entry
Member Data Documentation
| std::string alt_text_m |
Definition at line 72 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
| HWND control_m |
Definition at line 69 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
| std::string custom_item_name_m |
Definition at line 84 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
| bool custom_m |
Definition at line 83 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
Definition at line 79 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
Definition at line 81 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
Definition at line 80 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
Definition at line 71 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
| long popup_baseline_m |
Definition at line 75 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
| long popup_height_m |
Definition at line 76 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
| long static_baseline_m |
Definition at line 73 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
| long static_height_m |
Definition at line 74 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
Definition at line 70 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
| bool type_2_debounce_m |
Definition at line 82 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
| bool using_label_m |
Definition at line 77 of file windows/adobe/future/widgets/headers/platform_popup.hpp.
Definition at line 78 of file windows/adobe/future/widgets/headers/platform_popup.hpp.

