Skip to content

Commit 59d3253

Browse files
committed
fix docs
1 parent 4db38bc commit 59d3253

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fltk-theme"
3-
version = "0.7.6"
3+
version = "0.7.7"
44
authors = ["MoAlyousef <mohammed.alyousef@neurosrg.com>"]
55
edition = "2021"
66
description = "A theming crate for fltk-rs"

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,19 +166,25 @@ You can check the frames example to see all `FrameType`'s you can apply to you w
166166
- Fleet themes:
167167
From the excellent [FLEET library](https://github.com/CyprinusCarpio/fleet):
168168
- GRUVBOX_DARK
169-
- ![Image](https://github.com/user-attachments/assets/807fe4d3-7446-4695-bf61-e47724b13dbb)
169+
- ![Image](https://github.com/user-attachments/assets/7e0b21ee-2e07-4271-8846-20ccae6bff3c)
170170

171171
- DRACULA
172-
- ![Image](https://github.com/user-attachments/assets/38aa0bd0-7765-4dc4-9dc6-521a1924a722)
172+
- ![Image](https://github.com/user-attachments/assets/06925fad-b7d8-4e87-a693-a58074e924a8)
173173

174174
- PURPLE_DUSK
175-
- ![Image](https://github.com/user-attachments/assets/a5dcaa1f-74d6-4b4e-87ea-6c4e70120a35)
175+
- ![Image](https://github.com/user-attachments/assets/1a6660e2-887c-45b4-88f7-67d6ecbe5f3a)
176176

177177
- MONOKAI
178-
- ![Image](https://github.com/user-attachments/assets/dd6be717-565e-4e02-a8c1-cab3ceaf3803)
178+
- ![Image](https://github.com/user-attachments/assets/8cde497e-e72f-407a-b2b9-078eecafb12b)
179179

180180
- CYBERPUNK
181-
- ![Image](https://github.com/user-attachments/assets/f9ec7698-364a-4249-8bc6-36ee216c19bc)
181+
- ![Image](https://github.com/user-attachments/assets/cc2f8bb4-a805-4eb5-a25d-0752f4cdfbf2)
182+
183+
- SOLARIZED_DARK
184+
- ![Image](https://github.com/user-attachments/assets/c964fd73-2a54-47c2-8a49-62ed5f9874f1)
185+
186+
- MATERIAL_DARK
187+
- ![Image](https://github.com/user-attachments/assets/617643fc-9e30-4879-b2e2-b46fb3721bde)
182188

183189
- And others.
184190

examples/fleet_color_themes.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
use fltk::{enums::*, prelude::*, *};
1+
use fltk::{prelude::*, *};
22
use fltk_theme::{color_themes, reset_color_map, ColorMap, ColorTheme};
3-
use fltk_theme::{SchemeType, WidgetScheme};
43

54
const FLEET_THEMES: &[&[ColorMap]] = &[
65
color_themes::fleet::LIGHT,
@@ -37,12 +36,11 @@ fn main() {
3736
color_theme.apply();
3837
let mut win = window::Window::default()
3938
.with_size(400, 300)
40-
.with_label("Color Theme");
39+
.with_label("Fleet Color Theme");
4140
let mut col = group::Flex::default()
4241
.with_size(340, 240)
4342
.center_of_parent()
4443
.column();
45-
col.set_frame(FrameType::EngravedBox);
4644
col.set_margins(80, 40, 80, 40);
4745
let mut choice = menu::Choice::default();
4846
choice.add_choice(

0 commit comments

Comments
 (0)