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

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

Issue 2578603002: Remove unused sysbtn code (Closed)
Patch Set: Rebase to master 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_form.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
(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_CFWL_SYSBTN_H_
8 #define XFA_FWL_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();
19 ~CFWL_SysBtn();
20
21 bool IsDisabled() const;
22 uint32_t GetPartState() const;
23
24 void SetNormal();
25 void SetPressed();
26 void SetHover();
27 void SetDisabled(bool bDisabled);
28
29 CFX_RectF m_rtBtn;
30 uint32_t m_dwState;
31 };
32
33 #endif // XFA_FWL_CFWL_SYSBTN_H_
OLDNEW
« no previous file with comments | « xfa/fwl/cfwl_form.cpp ('k') | xfa/fwl/cfwl_sysbtn.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698