Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More documentation and dead code disabling #83

Merged
merged 1 commit into from
Apr 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions lvgl/src/lv_core/obj.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
//! Native LVGL objects
//!
//! Objects are individual elements of a displayed surface, similar to widgets.
//! Specifically, an object can either be a widget or a screen. Screen objects
//! are special in that they do not have a parent object and do not implement
//! the `Widget` trait, but do implement `NativeObject`.

use crate::lv_core::style::Style;
use crate::{Align, LvError, LvResult};
use core::ptr;
Expand Down
9 changes: 8 additions & 1 deletion lvgl/src/widgets/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
mod arc;
//! Widget-specific features
//!
//! Widgets represent individual elements on the screen. Each widget has
//! associated information, namely its parent widget and its styling data. A
//! widget with no parent will have a screen as its parent. Style data is
//! inherited from parent objects by default.

//mod arc;
mod bar;
mod label;
mod meter;
Expand Down