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

Side by Side Diff: xfa/include/fwl/core/fwl_grid.h

Issue 1453373006: Kill dead IFWL_*::Initialize() variants dead. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Rebased Created 5 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/include/fwl/core/fwl_form.h ('k') | xfa/include/fwl/core/fwl_panel.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 _FWL_GRID_H 7 #ifndef _FWL_GRID_H
8 #define _FWL_GRID_H 8 #define _FWL_GRID_H
9 class IFWL_Widget; 9 class IFWL_Widget;
10 class IFWL_Content; 10 class IFWL_Content;
(...skipping 22 matching lines...) Expand all
33 FWL_GRIDSIZE_Height, 33 FWL_GRIDSIZE_Height,
34 FWL_GRIDSIZE_MinWidth, 34 FWL_GRIDSIZE_MinWidth,
35 FWL_GRIDSIZE_MinHeight, 35 FWL_GRIDSIZE_MinHeight,
36 FWL_GRIDSIZE_MaxWidth, 36 FWL_GRIDSIZE_MaxWidth,
37 FWL_GRIDSIZE_MaxHeight, 37 FWL_GRIDSIZE_MaxHeight,
38 }; 38 };
39 typedef struct _FWL_HGRIDCOLROW { void* pData; } * FWL_HGRIDCOLROW; 39 typedef struct _FWL_HGRIDCOLROW { void* pData; } * FWL_HGRIDCOLROW;
40 class IFWL_Grid : public IFWL_Content { 40 class IFWL_Grid : public IFWL_Content {
41 public: 41 public:
42 static IFWL_Grid* Create(); 42 static IFWL_Grid* Create();
43 FWL_ERR Initialize();
44 FWL_ERR Initialize(CFWL_WidgetImpProperties& properties); 43 FWL_ERR Initialize(CFWL_WidgetImpProperties& properties);
45 44
46 FWL_HGRIDCOLROW InsertColRow(FX_BOOL bColumn, int32_t nIndex = -1); 45 FWL_HGRIDCOLROW InsertColRow(FX_BOOL bColumn, int32_t nIndex = -1);
47 int32_t CountColRows(FX_BOOL bColumn); 46 int32_t CountColRows(FX_BOOL bColumn);
48 FWL_HGRIDCOLROW GetColRow(FX_BOOL bColumn, int32_t nIndex); 47 FWL_HGRIDCOLROW GetColRow(FX_BOOL bColumn, int32_t nIndex);
49 int32_t GetIndex(FWL_HGRIDCOLROW hColRow); 48 int32_t GetIndex(FWL_HGRIDCOLROW hColRow);
50 FX_FLOAT GetSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT& eUnit); 49 FX_FLOAT GetSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT& eUnit);
51 FWL_ERR SetSize(FWL_HGRIDCOLROW hColRow, FX_FLOAT fSize, FWL_GRIDUNIT eUnit); 50 FWL_ERR SetSize(FWL_HGRIDCOLROW hColRow, FX_FLOAT fSize, FWL_GRIDUNIT eUnit);
52 FX_FLOAT GetMinSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT& eUnit); 51 FX_FLOAT GetMinSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT& eUnit);
53 FWL_ERR SetMinSize(FWL_HGRIDCOLROW hColRow, 52 FWL_ERR SetMinSize(FWL_HGRIDCOLROW hColRow,
(...skipping 23 matching lines...) Expand all
77 FWL_GRIDMARGIN eMargin, 76 FWL_GRIDMARGIN eMargin,
78 FX_FLOAT fMargin); 77 FX_FLOAT fMargin);
79 FWL_ERR RemoveWidgetMargin(IFWL_Widget* pWidget, FWL_GRIDMARGIN eMargin); 78 FWL_ERR RemoveWidgetMargin(IFWL_Widget* pWidget, FWL_GRIDMARGIN eMargin);
80 FX_FLOAT GetGridSize(FWL_GRIDSIZE eSize, FWL_GRIDUNIT& eUnit); 79 FX_FLOAT GetGridSize(FWL_GRIDSIZE eSize, FWL_GRIDUNIT& eUnit);
81 FWL_ERR SetGridSize(FWL_GRIDSIZE eSize, FX_FLOAT fSize, FWL_GRIDUNIT eUit); 80 FWL_ERR SetGridSize(FWL_GRIDSIZE eSize, FX_FLOAT fSize, FWL_GRIDUNIT eUit);
82 81
83 protected: 82 protected:
84 IFWL_Grid(); 83 IFWL_Grid();
85 }; 84 };
86 #endif 85 #endif
OLDNEW
« no previous file with comments | « xfa/include/fwl/core/fwl_form.h ('k') | xfa/include/fwl/core/fwl_panel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698