summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_picturebox.h
blob: d1be78bda44614cb20070321592dddfe80f34e56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#ifndef XFA_FWL_CORE_CFWL_PICTUREBOX_H_
#define XFA_FWL_CORE_CFWL_PICTUREBOX_H_

#include "xfa/fwl/core/cfwl_widget.h"
#include "xfa/fwl/core/ifwl_picturebox.h"
#include "xfa/fwl/core/ifwl_widget.h"

class CFWL_PictureBox : public CFWL_Widget, public IFWL_Widget::DataProvider {
 public:
  explicit CFWL_PictureBox(const IFWL_App* pApp);
  ~CFWL_PictureBox() override;

  void Initialize();

  // IFWL_Widget::DataProvider
  void GetCaption(IFWL_Widget* pWidget, CFX_WideString& wsCaption) override;
};

#endif  // XFA_FWL_CORE_CFWL_PICTUREBOX_H_