kumarashishg | 826308d | 2023-06-23 13:21:22 +0000 | [diff] [blame] | 1 | // Copyright 2014 The PDFium Authors |
Philip P. Moltmann | 4d3acf4 | 2017-03-20 11:05:52 -0700 | [diff] [blame] | 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 | |
| 7 | #ifndef XFA_FWL_THEME_CFWL_PICTUREBOXTP_H_ |
| 8 | #define XFA_FWL_THEME_CFWL_PICTUREBOXTP_H_ |
| 9 | |
kumarashishg | 826308d | 2023-06-23 13:21:22 +0000 | [diff] [blame] | 10 | #include "fxjs/gc/heap.h" |
Philip P. Moltmann | 4d3acf4 | 2017-03-20 11:05:52 -0700 | [diff] [blame] | 11 | #include "xfa/fwl/theme/cfwl_widgettp.h" |
| 12 | |
Haibo Huang | 49cc930 | 2020-04-27 16:14:24 -0700 | [diff] [blame] | 13 | class CFWL_PictureBoxTP final : public CFWL_WidgetTP { |
Philip P. Moltmann | 4d3acf4 | 2017-03-20 11:05:52 -0700 | [diff] [blame] | 14 | public: |
kumarashishg | 826308d | 2023-06-23 13:21:22 +0000 | [diff] [blame] | 15 | CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED; |
Philip P. Moltmann | 4d3acf4 | 2017-03-20 11:05:52 -0700 | [diff] [blame] | 16 | ~CFWL_PictureBoxTP() override; |
| 17 | |
kumarashishg | 826308d | 2023-06-23 13:21:22 +0000 | [diff] [blame] | 18 | // CFWL_WidgetTP: |
Haibo Huang | 49cc930 | 2020-04-27 16:14:24 -0700 | [diff] [blame] | 19 | void DrawBackground(const CFWL_ThemeBackground& pParams) override; |
kumarashishg | 826308d | 2023-06-23 13:21:22 +0000 | [diff] [blame] | 20 | |
| 21 | private: |
| 22 | CFWL_PictureBoxTP(); |
Philip P. Moltmann | 4d3acf4 | 2017-03-20 11:05:52 -0700 | [diff] [blame] | 23 | }; |
| 24 | |
| 25 | #endif // XFA_FWL_THEME_CFWL_PICTUREBOXTP_H_ |