Skip to content

Commit

Permalink
move economy to newgui
Browse files Browse the repository at this point in the history
  • Loading branch information
Uriopass committed Feb 5, 2024
1 parent 902c484 commit 2101246
Show file tree
Hide file tree
Showing 45 changed files with 894 additions and 1,095 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions assets_gui/src/yakui_gui.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use yakui::widgets::{List, Pad, StateResponse};
use yakui::widgets::{CountGrid, List, Pad, StateResponse};
use yakui::{
colored_box_container, column, constrained, row, use_state, Constraints, CrossAxisAlignment,
MainAxisAlignment, MainAxisSize, Response, Vec2,
Expand All @@ -11,8 +11,7 @@ use geom::Matrix4;
use goryak::{
background, button_primary, checkbox_value, divider, dragvalue, icon, interact_box_radius,
is_hovered, on_secondary_container, on_surface, outline_variant, round_rect, scroll_vertical,
secondary_container, set_theme, surface, surface_variant, textc, use_changed, CountGrid,
RoundRect, Theme,
secondary_container, set_theme, surface, surface_variant, textc, use_changed, RoundRect, Theme,
};
use prototypes::{prototypes_iter, GoodsCompanyID, GoodsCompanyPrototype};

Expand Down
323 changes: 0 additions & 323 deletions goryak/src/count_grid.rs

This file was deleted.

4 changes: 2 additions & 2 deletions goryak/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
mod blur_bg;
mod combo_box;
mod constrained_viewport;
mod count_grid;
mod divider;
mod dragvalue;
mod hovered;
Expand All @@ -11,6 +10,7 @@ mod interact_box;
mod layout;
mod roundrect;
mod scroll;
mod selectable_label;
mod text;
mod theme;
mod tooltip;
Expand All @@ -20,7 +20,6 @@ mod window;
pub use blur_bg::*;
pub use combo_box::*;
pub use constrained_viewport::*;
pub use count_grid::*;
pub use divider::*;
pub use dragvalue::*;
pub use hovered::*;
Expand All @@ -30,6 +29,7 @@ pub use interact_box::*;
pub use layout::*;
pub use roundrect::*;
pub use scroll::*;
pub use selectable_label::*;
pub use text::*;
pub use theme::*;
pub use util::*;
Expand Down
Loading

0 comments on commit 2101246

Please sign in to comment.