mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
make default const static
This commit is contained in:
parent
d139fc51e3
commit
0a7c3a6055
8 changed files with 15 additions and 15 deletions
|
|
@ -71,9 +71,9 @@ namespace app
|
||||||
app::browser::Main * browserMain;
|
app::browser::Main * browserMain;
|
||||||
|
|
||||||
// Defaults
|
// Defaults
|
||||||
const int WIDTH = 640;
|
static const int WIDTH = 640;
|
||||||
const int HEIGHT = 480;
|
static const int HEIGHT = 480;
|
||||||
const bool IS_FULLSCREEN = false;
|
static const bool IS_FULLSCREEN = false;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Browser class API
|
* Browser class API
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ namespace app::browser
|
||||||
header::Tab * headerTab;
|
header::Tab * headerTab;
|
||||||
|
|
||||||
// Defaults
|
// Defaults
|
||||||
const bool SHOW_TITLE_BUTTONS = true;
|
static const bool SHOW_TITLE_BUTTONS = true;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ namespace app::browser
|
||||||
main::Tab * mainTab;
|
main::Tab * mainTab;
|
||||||
|
|
||||||
// Defaults
|
// Defaults
|
||||||
const bool HOMOGENEOUS = true;
|
static const bool HOMOGENEOUS = true;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Main class API
|
* Main class API
|
||||||
|
|
|
||||||
|
|
@ -75,8 +75,8 @@ namespace app::browser::main
|
||||||
action__update;
|
action__update;
|
||||||
|
|
||||||
// Defaults
|
// Defaults
|
||||||
const bool REORDERABLE = true;
|
static const bool REORDERABLE = true;
|
||||||
const bool SCROLLABLE = true;
|
static const bool SCROLLABLE = true;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Tab class API
|
* Tab class API
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ namespace app::browser::main::tab
|
||||||
Glib::RefPtr<Gio::SimpleAction> action__tab_close;
|
Glib::RefPtr<Gio::SimpleAction> action__tab_close;
|
||||||
|
|
||||||
// Defaults
|
// Defaults
|
||||||
int WIDTH_CHARS = 16;
|
static const int WIDTH_CHARS = 16;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Class API
|
* Class API
|
||||||
|
|
|
||||||
|
|
@ -72,8 +72,8 @@ namespace app::browser::main::tab::page::content::text::gemini
|
||||||
Glib::RefPtr<Gio::SimpleAction> action__open_link_variant;
|
Glib::RefPtr<Gio::SimpleAction> action__open_link_variant;
|
||||||
|
|
||||||
// Defaults
|
// Defaults
|
||||||
const int MARGIN_START = 8;
|
static const int MARGIN_START = 8;
|
||||||
const int MARGIN_END = 8;
|
static const int MARGIN_END = 8;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reader class API
|
* Reader class API
|
||||||
|
|
|
||||||
|
|
@ -72,8 +72,8 @@ namespace app::browser::main::tab::page
|
||||||
navigation::Request * navigationRequest;
|
navigation::Request * navigationRequest;
|
||||||
|
|
||||||
// Defaults
|
// Defaults
|
||||||
const int SPACING = 8;
|
static const int SPACING = 8;
|
||||||
const int MARGIN = 8;
|
static const int MARGIN = 8;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Class API
|
* Class API
|
||||||
|
|
|
||||||
|
|
@ -69,9 +69,9 @@ namespace app::browser::main::tab::page::navigation
|
||||||
sigc::connection progress_connection;
|
sigc::connection progress_connection;
|
||||||
|
|
||||||
// Defaults
|
// Defaults
|
||||||
const bool HEXPAND = true;
|
static const bool HEXPAND = true;
|
||||||
const double PROGRESS_PULSE_STEP = .1;
|
static const int PROGRESS_ANIMATION_TIME = 10;
|
||||||
const int PROGRESS_ANIMATION_TIME = 10;
|
const double PROGRESS_PULSE_STEP = .1; // @TODO static?
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Class API
|
* Class API
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue