1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

New dialog icons (from Remix Icon)

This commit is contained in:
Joe R 2022-03-17 23:38:09 -04:00
parent 5af91ccdd7
commit 396ca108b9
10 changed files with 7 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 578 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 877 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 835 B

View file

@ -0,0 +1 @@
Icons by remixicon.com

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 858 B

View file

@ -59,7 +59,7 @@ from pysollib.resource import Music, MusicManager
from pysollib.resource import Sample, SampleManager
from pysollib.resource import Tile, TileManager
from pysollib.settings import DEBUG
from pysollib.settings import PACKAGE, VERSION_TUPLE, WIN_SYSTEM
from pysollib.settings import PACKAGE, VERSION_TUPLE # , WIN_SYSTEM
from pysollib.settings import TOOLKIT
from pysollib.util import IMAGE_EXTENSIONS
from pysollib.winsystems import TkSettings
@ -509,10 +509,11 @@ class Application:
"joker11_100_774",
"joker10_100",):
self.gimages.logos.append(self.dataloader.findImage(f, dirname))
if WIN_SYSTEM == 'win32':
dirname = os.path.join('images', 'dialog', 'default')
else:
dirname = os.path.join('images', 'dialog', 'bluecurve')
# if WIN_SYSTEM == 'win32':
# dirname = os.path.join('images', 'dialog', 'default')
# else:
# dirname = os.path.join('images', 'dialog', 'bluecurve')
dirname = os.path.join('images', 'dialog', 'remix')
for f in ('error', 'info', 'question', 'warning'):
fn = self.dataloader.findImage(f, dirname)
im = loadImage(fn)