blob: 183d3a0743285d8bb24519b7076ec4df3e89e592 [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
dsinclair7f432a12016-03-29 12:38:01 -07007#ifndef XFA_FWL_THEME_CFWL_COMBOBOXTP_H_
8#define XFA_FWL_THEME_CFWL_COMBOBOXTP_H_
Dan Sinclairc7cd8092016-02-18 15:02:55 -05009
dsinclair7f432a12016-03-29 12:38:01 -070010#include "xfa/fwl/theme/cfwl_widgettp.h"
Dan Sinclair880962c2016-02-23 09:09:24 -050011
Tom Sepez99ffdb02016-01-26 14:51:21 -080012class CFWL_ComboBoxTP : public CFWL_WidgetTP {
13 public:
14 CFWL_ComboBoxTP();
dsinclairb4d40ff2016-05-05 10:28:02 -070015 ~CFWL_ComboBoxTP() override;
16
17 // CFWL_WidgetTP
dsinclair73895de2016-10-20 07:19:43 -070018 void DrawBackground(CFWL_ThemeBackground* pParams) override;
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
dsinclair7f432a12016-03-29 12:38:01 -070029#endif // XFA_FWL_THEME_CFWL_COMBOBOXTP_H_