mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
remove extra access level definition
This commit is contained in:
parent
5fff73f17b
commit
09542c5134
12 changed files with 50 additions and 74 deletions
|
|
@ -9,12 +9,10 @@ namespace app::browser::main
|
|||
{
|
||||
class Tab : public Gtk::Notebook
|
||||
{
|
||||
private:
|
||||
|
||||
void on_switch(
|
||||
Gtk::Widget * page,
|
||||
guint page_num
|
||||
);
|
||||
void on_switch(
|
||||
Gtk::Widget * page,
|
||||
guint page_num
|
||||
);
|
||||
|
||||
public:
|
||||
|
||||
|
|
|
|||
|
|
@ -10,15 +10,13 @@ namespace app::browser::main::tab
|
|||
{
|
||||
class Label : public Gtk::Label
|
||||
{
|
||||
private:
|
||||
Glib::RefPtr<Gtk::GestureClick> controller;
|
||||
|
||||
Glib::RefPtr<Gtk::GestureClick> controller;
|
||||
|
||||
void on_click(
|
||||
int n,
|
||||
double x,
|
||||
double y
|
||||
);
|
||||
void on_click(
|
||||
int n,
|
||||
double x,
|
||||
double y
|
||||
);
|
||||
|
||||
public:
|
||||
|
||||
|
|
|
|||
|
|
@ -22,16 +22,14 @@ namespace app::browser::main::tab
|
|||
|
||||
class Page : public Gtk::Box
|
||||
{
|
||||
private:
|
||||
char buffer[0xfffff];
|
||||
|
||||
char buffer[0xfffff];
|
||||
Glib::RefPtr<Gio::SimpleActionGroup> action_group;
|
||||
Glib::RefPtr<Gio::SocketClient> socket_client;
|
||||
Glib::RefPtr<Gio::SocketConnection> socket_connection;
|
||||
|
||||
Glib::RefPtr<Gio::SimpleActionGroup> action_group;
|
||||
Glib::RefPtr<Gio::SocketClient> socket_client;
|
||||
Glib::RefPtr<Gio::SocketConnection> socket_connection;
|
||||
|
||||
page::Navbar * navbar;
|
||||
page::Content * content;
|
||||
page::Navbar * navbar;
|
||||
page::Content * content;
|
||||
|
||||
public:
|
||||
|
||||
|
|
|
|||
|
|
@ -20,21 +20,19 @@ namespace app::browser::main::tab::page
|
|||
|
||||
class Navbar : public Gtk::Box
|
||||
{
|
||||
private:
|
||||
// Actions
|
||||
Glib::RefPtr<Gio::SimpleActionGroup> action_group;
|
||||
|
||||
// Actions
|
||||
Glib::RefPtr<Gio::SimpleActionGroup> action_group;
|
||||
// Components
|
||||
navbar::Base * base;
|
||||
navbar::Bookmark * bookmark;
|
||||
navbar::History * history;
|
||||
navbar::Request * request;
|
||||
navbar::Update * update;
|
||||
|
||||
// Components
|
||||
navbar::Base * base;
|
||||
navbar::Bookmark * bookmark;
|
||||
navbar::History * history;
|
||||
navbar::Request * request;
|
||||
navbar::Update * update;
|
||||
|
||||
// Defaults
|
||||
const int SPACING = 8;
|
||||
const int MARGIN = 8;
|
||||
// Defaults
|
||||
const int SPACING = 8;
|
||||
const int MARGIN = 8;
|
||||
|
||||
public:
|
||||
|
||||
|
|
|
|||
|
|
@ -14,10 +14,8 @@ namespace app::browser::main::tab::page::navbar
|
|||
|
||||
class History : public Gtk::Box
|
||||
{
|
||||
private:
|
||||
|
||||
history::Back * back;
|
||||
history::Forward * forward;
|
||||
history::Back * back;
|
||||
history::Forward * forward;
|
||||
|
||||
public:
|
||||
|
||||
|
|
|
|||
|
|
@ -11,15 +11,13 @@ namespace app::browser::main::tab::page::navbar
|
|||
{
|
||||
class Request : public Gtk::Entry
|
||||
{
|
||||
private:
|
||||
std::string scheme,
|
||||
host,
|
||||
port,
|
||||
path,
|
||||
query;
|
||||
|
||||
std::string scheme,
|
||||
host,
|
||||
port,
|
||||
path,
|
||||
query;
|
||||
|
||||
void parse();
|
||||
void parse();
|
||||
|
||||
public:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue