mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +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;
|
||||
|
||||
// Defaults
|
||||
const int WIDTH = 640;
|
||||
const int HEIGHT = 480;
|
||||
const bool IS_FULLSCREEN = false;
|
||||
static const int WIDTH = 640;
|
||||
static const int HEIGHT = 480;
|
||||
static const bool IS_FULLSCREEN = false;
|
||||
|
||||
/*
|
||||
* Browser class API
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ namespace app::browser
|
|||
header::Tab * headerTab;
|
||||
|
||||
// Defaults
|
||||
const bool SHOW_TITLE_BUTTONS = true;
|
||||
static const bool SHOW_TITLE_BUTTONS = true;
|
||||
|
||||
public:
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ namespace app::browser
|
|||
main::Tab * mainTab;
|
||||
|
||||
// Defaults
|
||||
const bool HOMOGENEOUS = true;
|
||||
static const bool HOMOGENEOUS = true;
|
||||
|
||||
/*
|
||||
* Main class API
|
||||
|
|
|
|||
|
|
@ -75,8 +75,8 @@ namespace app::browser::main
|
|||
action__update;
|
||||
|
||||
// Defaults
|
||||
const bool REORDERABLE = true;
|
||||
const bool SCROLLABLE = true;
|
||||
static const bool REORDERABLE = true;
|
||||
static const bool SCROLLABLE = true;
|
||||
|
||||
/*
|
||||
* Tab class API
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ namespace app::browser::main::tab
|
|||
Glib::RefPtr<Gio::SimpleAction> action__tab_close;
|
||||
|
||||
// Defaults
|
||||
int WIDTH_CHARS = 16;
|
||||
static const int WIDTH_CHARS = 16;
|
||||
|
||||
/*
|
||||
* Class API
|
||||
|
|
|
|||
|
|
@ -72,8 +72,8 @@ namespace app::browser::main::tab::page::content::text::gemini
|
|||
Glib::RefPtr<Gio::SimpleAction> action__open_link_variant;
|
||||
|
||||
// Defaults
|
||||
const int MARGIN_START = 8;
|
||||
const int MARGIN_END = 8;
|
||||
static const int MARGIN_START = 8;
|
||||
static const int MARGIN_END = 8;
|
||||
|
||||
/*
|
||||
* Reader class API
|
||||
|
|
|
|||
|
|
@ -72,8 +72,8 @@ namespace app::browser::main::tab::page
|
|||
navigation::Request * navigationRequest;
|
||||
|
||||
// Defaults
|
||||
const int SPACING = 8;
|
||||
const int MARGIN = 8;
|
||||
static const int SPACING = 8;
|
||||
static const int MARGIN = 8;
|
||||
|
||||
/*
|
||||
* Class API
|
||||
|
|
|
|||
|
|
@ -69,9 +69,9 @@ namespace app::browser::main::tab::page::navigation
|
|||
sigc::connection progress_connection;
|
||||
|
||||
// Defaults
|
||||
const bool HEXPAND = true;
|
||||
const double PROGRESS_PULSE_STEP = .1;
|
||||
const int PROGRESS_ANIMATION_TIME = 10;
|
||||
static const bool HEXPAND = true;
|
||||
static const int PROGRESS_ANIMATION_TIME = 10;
|
||||
const double PROGRESS_PULSE_STEP = .1; // @TODO static?
|
||||
|
||||
/*
|
||||
* Class API
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue