mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-02 10:16:50 +02:00
RetroFE constructor arguments set to pass by reference.
This commit is contained in:
@@ -18,7 +18,7 @@ class Configuration;
|
||||
class PageBuilder
|
||||
{
|
||||
public:
|
||||
PageBuilder(std::string layoutKey, std::string collection, Configuration *c, FontCache *fc);
|
||||
PageBuilder(std::string layoutKey, std::string collection, Configuration &c, FontCache *fc);
|
||||
virtual ~PageBuilder();
|
||||
Page *BuildPage();
|
||||
|
||||
@@ -26,7 +26,7 @@ private:
|
||||
std::string LayoutKey;
|
||||
std::string LayoutPath;
|
||||
std::string Collection;
|
||||
Configuration *Config;
|
||||
Configuration &Config;
|
||||
float ScaleX;
|
||||
float ScaleY;
|
||||
int ScreenHeight;
|
||||
|
||||
Reference in New Issue
Block a user