blob: 74d49b45e72449f5b2372c296a15c54c2f659011 [file] [log] [blame]
Tom Sepez99ffdb02016-01-26 14:51:21 -08001// Copyright 2014 PDFium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
Dan Sinclairc7cd8092016-02-18 15:02:55 -05007#ifndef XFA_INCLUDE_FWL_THEME_COMBOBOXTP_H_
8#define XFA_INCLUDE_FWL_THEME_COMBOBOXTP_H_
9
Dan Sinclair880962c2016-02-23 09:09:24 -050010#include "xfa/include/fwl/theme/widgettp.h"
11
Tom Sepez99ffdb02016-01-26 14:51:21 -080012class CFWL_ComboBoxTP : public CFWL_WidgetTP {
13 public:
14 CFWL_ComboBoxTP();
15 virtual ~CFWL_ComboBoxTP();
16 virtual FX_BOOL IsValidWidget(IFWL_Widget* pWidget);
17 virtual FX_BOOL DrawBackground(CFWL_ThemeBackground* pParams);
tsepezdeee3d22016-03-25 14:38:58 -070018 virtual void* GetCapacity(CFWL_ThemePart* pThemePart, uint32_t dwCapacity);
Tom Sepez99ffdb02016-01-26 14:51:21 -080019
20 protected:
21 void DrawDropDownButton(CFWL_ThemeBackground* pParams,
tsepezdeee3d22016-03-25 14:38:58 -070022 uint32_t dwStates,
Tom Sepez99ffdb02016-01-26 14:51:21 -080023 CFX_Matrix* pMatrix);
24 void DrawStrethHandler(CFWL_ThemeBackground* pParams,
tsepezdeee3d22016-03-25 14:38:58 -070025 uint32_t dwStates,
Tom Sepez99ffdb02016-01-26 14:51:21 -080026 CFX_Matrix* pMatrix);
27};
Dan Sinclairc7cd8092016-02-18 15:02:55 -050028
29#endif // XFA_INCLUDE_FWL_THEME_COMBOBOXTP_H_