Skip to main content

nappgui/
lib.rs

1#![doc = include_str!("../README.md")]
2#![warn(missing_docs)]
3
4pub(crate) mod util;
5
6/// Just as a building needs a strong foundation, any software project must be supported by robust
7/// and efficient pillars. For this purpose, the core library has been developed, which provides
8/// commonly used non-graphical utilities.
9pub mod core;
10/// The Draw2D library integrates all the functionality necessary to create two dimensions vector
11/// graphics. It depends directly on Geom2D and, as we will see later, drawing does not
12/// imply having a graphical user interface in the program.
13pub mod draw_2d;
14/// The Gui library allows you to create graphical user interfaces in a simple and intuitive way.
15/// Only available for desktop applications for obvious reasons, unlike the rest of libraries
16/// that can also be used in command line applications.
17pub mod gui;
18/// The OSApp library starts and manages the message cycle of a desktop application.
19pub mod osapp;
20
21/// Nappgui Error types
22pub mod error;
23/// Wrapper inner types
24pub mod types;
25
26/// Enums and types
27pub mod prelude {
28    pub use crate::core::*;
29    pub use crate::draw_2d::*;
30    pub use crate::error::*;
31    pub use crate::gui::*;
32    pub use crate::types::*;
33}
34
35/// Embed resources
36pub use nappgui_macros::include_resource;