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

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

Issue 2506253004: Split fwl/core class pt I. (Closed)
Patch Set: Rebase to master Created 4 years, 1 month 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/core/cfwl_pushbutton.h ('k') | xfa/fwl/core/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
(Empty)
1 // Copyright 2016 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_FWL_CORE_CFWL_SYSBTN_H_
8 #define XFA_FWL_CORE_CFWL_SYSBTN_H_
9
10 #include "core/fxcrt/fx_coordinates.h"
11
12 #define FWL_SYSBUTTONSTATE_Hover 0x0001
13 #define FWL_SYSBUTTONSTATE_Pressed 0x0002
14 #define FWL_SYSBUTTONSTATE_Disabled 0x0010
15
16 class CFWL_SysBtn {
17 public:
18 CFWL_SysBtn();
npm 2016/11/17 20:28:21 Can this have a destructor?
dsinclair 2016/11/19 03:56:56 Done.
19
20 bool IsDisabled() const;
21 uint32_t GetPartState() const;
22
23 void SetNormal();
24 void SetPressed();
25 void SetHover();
26 void SetDisabled(bool bDisabled);
27
28 CFX_RectF m_rtBtn;
29 uint32_t m_dwState;
30 };
31
32 #endif // XFA_FWL_CORE_CFWL_SYSBTN_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/cfwl_pushbutton.h ('k') | xfa/fwl/core/cfwl_sysbtn.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698