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

Side by Side Diff: xfa/fwl/basewidget/ifwl_listbox.h

Issue 1903993003: Remove unused FWL flags (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « xfa/fwl/basewidget/ifwl_edit.h ('k') | xfa/fwl/basewidget/ifwl_monthcalendar.h » ('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 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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_BASEWIDGET_IFWL_LISTBOX_H_ 7 #ifndef XFA_FWL_BASEWIDGET_IFWL_LISTBOX_H_
8 #define XFA_FWL_BASEWIDGET_IFWL_LISTBOX_H_ 8 #define XFA_FWL_BASEWIDGET_IFWL_LISTBOX_H_
9 9
10 #include "xfa/fwl/core/ifwl_widget.h" 10 #include "xfa/fwl/core/ifwl_widget.h"
(...skipping 12 matching lines...) Expand all
23 #define FWL_STYLEEXT_LTB_RightAlign (2L << 4) 23 #define FWL_STYLEEXT_LTB_RightAlign (2L << 4)
24 #define FWL_STYLEEXT_LTB_MultiLine (1L << 6) 24 #define FWL_STYLEEXT_LTB_MultiLine (1L << 6)
25 #define FWL_STYLEEXT_LTB_OwnerDraw (1L << 7) 25 #define FWL_STYLEEXT_LTB_OwnerDraw (1L << 7)
26 #define FWL_STYLEEXT_LTB_Icon (1L << 8) 26 #define FWL_STYLEEXT_LTB_Icon (1L << 8)
27 #define FWL_STYLEEXT_LTB_Check (1L << 9) 27 #define FWL_STYLEEXT_LTB_Check (1L << 9)
28 #define FWL_STYLEEXT_LTB_AlignMask (3L << 4) 28 #define FWL_STYLEEXT_LTB_AlignMask (3L << 4)
29 #define FWL_STYLEEXT_LTB_ShowScrollBarFocus (1L << 10) 29 #define FWL_STYLEEXT_LTB_ShowScrollBarFocus (1L << 10)
30 #define FWL_ITEMSTATE_LTB_Selected (1L << 0) 30 #define FWL_ITEMSTATE_LTB_Selected (1L << 0)
31 #define FWL_ITEMSTATE_LTB_Focused (1L << 1) 31 #define FWL_ITEMSTATE_LTB_Focused (1L << 1)
32 #define FWL_ITEMSTATE_LTB_Checked (1L << 2) 32 #define FWL_ITEMSTATE_LTB_Checked (1L << 2)
33 #define FWL_WGTHITTEST_LTB_Item FWL_WGTHITTEST_MAX + 1
34 #define FWL_WGTHITTEST_LTB_HScrollBar FWL_WGTHITTEST_MAX + 2
35 #define FWL_WGTHITTEST_LTB_VScrollBar FWL_WGTHITTEST_MAX + 3
36 // TODO(dsinclair): Event hash is hash of string, cleanup. pdfium:474 33 // TODO(dsinclair): Event hash is hash of string, cleanup. pdfium:474
37 #define FWL_EVTHASH_LTB_SelChanged 1701781688 34 #define FWL_EVTHASH_LTB_SelChanged 1701781688
38 #define FWL_EVTHASH_LTB_DrawItem 1050853991 35 #define FWL_EVTHASH_LTB_DrawItem 1050853991
39 36
40 typedef struct FWL_HLISTITEM_ { void* pData; } * FWL_HLISTITEM; 37 typedef struct FWL_HLISTITEM_ { void* pData; } * FWL_HLISTITEM;
41 38
42 class CFX_DIBitmap; 39 class CFX_DIBitmap;
43 class IFWL_ListBoxDP; 40 class IFWL_ListBoxDP;
44 41
45 struct FWL_ListBoxItemData { 42 struct FWL_ListBoxItemData {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 FWL_ERR SetSelItem(FWL_HLISTITEM hItem, FX_BOOL bSelect = TRUE); 116 FWL_ERR SetSelItem(FWL_HLISTITEM hItem, FX_BOOL bSelect = TRUE);
120 FWL_ERR GetItemText(FWL_HLISTITEM hItem, CFX_WideString& wsText); 117 FWL_ERR GetItemText(FWL_HLISTITEM hItem, CFX_WideString& wsText);
121 FWL_ERR GetScrollPos(FX_FLOAT& fPos, FX_BOOL bVert = TRUE); 118 FWL_ERR GetScrollPos(FX_FLOAT& fPos, FX_BOOL bVert = TRUE);
122 FWL_ERR* Sort(IFWL_ListBoxCompare* pCom); 119 FWL_ERR* Sort(IFWL_ListBoxCompare* pCom);
123 120
124 protected: 121 protected:
125 IFWL_ListBox(); 122 IFWL_ListBox();
126 }; 123 };
127 124
128 #endif // XFA_FWL_BASEWIDGET_IFWL_LISTBOX_H_ 125 #endif // XFA_FWL_BASEWIDGET_IFWL_LISTBOX_H_
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/ifwl_edit.h ('k') | xfa/fwl/basewidget/ifwl_monthcalendar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698