déplacement des images du curseur dans un dossier séparé.
authorpin <pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Mon, 22 Mar 2010 09:20:27 +0000 (09:20 +0000)
committerpin <pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Mon, 22 Mar 2010 09:20:27 +0000 (09:20 +0000)
git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@102 fe552daf-6dbe-4428-90eb-1537e0879342

51 files changed:
src/app/widgets/cursors.py
src/app/widgets/data/cursor/black/0.png [moved from src/app/widgets/data/black/0.png with 100% similarity]
src/app/widgets/data/cursor/black/1.png [moved from src/app/widgets/data/black/1.png with 100% similarity]
src/app/widgets/data/cursor/black/10.png [moved from src/app/widgets/data/black/10.png with 100% similarity]
src/app/widgets/data/cursor/black/2.png [moved from src/app/widgets/data/black/2.png with 100% similarity]
src/app/widgets/data/cursor/black/3.png [moved from src/app/widgets/data/black/3.png with 100% similarity]
src/app/widgets/data/cursor/black/4.png [moved from src/app/widgets/data/black/4.png with 100% similarity]
src/app/widgets/data/cursor/black/5.png [moved from src/app/widgets/data/black/5.png with 100% similarity]
src/app/widgets/data/cursor/black/6.png [moved from src/app/widgets/data/black/6.png with 100% similarity]
src/app/widgets/data/cursor/black/7.png [moved from src/app/widgets/data/black/7.png with 100% similarity]
src/app/widgets/data/cursor/black/8.png [moved from src/app/widgets/data/black/8.png with 100% similarity]
src/app/widgets/data/cursor/black/9.png [moved from src/app/widgets/data/black/9.png with 100% similarity]
src/app/widgets/data/cursor/black/cursor.ai [moved from src/app/widgets/data/black/cursor.ai with 100% similarity]
src/app/widgets/data/cursor/black/cursorBlack.svg [moved from src/app/widgets/data/black/cursorBlack.svg with 100% similarity]
src/app/widgets/data/cursor/black/flash.png [moved from src/app/widgets/data/black/flash.png with 100% similarity]
src/app/widgets/data/cursor/blue/0.png [moved from src/app/widgets/data/blue/0.png with 100% similarity]
src/app/widgets/data/cursor/blue/1.png [moved from src/app/widgets/data/blue/1.png with 100% similarity]
src/app/widgets/data/cursor/blue/10.png [moved from src/app/widgets/data/blue/10.png with 100% similarity]
src/app/widgets/data/cursor/blue/2.png [moved from src/app/widgets/data/blue/2.png with 100% similarity]
src/app/widgets/data/cursor/blue/3.png [moved from src/app/widgets/data/blue/3.png with 100% similarity]
src/app/widgets/data/cursor/blue/4.png [moved from src/app/widgets/data/blue/4.png with 100% similarity]
src/app/widgets/data/cursor/blue/5.png [moved from src/app/widgets/data/blue/5.png with 100% similarity]
src/app/widgets/data/cursor/blue/6.png [moved from src/app/widgets/data/blue/6.png with 100% similarity]
src/app/widgets/data/cursor/blue/7.png [moved from src/app/widgets/data/blue/7.png with 100% similarity]
src/app/widgets/data/cursor/blue/8.png [moved from src/app/widgets/data/blue/8.png with 100% similarity]
src/app/widgets/data/cursor/blue/9.png [moved from src/app/widgets/data/blue/9.png with 100% similarity]
src/app/widgets/data/cursor/blue/cursorBlue.svg [moved from src/app/widgets/data/blue/cursorBlue.svg with 100% similarity]
src/app/widgets/data/cursor/green/0.png [moved from src/app/widgets/data/green/0.png with 100% similarity]
src/app/widgets/data/cursor/green/1.png [moved from src/app/widgets/data/green/1.png with 100% similarity]
src/app/widgets/data/cursor/green/10.png [moved from src/app/widgets/data/green/10.png with 100% similarity]
src/app/widgets/data/cursor/green/2.png [moved from src/app/widgets/data/green/2.png with 100% similarity]
src/app/widgets/data/cursor/green/3.png [moved from src/app/widgets/data/green/3.png with 100% similarity]
src/app/widgets/data/cursor/green/4.png [moved from src/app/widgets/data/green/4.png with 100% similarity]
src/app/widgets/data/cursor/green/5.png [moved from src/app/widgets/data/green/5.png with 100% similarity]
src/app/widgets/data/cursor/green/6.png [moved from src/app/widgets/data/green/6.png with 100% similarity]
src/app/widgets/data/cursor/green/7.png [moved from src/app/widgets/data/green/7.png with 100% similarity]
src/app/widgets/data/cursor/green/8.png [moved from src/app/widgets/data/green/8.png with 100% similarity]
src/app/widgets/data/cursor/green/9.png [moved from src/app/widgets/data/green/9.png with 100% similarity]
src/app/widgets/data/cursor/green/cursorGreen.svg [moved from src/app/widgets/data/green/cursorGreen.svg with 100% similarity]
src/app/widgets/data/cursor/red/0.png [moved from src/app/widgets/data/red/0.png with 100% similarity]
src/app/widgets/data/cursor/red/1.png [moved from src/app/widgets/data/red/1.png with 100% similarity]
src/app/widgets/data/cursor/red/10.png [moved from src/app/widgets/data/red/10.png with 100% similarity]
src/app/widgets/data/cursor/red/2.png [moved from src/app/widgets/data/red/2.png with 100% similarity]
src/app/widgets/data/cursor/red/3.png [moved from src/app/widgets/data/red/3.png with 100% similarity]
src/app/widgets/data/cursor/red/4.png [moved from src/app/widgets/data/red/4.png with 100% similarity]
src/app/widgets/data/cursor/red/5.png [moved from src/app/widgets/data/red/5.png with 100% similarity]
src/app/widgets/data/cursor/red/6.png [moved from src/app/widgets/data/red/6.png with 100% similarity]
src/app/widgets/data/cursor/red/7.png [moved from src/app/widgets/data/red/7.png with 100% similarity]
src/app/widgets/data/cursor/red/8.png [moved from src/app/widgets/data/red/8.png with 100% similarity]
src/app/widgets/data/cursor/red/9.png [moved from src/app/widgets/data/red/9.png with 100% similarity]
src/app/widgets/data/cursor/red/cursorRed.svg [moved from src/app/widgets/data/red/cursorRed.svg with 100% similarity]

index 041c0fb..fc05b56 100755 (executable)
@@ -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']