Open3D (C++ API)
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 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 
31 #include "Open3D/GUI/Color.h"
32 #include "Open3D/GUI/Gui.h"
33 #include "Open3D/GUI/Widget.h"
34 
35 namespace open3d {
36 namespace gui {
37 
38 struct Theme {
40 
41  std::string font_path;
42  int font_size;
46 
50 
52 
60 
66 
70 
72 
74 
78 
81 };
82 
83 } // namespace gui
84 } // namespace open3d
int default_layout_spacing
Definition: Theme.h:44
int default_margin
Definition: Theme.h:43
Color button_on_hover_color
Definition: Theme.h:57
Color combobox_hover_color
Definition: Theme.h:68
Color text_edit_background_color
Definition: Theme.h:73
Color button_on_color
Definition: Theme.h:56
Color menubar_border_color
Definition: Theme.h:51
Color checkbox_background_on_color
Definition: Theme.h:62
Color checkbox_background_hover_off_color
Definition: Theme.h:63
Color text_color
Definition: Theme.h:45
int border_radius
Definition: Theme.h:48
Color checkbox_background_off_color
Definition: Theme.h:61
Color combobox_arrow_background_color
Definition: Theme.h:69
Color tab_hover_color
Definition: Theme.h:76
Definition: Color.h:32
int dialog_border_radius
Definition: Theme.h:80
Color checkbox_background_hover_on_color
Definition: Theme.h:64
Color button_active_color
Definition: Theme.h:55
Color button_on_active_color
Definition: Theme.h:58
int border_width
Definition: Theme.h:47
Color checkbox_check_color
Definition: Theme.h:65
Color button_color
Definition: Theme.h:53
Color button_hover_color
Definition: Theme.h:54
Color background_color
Definition: Theme.h:39
Color border_color
Definition: Theme.h:49
Color button_on_text_color
Definition: Theme.h:59
int font_size
Definition: Theme.h:42
Definition: Open3DViewer.h:29
Color combobox_background_color
Definition: Theme.h:67
std::string font_path
Definition: Theme.h:41
int dialog_border_width
Definition: Theme.h:79
Color tab_inactive_color
Definition: Theme.h:75
Color slider_grab_color
Definition: Theme.h:71
Color tab_active_color
Definition: Theme.h:77
Definition: Theme.h:38