stlab.adobe.com Adobe Systems Incorporated

edit_text_common.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_WIDGETS_EDIT_TEXT_COMMON_HPP
00010 #define ADOBE_WIDGETS_EDIT_TEXT_COMMON_HPP
00011 
00012 /****************************************************************************************************/
00013 
00014 #include <adobe/config.hpp>
00015 #include <adobe/widget_attributes.hpp>
00016 
00017 #include <string>
00018 
00019 /*************************************************************************************************/
00020 
00021 namespace adobe {
00022 
00023 /*************************************************************************************************/
00024 
00025 struct edit_text_ctor_block_t
00026 {
00027     edit_text_ctor_block_t() :
00028         scrollable_m(false),
00029         password_m(false),
00030         monospaced_m(false),
00031         min_characters_m(10),
00032         max_characters_m(0),
00033         num_lines_m(1)
00034     { }
00035 
00036     std::string name_m;
00037     std::string alt_text_m;
00038     bool        scrollable_m;
00039     bool        password_m;
00040     bool        monospaced_m;
00041     long        min_characters_m;
00042     long        max_characters_m; // 0 here means unlimited. Only matters when num_lines_m == 1
00043     long        num_lines_m;
00044     theme_t     theme_m;
00045 };
00046 
00047 /*************************************************************************************************/
00048 
00049 } //namespace adobe
00050 
00051 /****************************************************************************************************/
00052 
00053 // ADOBE_WIDGETS_EDIT_TEXT_COMMON_HPP
00054 #endif
00055 
00056 /****************************************************************************************************/

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