mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
52 lines
No EOL
720 B
C++
52 lines
No EOL
720 B
C++
#include "main.hpp"
|
|
#include "main/title.hpp"
|
|
#include "main/subtitle.hpp"
|
|
|
|
using namespace app::browser::header;
|
|
|
|
Main::Main()
|
|
{
|
|
// Init container
|
|
set_orientation(
|
|
Gtk::Orientation::VERTICAL
|
|
);
|
|
|
|
set_homogeneous(
|
|
HOMOGENEOUS
|
|
);
|
|
|
|
// Init title
|
|
mainTitle = new main::Title();
|
|
|
|
append(
|
|
* mainTitle
|
|
);
|
|
|
|
mainSubtitle = new main::Subtitle();
|
|
|
|
append(
|
|
* mainSubtitle
|
|
);
|
|
}
|
|
|
|
Main::~Main()
|
|
{
|
|
delete mainTitle;
|
|
delete mainSubtitle;
|
|
}
|
|
|
|
void Main::set_title(
|
|
const Glib::ustring & VALUE
|
|
) {
|
|
mainTitle->set(
|
|
VALUE
|
|
);
|
|
}
|
|
|
|
void Main::set_subtitle(
|
|
const Glib::ustring & VALUE
|
|
) {
|
|
mainSubtitle->set(
|
|
VALUE
|
|
);
|
|
} |