Make more demo-friendly
This commit is contained in:
parent
722013a3c9
commit
c22baff89e
|
@ -10,7 +10,7 @@ use canary_script::*;
|
||||||
use glam::Vec2;
|
use glam::Vec2;
|
||||||
use widgets::Widget;
|
use widgets::Widget;
|
||||||
|
|
||||||
export_abi!(ConfirmationDialogPanel);
|
export_abi!(MainMenuPanel);
|
||||||
|
|
||||||
pub struct MainMenuPanel {
|
pub struct MainMenuPanel {
|
||||||
panel: Panel,
|
panel: Panel,
|
||||||
|
|
|
@ -187,7 +187,7 @@ pub struct SettingsMenu {
|
||||||
impl SettingsMenu {
|
impl SettingsMenu {
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
let icon_font = Font::new("Iosevka Nerd Font");
|
let icon_font = Font::new("Iosevka Nerd Font");
|
||||||
let label_font = Font::new("Leon Sans");
|
let label_font = Font::new("Liberation Sans");
|
||||||
|
|
||||||
let button_texts = [
|
let button_texts = [
|
||||||
("Graphics", ""),
|
("Graphics", ""),
|
||||||
|
|
Loading…
Reference in New Issue