stlab.adobe.com Adobe Systems Incorporated

platform_edit_number.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_EDIT_NUMBER_EDGE_HPP
00010 #define ADOBE_WIDGET_EDIT_NUMBER_EDGE_HPP
00011 
00012 /****************************************************************************************************/
00013 
00014 namespace adobe {
00015 
00016 /****************************************************************************************************/
00017 
00018 struct edit_number_t;
00019 
00020 /****************************************************************************************************/
00021 
00022 struct edit_number_platform_data_t
00023 {
00024     explicit edit_number_platform_data_t(edit_number_t* edit_number) :
00025         control_m(edit_number),
00026         prev_capture_m(0),
00027         tracking_m(false)
00028     {
00029         last_point_m.x = 0;
00030         last_point_m.y = 0;
00031     }
00032 
00033     ~edit_number_platform_data_t();
00034 
00035     void initialize();
00036 
00037     LRESULT label_message(UINT message, WPARAM wParam, LPARAM lParam);
00038 
00039     edit_number_t* control_m;
00040     HWND           prev_capture_m;
00041     bool           tracking_m;
00042     POINTS         last_point_m;
00043 };
00044 
00045 /****************************************************************************************************/
00046 
00047 } // namespace adobe
00048 
00049 /****************************************************************************************************/
00050 
00051 // ADOBE_WIDGET_EDIT_NUMBER_EDGE_HPP
00052 #endif
00053 
00054 /****************************************************************************************************/

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