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

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

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 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/include/fwl/core/fwl_error.h ('k') | xfa/include/fwl/core/fwl_note.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 28 matching lines...) Expand all
39 typedef struct _FWL_HGRIDCOLROW { 39 typedef struct _FWL_HGRIDCOLROW {
40 FX_LPVOID pData; 40 FX_LPVOID pData;
41 } * FWL_HGRIDCOLROW; 41 } * FWL_HGRIDCOLROW;
42 class IFWL_Grid : public IFWL_Content 42 class IFWL_Grid : public IFWL_Content
43 { 43 {
44 public: 44 public:
45 static IFWL_Grid* Create(); 45 static IFWL_Grid* Create();
46 FWL_ERR Initialize(); 46 FWL_ERR Initialize();
47 FWL_ERR Initialize(CFWL_WidgetImpProperties &pro perties); 47 FWL_ERR Initialize(CFWL_WidgetImpProperties &pro perties);
48 48
49 FWL_HGRIDCOLROW» » InsertColRow(FX_BOOL bColumn, FX_INT32 nIndex = -1); 49 FWL_HGRIDCOLROW» » InsertColRow(FX_BOOL bColumn, int32_t nIndex = - 1);
50 FX_INT32» » » CountColRows(FX_BOOL bColumn); 50 int32_t» » » CountColRows(FX_BOOL bColumn);
51 FWL_HGRIDCOLROW» » GetColRow(FX_BOOL bColumn, FX_INT32 nIndex); 51 FWL_HGRIDCOLROW» » GetColRow(FX_BOOL bColumn, int32_t nIndex);
52 FX_INT32» » » GetIndex(FWL_HGRIDCOLROW hColRow); 52 int32_t» » » GetIndex(FWL_HGRIDCOLROW hColRow);
53 FX_FLOAT GetSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT &e Unit); 53 FX_FLOAT GetSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT &e Unit);
54 FWL_ERR SetSize(FWL_HGRIDCOLROW hColRow, FX_FLOA T fSize, FWL_GRIDUNIT eUnit); 54 FWL_ERR SetSize(FWL_HGRIDCOLROW hColRow, FX_FLOA T fSize, FWL_GRIDUNIT eUnit);
55 FX_FLOAT GetMinSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT &eUnit); 55 FX_FLOAT GetMinSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT &eUnit);
56 FWL_ERR SetMinSize(FWL_HGRIDCOLROW hColRow, FX_F LOAT fSize, FWL_GRIDUNIT eUnit); 56 FWL_ERR SetMinSize(FWL_HGRIDCOLROW hColRow, FX_F LOAT fSize, FWL_GRIDUNIT eUnit);
57 FX_FLOAT GetMaxSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT &eUnit); 57 FX_FLOAT GetMaxSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT &eUnit);
58 FWL_ERR SetMaxSize(FWL_HGRIDCOLROW hColRow, FX_F LOAT fSize, FWL_GRIDUNIT eUnit); 58 FWL_ERR SetMaxSize(FWL_HGRIDCOLROW hColRow, FX_F LOAT fSize, FWL_GRIDUNIT eUnit);
59 FX_BOOL DeleteColRow(FWL_HGRIDCOLROW hColRow); 59 FX_BOOL DeleteColRow(FWL_HGRIDCOLROW hColRow);
60 FX_BOOL IsColumn(FWL_HGRIDCOLROW hColRow); 60 FX_BOOL IsColumn(FWL_HGRIDCOLROW hColRow);
61 FX_INT32» » » GetWidgetPos(IFWL_Widget *pWidget, FX_BOOL bColu mn); 61 int32_t» » » GetWidgetPos(IFWL_Widget *pWidget, FX_BOOL bColu mn);
62 FWL_ERR» » » » SetWidgetPos(IFWL_Widget *pWidget, FX_IN T32 iPos, FX_BOOL bColumn); 62 FWL_ERR» » » » SetWidgetPos(IFWL_Widget *pWidget, int32 _t iPos, FX_BOOL bColumn);
63 FX_INT32» » » GetWidgetSpan(IFWL_Widget *pWidget, FX_BOOL bCol umn); 63 int32_t» » » GetWidgetSpan(IFWL_Widget *pWidget, FX_BOOL bCol umn);
64 FWL_ERR» » » » SetWidgetSpan(IFWL_Widget *pWidget, FX_I NT32 iSpan, FX_BOOL bColumn); 64 FWL_ERR» » » » SetWidgetSpan(IFWL_Widget *pWidget, int3 2_t iSpan, FX_BOOL bColumn);
65 FX_FLOAT GetWidgetSize(IFWL_Widget *pWidget, FWL_GRIDSIZE eSize, FWL_GRIDUNIT &eUnit); 65 FX_FLOAT GetWidgetSize(IFWL_Widget *pWidget, FWL_GRIDSIZE eSize, FWL_GRIDUNIT &eUnit);
66 FWL_ERR SetWidgetSize(IFWL_Widget *pWidget, FWL_ GRIDSIZE eSize, FX_FLOAT fSize, FWL_GRIDUNIT eUit); 66 FWL_ERR SetWidgetSize(IFWL_Widget *pWidget, FWL_ GRIDSIZE eSize, FX_FLOAT fSize, FWL_GRIDUNIT eUit);
67 FX_BOOL GetWidgetMargin(IFWL_Widget *pWidget, FW L_GRIDMARGIN eMargin, FX_FLOAT &fMargin); 67 FX_BOOL GetWidgetMargin(IFWL_Widget *pWidget, FW L_GRIDMARGIN eMargin, FX_FLOAT &fMargin);
68 FWL_ERR SetWidgetMargin(IFWL_Widget *pWidget, FW L_GRIDMARGIN eMargin, FX_FLOAT fMargin); 68 FWL_ERR SetWidgetMargin(IFWL_Widget *pWidget, FW L_GRIDMARGIN eMargin, FX_FLOAT fMargin);
69 FWL_ERR RemoveWidgetMargin(IFWL_Widget *pWidget, FWL_GRIDMARGIN eMargin); 69 FWL_ERR RemoveWidgetMargin(IFWL_Widget *pWidget, FWL_GRIDMARGIN eMargin);
70 FX_FLOAT GetGridSize(FWL_GRIDSIZE eSize, FWL_GRIDUNIT &eU nit); 70 FX_FLOAT GetGridSize(FWL_GRIDSIZE eSize, FWL_GRIDUNIT &eU nit);
71 FWL_ERR SetGridSize(FWL_GRIDSIZE eSize, FX_FLOAT fSize, FWL_GRIDUNIT eUit); 71 FWL_ERR SetGridSize(FWL_GRIDSIZE eSize, FX_FLOAT fSize, FWL_GRIDUNIT eUit);
72 protected: 72 protected:
73 IFWL_Grid(); 73 IFWL_Grid();
74 virtual ~IFWL_Grid(); 74 virtual ~IFWL_Grid();
75 }; 75 };
76 #endif 76 #endif
OLDNEW
« no previous file with comments | « xfa/include/fwl/core/fwl_error.h ('k') | xfa/include/fwl/core/fwl_note.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698