mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 13:04:13 +00:00
add page subtitle support
This commit is contained in:
parent
c22b3a6b30
commit
9be94979b9
@ -7,10 +7,12 @@ using namespace app::browser::main::tab;
|
|||||||
|
|
||||||
Page::Page(
|
Page::Page(
|
||||||
const Glib::ustring & TITLE,
|
const Glib::ustring & TITLE,
|
||||||
|
const Glib::ustring & SUBTITLE,
|
||||||
const Glib::ustring & REQUEST
|
const Glib::ustring & REQUEST
|
||||||
) {
|
) {
|
||||||
// Init extras
|
// Init extras
|
||||||
title = TITLE;
|
title = TITLE;
|
||||||
|
subtitle = SUBTITLE;
|
||||||
|
|
||||||
// Init container
|
// Init container
|
||||||
set_orientation(
|
set_orientation(
|
||||||
|
@ -28,6 +28,7 @@ namespace app::browser::main::tab
|
|||||||
char buffer[0xfffff]; // 1Mb
|
char buffer[0xfffff]; // 1Mb
|
||||||
|
|
||||||
Glib::ustring title;
|
Glib::ustring title;
|
||||||
|
Glib::ustring subtitle;
|
||||||
|
|
||||||
Glib::RefPtr<Gio::SocketClient> GioSocketClient_RefPtr;
|
Glib::RefPtr<Gio::SocketClient> GioSocketClient_RefPtr;
|
||||||
Glib::RefPtr<Gio::SocketConnection> GioSocketConnection_RefPtr;
|
Glib::RefPtr<Gio::SocketConnection> GioSocketConnection_RefPtr;
|
||||||
@ -40,6 +41,7 @@ namespace app::browser::main::tab
|
|||||||
|
|
||||||
Page(
|
Page(
|
||||||
const Glib::ustring & TITLE,
|
const Glib::ustring & TITLE,
|
||||||
|
const Glib::ustring & SUBTITLE = "",
|
||||||
const Glib::ustring & REQUEST = ""
|
const Glib::ustring & REQUEST = ""
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user