1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

Store "bgmain" in the GMenu2X object instead of in SurfaceCollection

Since this surface is created by initBG instead of loaded from skin
search paths, it didn't really fit in SurfaceCollection. After removing
it, one of SurfaceCollection's methods could be removed as well.
This commit is contained in:
Maarten ter Huurne
2014-08-15 04:03:00 +02:00
parent ab7a4c1cf7
commit 7134eb3778
5 changed files with 8 additions and 18 deletions

View File

@@ -44,12 +44,6 @@ public:
void debug();
/**
* Adds a copy of the given surface to this collection under the given
* path. Returns the copy.
*/
OffscreenSurface *add(Surface const& s, std::string const& path);
OffscreenSurface *add(const std::string &path);
OffscreenSurface *addSkinRes(const std::string &path, bool useDefault = true);
void del(const std::string &path);