aboutsummaryrefslogtreecommitdiff
path: root/src/client/gui/mod.rs
diff options
context:
space:
mode:
authorArne Dußin2021-01-27 14:01:50 +0100
committerArne Dußin2021-02-02 22:16:15 +0100
commitf92e9f6f07b1e3834c2ca58ce3510734819d08e4 (patch)
tree20e3d3afce342a56ae98f6c20491482ccd2b5c6b /src/client/gui/mod.rs
parentc60a6d07efb120724b308e29e8e70f27c87c952d (diff)
downloadgraf_karto-f92e9f6f07b1e3834c2ca58ce3510734819d08e4.tar.gz
graf_karto-f92e9f6f07b1e3834c2ca58ce3510734819d08e4.zip
Rework graf karto to fit the client/server structure
Diffstat (limited to 'src/client/gui/mod.rs')
-rw-r--r--src/client/gui/mod.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/client/gui/mod.rs b/src/client/gui/mod.rs
new file mode 100644
index 0000000..62173ec
--- /dev/null
+++ b/src/client/gui/mod.rs
@@ -0,0 +1,18 @@
+//! General graphical user interfaces
+//!
+//! This mod does not contain all graphical content on screen, but all user interfaces that is drawn
+//! that is not contained in a different category. This means all interface elements where it does not
+//! make sense to bind it to any other part of the program, for instance a tool or type of element.
+//! It also does *not* contain anything that does anything that is not triggered by the user, which
+//! means everything is called top-down from this module. A function in this module should not be
+//! called from any point in the program except the main loop, where the user input is polled.
+
+pub mod decimal_num_box;
+pub mod dimension_indicator;
+pub mod position_indicator;
+pub mod tool_sidebar;
+
+pub use self::decimal_num_box::*;
+pub use self::dimension_indicator::*;
+pub use self::position_indicator::*;
+pub use self::tool_sidebar::*;