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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user