stlab.adobe.com Adobe Systems Incorporated

factory_token_t Struct Reference

#include <factory.hpp>

List of all members.

Public Member Functions

 factory_token_t (display_t &display, sheet_t &sheet, eve_client_holder &client_holder, button_notifier_t notifier)

Public Attributes

eve_client_holderclient_holder_m
display_tdisplay_m
button_notifier_t notifier_m
sheet_tsheet_m

Detailed Description

This structure is given to all factory functions, so that they can correctly create the widgets they need to create. Things inside this structure should not change between creating two widgets.

Definition at line 188 of file factory.hpp.


Constructor & Destructor Documentation

factory_token_t ( display_t display,
sheet_t sheet,
eve_client_holder client_holder,
button_notifier_t  notifier 
)

Definition at line 190 of file factory.hpp.


Member Data Documentation

The current eve_client_holder -- keeps all the relevant parts of a view in one location. Originally the factory token was duplication nearly every member of the client_holder as a member itself, so this cleans up factory_token quite a bit.

Definition at line 218 of file factory.hpp.

Created widgets should be made with respect to this display, and inserted into the given parent by this display.

Definition at line 204 of file factory.hpp.

The function to call when a button is pressed. This should be called by buttons and button-like widgets when they are hit (and have an action, rather than a state change).

Definition at line 225 of file factory.hpp.

The current Adam sheet -- this contains all of the cells which widgets might want to bind against.

Definition at line 210 of file factory.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