Merge XFA to PDFium master at 4dc95e7 on 10/28/2014
[pdfium.git] / xfa / include / fwl / theme / comboboxtp.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_COMBOBOXTP_H\r
8 #define _FWL_COMBOBOXTP_H\r
9 class CFWL_WidgetTP;\r
10 class CFWL_ComboBoxTP;\r
11 class CFWL_ComboBoxTP : public CFWL_WidgetTP\r
12 {\r
13 public:\r
14     CFWL_ComboBoxTP();\r
15     virtual ~CFWL_ComboBoxTP();\r
16     virtual     FX_BOOL         IsValidWidget(IFWL_Widget *pWidget);\r
17     virtual FX_BOOL             DrawBackground(CFWL_ThemeBackground *pParams);\r
18     virtual FX_LPVOID   GetCapacity(CFWL_ThemePart *pThemePart, FX_DWORD dwCapacity);\r
19 protected:\r
20     void        DrawDropDownButton(CFWL_ThemeBackground *pParams, FX_DWORD dwStates, CFX_Matrix *pMatrix);\r
21     void        DrawStrethHandler(CFWL_ThemeBackground *pParams, FX_DWORD dwStates, CFX_Matrix *pMatrix);\r
22 };\r
23 #endif\r