mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-12-27 07:41:09 +02:00
Removed SurfaceCollection::defaultAlpha
The Selector was the only user and that code was removed.
This commit is contained in:
parent
1229ef32e5
commit
aa5d8faeb6
@ -121,7 +121,7 @@ OffscreenSurface *SurfaceCollection::add(const string &path) {
|
||||
|
||||
DEBUG("Adding surface: '%s'\n", path.c_str());
|
||||
// TODO: Be safe.
|
||||
auto s = OffscreenSurface::loadImage(filePath, "", defaultAlpha).release();
|
||||
auto s = OffscreenSurface::loadImage(filePath).release();
|
||||
if (s) {
|
||||
surfaces[path] = s;
|
||||
}
|
||||
|
@ -43,7 +43,6 @@ public:
|
||||
static std::string getSkinFilePath(const std::string &skin, const std::string &file, bool useDefault = true);
|
||||
static std::string getSkinPath(const std::string &skin);
|
||||
|
||||
bool defaultAlpha = true;
|
||||
void debug();
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user