Orcus
Toggle main menu visibility
Loading...
Searching...
No Matches
include
orcus
spreadsheet
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
50
struct
split_pane_t
51
{
56
double
hor_split
;
57
62
double
ver_split
;
63
69
address_t
top_left_cell
;
70
};
71
75
struct
frozen_pane_t
76
{
80
col_t
visible_columns
;
84
row_t
visible_rows
;
88
address_t
top_left_cell
;
89
};
90
91
}}
92
93
#endif
94
95
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
orcus::spreadsheet::address_t
Definition
types.hpp:689
orcus::spreadsheet::frozen_pane_t
Definition
view_types.hpp:76
orcus::spreadsheet::frozen_pane_t::top_left_cell
address_t top_left_cell
Definition
view_types.hpp:88
orcus::spreadsheet::frozen_pane_t::visible_columns
col_t visible_columns
Definition
view_types.hpp:80
orcus::spreadsheet::frozen_pane_t::visible_rows
row_t visible_rows
Definition
view_types.hpp:84
orcus::spreadsheet::split_pane_t
Definition
view_types.hpp:51
orcus::spreadsheet::split_pane_t::ver_split
double ver_split
Definition
view_types.hpp:62
orcus::spreadsheet::split_pane_t::top_left_cell
address_t top_left_cell
Definition
view_types.hpp:69
orcus::spreadsheet::split_pane_t::hor_split
double hor_split
Definition
view_types.hpp:56
Generated on
for Orcus by
1.17.0