Orcus
view_types.hpp
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This Source Code Form is subject to the terms of the Mozilla Public
4  * License, v. 2.0. If a copy of the MPL was not distributed with this
5  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6  */
7 
8 #ifndef ORCUS_SPREADSHEET_VIEW_TYPES_HPP
9 #define ORCUS_SPREADSHEET_VIEW_TYPES_HPP
10 
11 #include "orcus/spreadsheet/types.hpp"
12 
13 namespace orcus { namespace spreadsheet {
14 
19 enum class sheet_pane_t : uint8_t
20 {
21  unspecified = 0,
23  top_left,
25  top_right,
27  bottom_left,
29  bottom_right
30 };
31 
35 enum class pane_state_t : uint8_t
36 {
38  unspecified = 0,
40  frozen,
42  split,
44  frozen_split
45 };
46 
51 {
56  double hor_split;
57 
62  double ver_split;
63 
70 };
71 
76 {
84  row_t visible_rows;
89 };
90 
91 }}
92 
93 #endif
94 
95 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: types.hpp:581
Definition: view_types.hpp:76
address_t top_left_cell
Definition: view_types.hpp:88
col_t visible_columns
Definition: view_types.hpp:80
row_t visible_rows
Definition: view_types.hpp:84
Definition: view_types.hpp:51
double ver_split
Definition: view_types.hpp:62
address_t top_left_cell
Definition: view_types.hpp:69
double hor_split
Definition: view_types.hpp:56