stlab.adobe.com Adobe Systems Incorporated

platform_panel.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_PANEL_HPP
00010 #define ADOBE_PANEL_HPP
00011 
00012 #include <adobe/config.hpp>
00013 
00014 #include <boost/utility.hpp>
00015 
00016 #include <adobe/any_regular.hpp>
00017 #include <adobe/extents.hpp>
00018 #include <adobe/layout_attributes.hpp>
00019 #include <adobe/widget_attributes.hpp>
00020 #include <adobe/future/widgets/headers/widget_utils.hpp>
00021 
00022 /****************************************************************************************************/
00023 
00024 namespace adobe {
00025 
00026 /****************************************************************************************************/
00027 
00028 struct panel_t : extents_slices_t, boost::noncopyable
00029 {
00030     typedef any_regular_t model_type;
00031 
00032     panel_t(const any_regular_t& show_value, theme_t theme);
00033 
00034     void        measure(extents_t& result);
00035 
00036     void        place(const place_data_t& place_data);
00037 
00038     void        display(const any_regular_t& value);
00039 
00040     void        set_visible(bool make_visible); 
00041 
00042     HWND                    control_m;
00043     theme_t          theme_m;
00044     any_regular_t    show_value_m;
00045 };
00046 
00047 /****************************************************************************************************/
00048 
00049 }
00050 
00051 /****************************************************************************************************/
00052 
00053 #endif
00054 
00055 /*************************************************************************************************/

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