- changes transparency parameter of Theme::drawSurface to alpha parameter.
- adds possibility to draw GraphicsWidgets with alpha values. svn-id: r22738
This commit is contained in:
parent
af25e65c31
commit
0a557cf2a4
6 changed files with 15 additions and 30 deletions
|
@ -452,7 +452,6 @@ LauncherDialog::LauncherDialog()
|
|||
if (g_gui.evaluator()->getVar("launcher_logo.visible") == 1) {
|
||||
_logo = new GraphicsWidget(this, "launcher_logo");
|
||||
ThemeNew *th = (ThemeNew *)g_gui.theme();
|
||||
_logo->useTransparency(true);
|
||||
|
||||
_logo->setGfx(th->getImageSurface(th->kThemeLogo));
|
||||
|
||||
|
@ -782,7 +781,6 @@ void LauncherDialog::handleScreenChanged() {
|
|||
if (!_logo)
|
||||
_logo = new GraphicsWidget(this, "launcher_logo");
|
||||
ThemeNew *th = (ThemeNew *)g_gui.theme();
|
||||
_logo->useTransparency(true);
|
||||
|
||||
_logo->setGfx(th->getImageSurface(th->kThemeLogo));
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue