Merge XFA to PDFium master at 4dc95e7 on 10/28/2014
[pdfium.git] / xfa / include / fwl / theme / datetimepickertp.h
1 // Copyright 2014 PDFium Authors. All rights reserved.\r
2 // Use of this source code is governed by a BSD-style license that can be\r
3 // found in the LICENSE file.\r
4 \r
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com\r
6 \r
7 #ifndef _FWL_DATETIMEPICKERTP_H\r
8 #define _FWL_DATETIMEPICKERTP_H\r
9 class CFWL_WidgetTP;\r
10 class CFWL_DateTimePickerTP;\r
11 class CFWL_DateTimePickerTP : public CFWL_WidgetTP\r
12 {\r
13 public:\r
14     CFWL_DateTimePickerTP();\r
15     virtual ~CFWL_DateTimePickerTP();\r
16     virtual FX_BOOL             IsValidWidget(IFWL_Widget *pWidget);\r
17     virtual FX_BOOL             DrawBackground(CFWL_ThemeBackground *pParams);\r
18 protected:\r
19     void DrawDropDownButton(CFWL_ThemeBackground *pParams, CFX_Matrix *pMatrix);\r
20     void        initThemeData();\r
21     struct DTPThemeData : public CFX_Object {\r
22     public:\r
23         FX_ARGB BoxBkColor[13][2];\r
24     } *m_pThemeData;\r
25 };\r
26 #endif\r