stlab.adobe.com Adobe Systems Incorporated

platform_group.hpp

Go to the documentation of this file.
00001 /*
00002     Copyright 2005-2007 Adobe Systems Incorporated
00003     Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
00004     or a copy at http://stlab.adobe.com/licenses.html)
00005 */
00006 
00007 /****************************************************************************************************/
00008 
00009 #ifndef ADOBE_WIDGET_GROUP_HPP
00010 #define ADOBE_WIDGET_GROUP_HPP
00011 
00012 /****************************************************************************************************/
00013 
00014 #include <adobe/extents.hpp>
00015 #include <adobe/eve.hpp>
00016 #include <adobe/future/widgets/headers/macintosh_metric_extractor.hpp>
00017 #include <adobe/layout_attributes.hpp>
00018 #include <adobe/macintosh_carbon_safe.hpp>
00019 #include <adobe/widget_attributes.hpp>
00020 
00021 /****************************************************************************************************/
00022 
00023 namespace adobe {
00024 
00025 /****************************************************************************************************/
00026 
00040 struct group_t
00041 {
00047     group_t(const std::string& name,
00048             const std::string& alt_text,
00049             theme_t            theme);
00050 
00057     void measure(extents_t& result);
00058 
00059     void place(const place_data_t& place_data);
00061 
00062 #ifndef ADOBE_NO_DOCUMENTATION
00063     mutable metric_extractor_t metrics_m;
00064     ::ControlRef               control_m;
00065     std::string                name_m;
00066     std::string                alt_text_m;
00067     theme_t                    theme_m;
00068 #endif
00069 };
00070 
00071 /****************************************************************************************************/
00072 
00073 } // namespace adobe
00074 
00075 /****************************************************************************************************/
00076 
00077 #endif
00078 
00079 /****************************************************************************************************/

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