mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Simplify code to reload section icons when skin changes
This commit is contained in:
@@ -44,7 +44,6 @@ public:
|
||||
|
||||
void debug();
|
||||
|
||||
OffscreenSurface *add(const std::string &path);
|
||||
OffscreenSurface *addSkinRes(const std::string &path, bool useDefault = true);
|
||||
void del(const std::string &path);
|
||||
void clear();
|
||||
@@ -55,6 +54,8 @@ public:
|
||||
OffscreenSurface *skinRes(const std::string &key, bool useDefault = true);
|
||||
|
||||
private:
|
||||
OffscreenSurface *add(const std::string &path);
|
||||
|
||||
SurfaceHash surfaces;
|
||||
std::string skin;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user