From a1fa9f96e757421ebc9a85bf5a1aaae7ed79393b Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 10 Apr 2024 05:27:11 +0300 Subject: [PATCH] rename Main box to Tab --- src/Box/{Main.php => Tab.php} | 4 ++-- src/Theme/default.css | 2 +- src/Yoda.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename src/Box/{Main.php => Tab.php} (98%) diff --git a/src/Box/Main.php b/src/Box/Tab.php similarity index 98% rename from src/Box/Main.php rename to src/Box/Tab.php index 9367c14..637d0d1 100644 --- a/src/Box/Main.php +++ b/src/Box/Tab.php @@ -4,7 +4,7 @@ declare(strict_types=1); namespace Yggverse\Yoda\Box; -class Main +class Tab { public \GtkBox $box; @@ -16,7 +16,7 @@ class Main public \Yggverse\Yoda\Model\Memory $memory; public function __construct( - string $name = 'boxMain' + string $name = 'boxTab' ) { // Init memory $this->memory = new \Yggverse\Yoda\Model\Memory(); diff --git a/src/Theme/default.css b/src/Theme/default.css index 6fa3f0c..e6f46b0 100644 --- a/src/Theme/default.css +++ b/src/Theme/default.css @@ -1,3 +1,3 @@ #boxMenu {} #boxNavigation {} -#boxMain {} \ No newline at end of file +#boxTab {} \ No newline at end of file diff --git a/src/Yoda.php b/src/Yoda.php index 6e58d05..0975621 100644 --- a/src/Yoda.php +++ b/src/Yoda.php @@ -61,10 +61,10 @@ $window->connect( } ); -$main = new \Yggverse\Yoda\Box\Main(); +$tab = new \Yggverse\Yoda\Box\Tab(); $window->add( - $main->box + $tab->box ); $window->show_all();