Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: xfa/include/fwl/basewidget/fwl_spinbutton.h

Issue 1827923002: Move xfa/include/fwl/{core,basewidget} to xfa/fwl/{core,basewidget}. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // 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
7 #ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_SPINBUTTON_H_
8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_SPINBUTTON_H_
9
10 #include "xfa/fwl/core/fwl_widgetimp.h"
11
12 #define FWL_CLASS_SpinButton L"FWL_SPINBUTTON"
13 #define FWL_CLASSHASH_SpinButton 3793043646
14 #define FWL_STYLEEXE_SPB_Vert (1L << 0)
15 #define FWL_PART_SPB_Border 1
16 #define FWL_PART_SPB_Edge 2
17 #define FWL_PART_SPB_UpButton 3
18 #define FWL_PART_SPB_DownButton 4
19 #define FWL_PARTSTATE_SPB_Normal (0L << 0)
20 #define FWL_PARTSTATE_SPB_Hovered (1L << 0)
21 #define FWL_PARTSTATE_SPB_Pressed (2L << 0)
22 #define FWL_PARTSTATE_SPB_Disabled (3L << 0)
23 #define FWL_WGTHITTEST_SPB_UpButton (FWL_WGTHITTEST_MAX + 1)
24 #define FWL_WGTHITTEST_SPB_DownButton (FWL_WGTHITTEST_MAX + 2)
25 #define FWL_EVT_SPB_Click L"FWL_EVENT_SPB_Click"
26 #define FWL_EVTHASH_SPB_Click 2927651187
27 BEGIN_FWL_EVENT_DEF(CFWL_EvtSpbClick, FWL_EVTHASH_SPB_Click)
28 FX_BOOL m_bUp;
29 END_FWL_EVENT_DEF
30
31 class IFWL_SpinButton : public IFWL_Widget {
32 public:
33 static IFWL_SpinButton* Create(const CFWL_WidgetImpProperties& properties,
34 IFWL_Widget* pOuter);
35
36 FWL_ERR EnableButton(FX_BOOL bEnable, FX_BOOL bUp = TRUE);
37 FX_BOOL IsButtonEnable(FX_BOOL bUp = TRUE);
38
39 protected:
40 IFWL_SpinButton();
41 };
42
43 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_SPINBUTTON_H_
OLDNEW
« no previous file with comments | « xfa/include/fwl/basewidget/fwl_scrollbar.h ('k') | xfa/include/fwl/basewidget/fwl_tooltipctrl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698