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
13namespace orcus { namespace spreadsheet {
14
18enum class sheet_pane_t : uint8_t
19{
20 unspecified = 0,
21 top_left,
22 top_right,
23 bottom_left,
24 bottom_right
25};
26
30enum class pane_state_t : uint8_t
31{
32 unspecified = 0,
33 frozen,
34 split,
35 frozen_split
36};
37
42{
47 double hor_split;
48
53 double ver_split;
54
61};
62
67{
68 col_t visible_columns;
69 row_t visible_rows;
70
71 address_t top_left_cell;
72};
73
74}}
75
76#endif
77
78/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: types.hpp:395
Definition: view_types.hpp:67
Definition: view_types.hpp:42
double ver_split
Definition: view_types.hpp:53
address_t top_left_cell
Definition: view_types.hpp:60
double hor_split
Definition: view_types.hpp:47