From a810f09e895d66ce684214e67969fe373bf96560 Mon Sep 17 00:00:00 2001 From: pin Date: Mon, 22 Mar 2010 09:20:27 +0000 Subject: [PATCH] =?utf8?q?d=C3=A9placement=20des=20images=20du=20curseur?= =?utf8?q?=20dans=20un=20dossier=20s=C3=A9par=C3=A9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@102 fe552daf-6dbe-4428-90eb-1537e0879342 --- src/app/widgets/cursors.py | 2 +- src/app/widgets/data/{ => cursor}/black/0.png | Bin src/app/widgets/data/{ => cursor}/black/1.png | Bin src/app/widgets/data/{ => cursor}/black/10.png | Bin src/app/widgets/data/{ => cursor}/black/2.png | Bin src/app/widgets/data/{ => cursor}/black/3.png | Bin src/app/widgets/data/{ => cursor}/black/4.png | Bin src/app/widgets/data/{ => cursor}/black/5.png | Bin src/app/widgets/data/{ => cursor}/black/6.png | Bin src/app/widgets/data/{ => cursor}/black/7.png | Bin src/app/widgets/data/{ => cursor}/black/8.png | Bin src/app/widgets/data/{ => cursor}/black/9.png | Bin src/app/widgets/data/{ => cursor}/black/cursor.ai | 0 .../widgets/data/{ => cursor}/black/cursorBlack.svg | 0 src/app/widgets/data/{ => cursor}/black/flash.png | Bin src/app/widgets/data/{ => cursor}/blue/0.png | Bin src/app/widgets/data/{ => cursor}/blue/1.png | Bin src/app/widgets/data/{ => cursor}/blue/10.png | Bin src/app/widgets/data/{ => cursor}/blue/2.png | Bin src/app/widgets/data/{ => cursor}/blue/3.png | Bin src/app/widgets/data/{ => cursor}/blue/4.png | Bin src/app/widgets/data/{ => cursor}/blue/5.png | Bin src/app/widgets/data/{ => cursor}/blue/6.png | Bin src/app/widgets/data/{ => cursor}/blue/7.png | Bin src/app/widgets/data/{ => cursor}/blue/8.png | Bin src/app/widgets/data/{ => cursor}/blue/9.png | Bin .../widgets/data/{ => cursor}/blue/cursorBlue.svg | 0 src/app/widgets/data/{ => cursor}/green/0.png | Bin src/app/widgets/data/{ => cursor}/green/1.png | Bin src/app/widgets/data/{ => cursor}/green/10.png | Bin src/app/widgets/data/{ => cursor}/green/2.png | Bin src/app/widgets/data/{ => cursor}/green/3.png | Bin src/app/widgets/data/{ => cursor}/green/4.png | Bin src/app/widgets/data/{ => cursor}/green/5.png | Bin src/app/widgets/data/{ => cursor}/green/6.png | Bin src/app/widgets/data/{ => cursor}/green/7.png | Bin src/app/widgets/data/{ => cursor}/green/8.png | Bin src/app/widgets/data/{ => cursor}/green/9.png | Bin .../widgets/data/{ => cursor}/green/cursorGreen.svg | 0 src/app/widgets/data/{ => cursor}/red/0.png | Bin src/app/widgets/data/{ => cursor}/red/1.png | Bin src/app/widgets/data/{ => cursor}/red/10.png | Bin src/app/widgets/data/{ => cursor}/red/2.png | Bin src/app/widgets/data/{ => cursor}/red/3.png | Bin src/app/widgets/data/{ => cursor}/red/4.png | Bin src/app/widgets/data/{ => cursor}/red/5.png | Bin src/app/widgets/data/{ => cursor}/red/6.png | Bin src/app/widgets/data/{ => cursor}/red/7.png | Bin src/app/widgets/data/{ => cursor}/red/8.png | Bin src/app/widgets/data/{ => cursor}/red/9.png | Bin src/app/widgets/data/{ => cursor}/red/cursorRed.svg | 0 51 files changed, 1 insertion(+), 1 deletion(-) rename src/app/widgets/data/{ => cursor}/black/0.png (100%) rename src/app/widgets/data/{ => cursor}/black/1.png (100%) rename src/app/widgets/data/{ => cursor}/black/10.png (100%) rename src/app/widgets/data/{ => cursor}/black/2.png (100%) rename src/app/widgets/data/{ => cursor}/black/3.png (100%) rename src/app/widgets/data/{ => cursor}/black/4.png (100%) rename src/app/widgets/data/{ => cursor}/black/5.png (100%) rename src/app/widgets/data/{ => cursor}/black/6.png (100%) rename src/app/widgets/data/{ => cursor}/black/7.png (100%) rename src/app/widgets/data/{ => cursor}/black/8.png (100%) rename src/app/widgets/data/{ => cursor}/black/9.png (100%) rename src/app/widgets/data/{ => cursor}/black/cursor.ai (100%) rename src/app/widgets/data/{ => cursor}/black/cursorBlack.svg (100%) rename src/app/widgets/data/{ => cursor}/black/flash.png (100%) rename src/app/widgets/data/{ => cursor}/blue/0.png (100%) rename src/app/widgets/data/{ => cursor}/blue/1.png (100%) rename src/app/widgets/data/{ => cursor}/blue/10.png (100%) rename src/app/widgets/data/{ => cursor}/blue/2.png (100%) rename src/app/widgets/data/{ => cursor}/blue/3.png (100%) rename src/app/widgets/data/{ => cursor}/blue/4.png (100%) rename src/app/widgets/data/{ => cursor}/blue/5.png (100%) rename src/app/widgets/data/{ => cursor}/blue/6.png (100%) rename src/app/widgets/data/{ => cursor}/blue/7.png (100%) rename src/app/widgets/data/{ => cursor}/blue/8.png (100%) rename src/app/widgets/data/{ => cursor}/blue/9.png (100%) rename src/app/widgets/data/{ => cursor}/blue/cursorBlue.svg (100%) rename src/app/widgets/data/{ => cursor}/green/0.png (100%) rename src/app/widgets/data/{ => cursor}/green/1.png (100%) rename src/app/widgets/data/{ => cursor}/green/10.png (100%) rename src/app/widgets/data/{ => cursor}/green/2.png (100%) rename src/app/widgets/data/{ => cursor}/green/3.png (100%) rename src/app/widgets/data/{ => cursor}/green/4.png (100%) rename src/app/widgets/data/{ => cursor}/green/5.png (100%) rename src/app/widgets/data/{ => cursor}/green/6.png (100%) rename src/app/widgets/data/{ => cursor}/green/7.png (100%) rename src/app/widgets/data/{ => cursor}/green/8.png (100%) rename src/app/widgets/data/{ => cursor}/green/9.png (100%) rename src/app/widgets/data/{ => cursor}/green/cursorGreen.svg (100%) rename src/app/widgets/data/{ => cursor}/red/0.png (100%) rename src/app/widgets/data/{ => cursor}/red/1.png (100%) rename src/app/widgets/data/{ => cursor}/red/10.png (100%) rename src/app/widgets/data/{ => cursor}/red/2.png (100%) rename src/app/widgets/data/{ => cursor}/red/3.png (100%) rename src/app/widgets/data/{ => cursor}/red/4.png (100%) rename src/app/widgets/data/{ => cursor}/red/5.png (100%) rename src/app/widgets/data/{ => cursor}/red/6.png (100%) rename src/app/widgets/data/{ => cursor}/red/7.png (100%) rename src/app/widgets/data/{ => cursor}/red/8.png (100%) rename src/app/widgets/data/{ => cursor}/red/9.png (100%) rename src/app/widgets/data/{ => cursor}/red/cursorRed.svg (100%) diff --git a/src/app/widgets/cursors.py b/src/app/widgets/cursors.py index 041c0fb..fc05b56 100755 --- a/src/app/widgets/cursors.py +++ b/src/app/widgets/cursors.py @@ -20,7 +20,7 @@ class WarpingCursor(pygame.sprite.DirtySprite, EventHandlerMixin): @staticmethod def _get_theme_images(name) : basePath = os.path.abspath(__file__).split(os.path.sep)[:-1] - basePath.append('data') + basePath.extend(['data', 'cursor']) basePath.append(name) basePath = os.path.sep.join(basePath) images = [f for f in os.listdir(basePath) if os.path.splitext(f)[1] == '.png'] diff --git a/src/app/widgets/data/black/0.png b/src/app/widgets/data/cursor/black/0.png similarity index 100% rename from src/app/widgets/data/black/0.png rename to src/app/widgets/data/cursor/black/0.png diff --git a/src/app/widgets/data/black/1.png b/src/app/widgets/data/cursor/black/1.png similarity index 100% rename from src/app/widgets/data/black/1.png rename to src/app/widgets/data/cursor/black/1.png diff --git a/src/app/widgets/data/black/10.png b/src/app/widgets/data/cursor/black/10.png similarity index 100% rename from src/app/widgets/data/black/10.png rename to src/app/widgets/data/cursor/black/10.png diff --git a/src/app/widgets/data/black/2.png b/src/app/widgets/data/cursor/black/2.png similarity index 100% rename from src/app/widgets/data/black/2.png rename to src/app/widgets/data/cursor/black/2.png diff --git a/src/app/widgets/data/black/3.png b/src/app/widgets/data/cursor/black/3.png similarity index 100% rename from src/app/widgets/data/black/3.png rename to src/app/widgets/data/cursor/black/3.png diff --git a/src/app/widgets/data/black/4.png b/src/app/widgets/data/cursor/black/4.png similarity index 100% rename from src/app/widgets/data/black/4.png rename to src/app/widgets/data/cursor/black/4.png diff --git a/src/app/widgets/data/black/5.png b/src/app/widgets/data/cursor/black/5.png similarity index 100% rename from src/app/widgets/data/black/5.png rename to src/app/widgets/data/cursor/black/5.png diff --git a/src/app/widgets/data/black/6.png b/src/app/widgets/data/cursor/black/6.png similarity index 100% rename from src/app/widgets/data/black/6.png rename to src/app/widgets/data/cursor/black/6.png diff --git a/src/app/widgets/data/black/7.png b/src/app/widgets/data/cursor/black/7.png similarity index 100% rename from src/app/widgets/data/black/7.png rename to src/app/widgets/data/cursor/black/7.png diff --git a/src/app/widgets/data/black/8.png b/src/app/widgets/data/cursor/black/8.png similarity index 100% rename from src/app/widgets/data/black/8.png rename to src/app/widgets/data/cursor/black/8.png diff --git a/src/app/widgets/data/black/9.png b/src/app/widgets/data/cursor/black/9.png similarity index 100% rename from src/app/widgets/data/black/9.png rename to src/app/widgets/data/cursor/black/9.png diff --git a/src/app/widgets/data/black/cursor.ai b/src/app/widgets/data/cursor/black/cursor.ai similarity index 100% rename from src/app/widgets/data/black/cursor.ai rename to src/app/widgets/data/cursor/black/cursor.ai diff --git a/src/app/widgets/data/black/cursorBlack.svg b/src/app/widgets/data/cursor/black/cursorBlack.svg similarity index 100% rename from src/app/widgets/data/black/cursorBlack.svg rename to src/app/widgets/data/cursor/black/cursorBlack.svg diff --git a/src/app/widgets/data/black/flash.png b/src/app/widgets/data/cursor/black/flash.png similarity index 100% rename from src/app/widgets/data/black/flash.png rename to src/app/widgets/data/cursor/black/flash.png diff --git a/src/app/widgets/data/blue/0.png b/src/app/widgets/data/cursor/blue/0.png similarity index 100% rename from src/app/widgets/data/blue/0.png rename to src/app/widgets/data/cursor/blue/0.png diff --git a/src/app/widgets/data/blue/1.png b/src/app/widgets/data/cursor/blue/1.png similarity index 100% rename from src/app/widgets/data/blue/1.png rename to src/app/widgets/data/cursor/blue/1.png diff --git a/src/app/widgets/data/blue/10.png b/src/app/widgets/data/cursor/blue/10.png similarity index 100% rename from src/app/widgets/data/blue/10.png rename to src/app/widgets/data/cursor/blue/10.png diff --git a/src/app/widgets/data/blue/2.png b/src/app/widgets/data/cursor/blue/2.png similarity index 100% rename from src/app/widgets/data/blue/2.png rename to src/app/widgets/data/cursor/blue/2.png diff --git a/src/app/widgets/data/blue/3.png b/src/app/widgets/data/cursor/blue/3.png similarity index 100% rename from src/app/widgets/data/blue/3.png rename to src/app/widgets/data/cursor/blue/3.png diff --git a/src/app/widgets/data/blue/4.png b/src/app/widgets/data/cursor/blue/4.png similarity index 100% rename from src/app/widgets/data/blue/4.png rename to src/app/widgets/data/cursor/blue/4.png diff --git a/src/app/widgets/data/blue/5.png b/src/app/widgets/data/cursor/blue/5.png similarity index 100% rename from src/app/widgets/data/blue/5.png rename to src/app/widgets/data/cursor/blue/5.png diff --git a/src/app/widgets/data/blue/6.png b/src/app/widgets/data/cursor/blue/6.png similarity index 100% rename from src/app/widgets/data/blue/6.png rename to src/app/widgets/data/cursor/blue/6.png diff --git a/src/app/widgets/data/blue/7.png b/src/app/widgets/data/cursor/blue/7.png similarity index 100% rename from src/app/widgets/data/blue/7.png rename to src/app/widgets/data/cursor/blue/7.png diff --git a/src/app/widgets/data/blue/8.png b/src/app/widgets/data/cursor/blue/8.png similarity index 100% rename from src/app/widgets/data/blue/8.png rename to src/app/widgets/data/cursor/blue/8.png diff --git a/src/app/widgets/data/blue/9.png b/src/app/widgets/data/cursor/blue/9.png similarity index 100% rename from src/app/widgets/data/blue/9.png rename to src/app/widgets/data/cursor/blue/9.png diff --git a/src/app/widgets/data/blue/cursorBlue.svg b/src/app/widgets/data/cursor/blue/cursorBlue.svg similarity index 100% rename from src/app/widgets/data/blue/cursorBlue.svg rename to src/app/widgets/data/cursor/blue/cursorBlue.svg diff --git a/src/app/widgets/data/green/0.png b/src/app/widgets/data/cursor/green/0.png similarity index 100% rename from src/app/widgets/data/green/0.png rename to src/app/widgets/data/cursor/green/0.png diff --git a/src/app/widgets/data/green/1.png b/src/app/widgets/data/cursor/green/1.png similarity index 100% rename from src/app/widgets/data/green/1.png rename to src/app/widgets/data/cursor/green/1.png diff --git a/src/app/widgets/data/green/10.png b/src/app/widgets/data/cursor/green/10.png similarity index 100% rename from src/app/widgets/data/green/10.png rename to src/app/widgets/data/cursor/green/10.png diff --git a/src/app/widgets/data/green/2.png b/src/app/widgets/data/cursor/green/2.png similarity index 100% rename from src/app/widgets/data/green/2.png rename to src/app/widgets/data/cursor/green/2.png diff --git a/src/app/widgets/data/green/3.png b/src/app/widgets/data/cursor/green/3.png similarity index 100% rename from src/app/widgets/data/green/3.png rename to src/app/widgets/data/cursor/green/3.png diff --git a/src/app/widgets/data/green/4.png b/src/app/widgets/data/cursor/green/4.png similarity index 100% rename from src/app/widgets/data/green/4.png rename to src/app/widgets/data/cursor/green/4.png diff --git a/src/app/widgets/data/green/5.png b/src/app/widgets/data/cursor/green/5.png similarity index 100% rename from src/app/widgets/data/green/5.png rename to src/app/widgets/data/cursor/green/5.png diff --git a/src/app/widgets/data/green/6.png b/src/app/widgets/data/cursor/green/6.png similarity index 100% rename from src/app/widgets/data/green/6.png rename to src/app/widgets/data/cursor/green/6.png diff --git a/src/app/widgets/data/green/7.png b/src/app/widgets/data/cursor/green/7.png similarity index 100% rename from src/app/widgets/data/green/7.png rename to src/app/widgets/data/cursor/green/7.png diff --git a/src/app/widgets/data/green/8.png b/src/app/widgets/data/cursor/green/8.png similarity index 100% rename from src/app/widgets/data/green/8.png rename to src/app/widgets/data/cursor/green/8.png diff --git a/src/app/widgets/data/green/9.png b/src/app/widgets/data/cursor/green/9.png similarity index 100% rename from src/app/widgets/data/green/9.png rename to src/app/widgets/data/cursor/green/9.png diff --git a/src/app/widgets/data/green/cursorGreen.svg b/src/app/widgets/data/cursor/green/cursorGreen.svg similarity index 100% rename from src/app/widgets/data/green/cursorGreen.svg rename to src/app/widgets/data/cursor/green/cursorGreen.svg diff --git a/src/app/widgets/data/red/0.png b/src/app/widgets/data/cursor/red/0.png similarity index 100% rename from src/app/widgets/data/red/0.png rename to src/app/widgets/data/cursor/red/0.png diff --git a/src/app/widgets/data/red/1.png b/src/app/widgets/data/cursor/red/1.png similarity index 100% rename from src/app/widgets/data/red/1.png rename to src/app/widgets/data/cursor/red/1.png diff --git a/src/app/widgets/data/red/10.png b/src/app/widgets/data/cursor/red/10.png similarity index 100% rename from src/app/widgets/data/red/10.png rename to src/app/widgets/data/cursor/red/10.png diff --git a/src/app/widgets/data/red/2.png b/src/app/widgets/data/cursor/red/2.png similarity index 100% rename from src/app/widgets/data/red/2.png rename to src/app/widgets/data/cursor/red/2.png diff --git a/src/app/widgets/data/red/3.png b/src/app/widgets/data/cursor/red/3.png similarity index 100% rename from src/app/widgets/data/red/3.png rename to src/app/widgets/data/cursor/red/3.png diff --git a/src/app/widgets/data/red/4.png b/src/app/widgets/data/cursor/red/4.png similarity index 100% rename from src/app/widgets/data/red/4.png rename to src/app/widgets/data/cursor/red/4.png diff --git a/src/app/widgets/data/red/5.png b/src/app/widgets/data/cursor/red/5.png similarity index 100% rename from src/app/widgets/data/red/5.png rename to src/app/widgets/data/cursor/red/5.png diff --git a/src/app/widgets/data/red/6.png b/src/app/widgets/data/cursor/red/6.png similarity index 100% rename from src/app/widgets/data/red/6.png rename to src/app/widgets/data/cursor/red/6.png diff --git a/src/app/widgets/data/red/7.png b/src/app/widgets/data/cursor/red/7.png similarity index 100% rename from src/app/widgets/data/red/7.png rename to src/app/widgets/data/cursor/red/7.png diff --git a/src/app/widgets/data/red/8.png b/src/app/widgets/data/cursor/red/8.png similarity index 100% rename from src/app/widgets/data/red/8.png rename to src/app/widgets/data/cursor/red/8.png diff --git a/src/app/widgets/data/red/9.png b/src/app/widgets/data/cursor/red/9.png similarity index 100% rename from src/app/widgets/data/red/9.png rename to src/app/widgets/data/cursor/red/9.png diff --git a/src/app/widgets/data/red/cursorRed.svg b/src/app/widgets/data/cursor/red/cursorRed.svg similarity index 100% rename from src/app/widgets/data/red/cursorRed.svg rename to src/app/widgets/data/cursor/red/cursorRed.svg -- 2.20.1