Browse Source

rename Main box to Tab

main
yggverse 3 months ago
parent
commit
a1fa9f96e7
  1. 4
      src/Box/Tab.php
  2. 2
      src/Theme/default.css
  3. 4
      src/Yoda.php

4
src/Box/Main.php → src/Box/Tab.php

@ -4,7 +4,7 @@ declare(strict_types=1); @@ -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 @@ -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();

2
src/Theme/default.css

@ -1,3 +1,3 @@ @@ -1,3 +1,3 @@
#boxMenu {}
#boxNavigation {}
#boxMain {}
#boxTab {}

4
src/Yoda.php

@ -61,10 +61,10 @@ $window->connect( @@ -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();

Loading…
Cancel
Save