OLD | NEW |
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 FX_FLOAT& fMargin); | 75 FX_FLOAT& fMargin); |
76 FWL_ERR SetWidgetMargin(IFWL_Widget* pWidget, | 76 FWL_ERR SetWidgetMargin(IFWL_Widget* pWidget, |
77 FWL_GRIDMARGIN eMargin, | 77 FWL_GRIDMARGIN eMargin, |
78 FX_FLOAT fMargin); | 78 FX_FLOAT fMargin); |
79 FWL_ERR RemoveWidgetMargin(IFWL_Widget* pWidget, FWL_GRIDMARGIN eMargin); | 79 FWL_ERR RemoveWidgetMargin(IFWL_Widget* pWidget, FWL_GRIDMARGIN eMargin); |
80 FX_FLOAT GetGridSize(FWL_GRIDSIZE eSize, FWL_GRIDUNIT& eUnit); | 80 FX_FLOAT GetGridSize(FWL_GRIDSIZE eSize, FWL_GRIDUNIT& eUnit); |
81 FWL_ERR SetGridSize(FWL_GRIDSIZE eSize, FX_FLOAT fSize, FWL_GRIDUNIT eUit); | 81 FWL_ERR SetGridSize(FWL_GRIDSIZE eSize, FX_FLOAT fSize, FWL_GRIDUNIT eUit); |
82 | 82 |
83 protected: | 83 protected: |
84 IFWL_Grid(); | 84 IFWL_Grid(); |
85 virtual ~IFWL_Grid(); | |
86 }; | 85 }; |
87 #endif | 86 #endif |
OLD | NEW |