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

Side by Side Diff: xfa/fwl/cfwl_sysbtn.h

Issue 2559173002: Move xfa/fwl/core to xfa/fwl. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « xfa/fwl/cfwl_spinbutton.cpp ('k') | xfa/fwl/cfwl_sysbtn.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_FWL_CORE_CFWL_SYSBTN_H_ 7 #ifndef XFA_FWL_CFWL_SYSBTN_H_
8 #define XFA_FWL_CORE_CFWL_SYSBTN_H_ 8 #define XFA_FWL_CFWL_SYSBTN_H_
9 9
10 #include "core/fxcrt/fx_coordinates.h" 10 #include "core/fxcrt/fx_coordinates.h"
11 11
12 #define FWL_SYSBUTTONSTATE_Hover 0x0001 12 #define FWL_SYSBUTTONSTATE_Hover 0x0001
13 #define FWL_SYSBUTTONSTATE_Pressed 0x0002 13 #define FWL_SYSBUTTONSTATE_Pressed 0x0002
14 #define FWL_SYSBUTTONSTATE_Disabled 0x0010 14 #define FWL_SYSBUTTONSTATE_Disabled 0x0010
15 15
16 class CFWL_SysBtn { 16 class CFWL_SysBtn {
17 public: 17 public:
18 CFWL_SysBtn(); 18 CFWL_SysBtn();
19 ~CFWL_SysBtn(); 19 ~CFWL_SysBtn();
20 20
21 bool IsDisabled() const; 21 bool IsDisabled() const;
22 uint32_t GetPartState() const; 22 uint32_t GetPartState() const;
23 23
24 void SetNormal(); 24 void SetNormal();
25 void SetPressed(); 25 void SetPressed();
26 void SetHover(); 26 void SetHover();
27 void SetDisabled(bool bDisabled); 27 void SetDisabled(bool bDisabled);
28 28
29 CFX_RectF m_rtBtn; 29 CFX_RectF m_rtBtn;
30 uint32_t m_dwState; 30 uint32_t m_dwState;
31 }; 31 };
32 32
33 #endif // XFA_FWL_CORE_CFWL_SYSBTN_H_ 33 #endif // XFA_FWL_CFWL_SYSBTN_H_
OLDNEW
« no previous file with comments | « xfa/fwl/cfwl_spinbutton.cpp ('k') | xfa/fwl/cfwl_sysbtn.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698