Open3D (C++ API)  0.16.0
Theme.h
Go to the documentation of this file.
1// ----------------------------------------------------------------------------
2// - Open3D: www.open3d.org -
3// ----------------------------------------------------------------------------
4// The MIT License (MIT)
5//
6// Copyright (c) 2018-2021 www.open3d.org
7//
8// Permission is hereby granted, free of charge, to any person obtaining a copy
9// of this software and associated documentation files (the "Software"), to deal
10// in the Software without restriction, including without limitation the rights
11// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12// copies of the Software, and to permit persons to whom the Software is
13// furnished to do so, subject to the following conditions:
14//
15// The above copyright notice and this permission notice shall be included in
16// all copies or substantial portions of the Software.
17//
18// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24// IN THE SOFTWARE.
25// ----------------------------------------------------------------------------
26
27#pragma once
28
29#include <string>
30
34
35namespace open3d {
36namespace visualization {
37namespace gui {
38
39struct Theme {
41
42 std::string font_path;
43 std::string font_bold_path;
44 std::string font_italic_path;
46 std::string font_mono_path;
51
55
57
65
71
76
82
86
88
90
94
97
101
104};
105
106} // namespace gui
107} // namespace visualization
108} // namespace open3d
Definition: Color.h:35
Definition: PinholeCameraIntrinsic.cpp:35
Definition: Theme.h:39
Color combobox_arrow_background_color
Definition: Theme.h:85
int default_layout_spacing
Definition: Theme.h:49
Color text_edit_background_color
Definition: Theme.h:89
Color toggle_background_off_color
Definition: Theme.h:77
Color button_on_hover_color
Definition: Theme.h:62
int font_size
Definition: Theme.h:47
Color toggle_background_hover_off_color
Definition: Theme.h:79
Color button_color
Definition: Theme.h:58
std::string font_path
Definition: Theme.h:42
std::string font_bold_italic_path
Definition: Theme.h:45
int border_radius
Definition: Theme.h:53
Color list_selected_color
Definition: Theme.h:93
Color background_color
Definition: Theme.h:40
int border_width
Definition: Theme.h:52
Color list_background_color
Definition: Theme.h:91
Color tab_active_color
Definition: Theme.h:100
Color toggle_background_on_color
Definition: Theme.h:78
Color list_hover_color
Definition: Theme.h:92
Color button_on_text_color
Definition: Theme.h:64
Color tab_inactive_color
Definition: Theme.h:98
Color button_hover_color
Definition: Theme.h:59
Color radiobtn_background_hover_off_color
Definition: Theme.h:74
Color checkbox_background_hover_off_color
Definition: Theme.h:68
Color menubar_border_color
Definition: Theme.h:56
std::string font_mono_path
Definition: Theme.h:46
int default_margin
Definition: Theme.h:48
Color border_color
Definition: Theme.h:54
Color toggle_thumb_color
Definition: Theme.h:81
Color checkbox_background_on_color
Definition: Theme.h:67
Color toggle_background_hover_on_color
Definition: Theme.h:80
Color text_color
Definition: Theme.h:50
Color button_on_active_color
Definition: Theme.h:63
int dialog_border_radius
Definition: Theme.h:103
std::string font_italic_path
Definition: Theme.h:44
Color button_active_color
Definition: Theme.h:60
Color combobox_hover_color
Definition: Theme.h:84
int dialog_border_width
Definition: Theme.h:102
Color tree_selected_color
Definition: Theme.h:96
Color checkbox_background_hover_on_color
Definition: Theme.h:69
Color checkbox_check_color
Definition: Theme.h:70
Color button_on_color
Definition: Theme.h:61
Color slider_grab_color
Definition: Theme.h:87
Color checkbox_background_off_color
Definition: Theme.h:66
std::string font_bold_path
Definition: Theme.h:43
Color radiobtn_background_hover_on_color
Definition: Theme.h:75
Color tab_hover_color
Definition: Theme.h:99
Color tree_background_color
Definition: Theme.h:95
Color radiobtn_background_on_color
Definition: Theme.h:73
Color combobox_background_color
Definition: Theme.h:83
Color radiobtn_background_off_color
Definition: Theme.h:72