From: benoit.pin Date: Tue, 23 Nov 2010 12:35:28 +0000 (+0000) Subject: Ajout d'un thème spécifique pour minwii. Pour l'instant, il s'agit du thème par défau... X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/commitdiff_plain/0b332732d1a18bbf86ba8b8ee052f46059bace9c?ds=inline Ajout d'un thème spécifique pour minwii. Pour l'instant, il s'agit du thème par défaut que l'on va modifier. git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@318 fe552daf-6dbe-4428-90eb-1537e0879342 --- diff --git a/src/minwii/app.py b/src/minwii/app.py index e249c70..dfe24ca 100755 --- a/src/minwii/app.py +++ b/src/minwii/app.py @@ -7,6 +7,7 @@ $URL$ """ import pygame +from pgu.gui import Theme from pgu.gui import Desktop from pgu.gui import QUIT from minwii.widgets.launch import LaunchScreen @@ -20,6 +21,8 @@ from minwii.config import SONG_FILE_PATH from minwii.config import SCREEN_RESOLUTION from minwii.globals import PLAYING_MODES_DICT from minwii.log import console, LOG_FORMAT_VERSION, envLogger +import os.path + class MinWii(object): @@ -29,7 +32,10 @@ class MinWii(object): self.wiimoteSupport = wiimoteSupport self.fullscreen = fullscreen LaunchScreen() - self.app = Desktop() + themedir = __file__.split(os.path.sep)[:-1] + ['widgets', 'data', 'minwii_theme'] + themedir = os.path.sep.join(themedir) + theme = Theme(themedir) + self.app = Desktop(theme=theme) self.synth = Synth() self.screenResolution = SCREEN_RESOLUTION envLogger.info('résolution écran : %s', self.screenResolution) diff --git a/src/minwii/widgets/data/minwii_theme/Vera.ttf b/src/minwii/widgets/data/minwii_theme/Vera.ttf new file mode 100644 index 0000000..58cd6b5 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/Vera.ttf differ diff --git a/src/minwii/widgets/data/minwii_theme/box.down.png b/src/minwii/widgets/data/minwii_theme/box.down.png new file mode 100644 index 0000000..b9e965d Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/box.down.png differ diff --git a/src/minwii/widgets/data/minwii_theme/box.hover.png b/src/minwii/widgets/data/minwii_theme/box.hover.png new file mode 100644 index 0000000..ef3c225 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/box.hover.png differ diff --git a/src/minwii/widgets/data/minwii_theme/box.normal.png b/src/minwii/widgets/data/minwii_theme/box.normal.png new file mode 100644 index 0000000..90f8d40 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/box.normal.png differ diff --git a/src/minwii/widgets/data/minwii_theme/box.xcf b/src/minwii/widgets/data/minwii_theme/box.xcf new file mode 100644 index 0000000..960ca8d Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/box.xcf differ diff --git a/src/minwii/widgets/data/minwii_theme/button.down.tga b/src/minwii/widgets/data/minwii_theme/button.down.tga new file mode 100644 index 0000000..64873c1 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/button.down.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/button.hover.tga b/src/minwii/widgets/data/minwii_theme/button.hover.tga new file mode 100644 index 0000000..5e5c53a Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/button.hover.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/button.normal.tga b/src/minwii/widgets/data/minwii_theme/button.normal.tga new file mode 100644 index 0000000..e9371c7 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/button.normal.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/check.png b/src/minwii/widgets/data/minwii_theme/check.png new file mode 100644 index 0000000..4ef58a3 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/check.png differ diff --git a/src/minwii/widgets/data/minwii_theme/checkbox.off.hover.tga b/src/minwii/widgets/data/minwii_theme/checkbox.off.hover.tga new file mode 100644 index 0000000..9a4d8a8 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/checkbox.off.hover.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/checkbox.off.normal.tga b/src/minwii/widgets/data/minwii_theme/checkbox.off.normal.tga new file mode 100644 index 0000000..de59f19 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/checkbox.off.normal.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/checkbox.on.hover.tga b/src/minwii/widgets/data/minwii_theme/checkbox.on.hover.tga new file mode 100644 index 0000000..4940c26 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/checkbox.on.hover.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/checkbox.on.normal.tga b/src/minwii/widgets/data/minwii_theme/checkbox.on.normal.tga new file mode 100644 index 0000000..9cf658e Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/checkbox.on.normal.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/config.txt b/src/minwii/widgets/data/minwii_theme/config.txt new file mode 100644 index 0000000..e4ef48b --- /dev/null +++ b/src/minwii/widgets/data/minwii_theme/config.txt @@ -0,0 +1,291 @@ +desktop background desktop.png + +input font Vera.ttf 16 +input background input.normal.png +input color #000000 +input:focus background input.focus.png +input padding_left 6 +input padding_right 6 +input padding_top 3 +input padding_bottom 3 + +link font Vera.ttf 24 +link color #0000FF +link:hover color #FF0000 +link:down color #00FF00 + +label font Vera.ttf 16 +label color #000000 + +document font Vera.ttf 16 +document color #000000 +div font Vera.ttf 16 +div color #000000 + +td font Vera.ttf 16 +td color #000000 +th font Vera.ttf 16 +th color #000000 + +h1 font Vera.ttf 24 +h1 color #000000 +h2 font Vera.ttf 20 +h2 color #000000 +h3 font Vera.ttf 16 +h3 color #000000 +h4 font Vera.ttf 14 +h4 color #000000 +h5 font Vera.ttf 12 +h5 color #000000 +h6 font Vera.ttf 10 +h6 color #000000 + +ul font Vera.ttf 16 +ul color #000000 +ol font Vera.ttf 16 +ol color #000000 +li font Vera.ttf 16 +li color #000000 +li padding_left 32 + +pre font mono 16 +pre color #000000 +code font mono 16 +code color #000000 + +checkbox off checkbox.off.normal.tga +checkbox on checkbox.on.normal.tga +checkbox:hover off checkbox.off.hover.tga +checkbox:hover on checkbox.on.hover.tga +checkbox:down off checkbox.off.hover.tga +checkbox:down on checkbox.on.hover.tga + +switch off checkbox.off.normal.tga +switch on checkbox.on.normal.tga +switch:hover off checkbox.off.hover.tga +switch:hover on checkbox.on.hover.tga +switch:down off checkbox.off.hover.tga +switch:down on checkbox.on.hover.tga + +radio off radio.off.normal.tga +radio on radio.on.normal.tga +radio:hover off radio.off.hover.tga +radio:hover on radio.on.hover.tga +radio:down off radio.off.hover.tga +radio:down on radio.on.hover.tga + +button background button.normal.tga +button:hover background button.hover.tga +button:down background button.down.tga +button padding_left 8 +button padding_right 8 +button padding_top 1 +button padding_bottom 1 +button.label font Vera.ttf 16 +button.label color #000000 + +slider background slider.tga +slider bar slider.bar.normal.tga +slider:hover bar slider.bar.hover.tga +slider width 16 +slider height 16 + +hslider background hslider.tga +hslider bar hslider.bar.normal.tga +hslider:hover bar hslider.bar.hover.tga +hslider:down bar hslider.bar.hover.tga +hslider width 16 +hslider height 16 + +vslider background vslider.tga +vslider bar vslider.bar.normal.tga +vslider:hover bar vslider.bar.hover.tga +vslider:down bar vslider.bar.hover.tga +vslider width 16 +vslider height 16 + +xhscrollbar height 16 +xhscrollbar background scroller.slide.h.tga +xhscrollbar bar scroller.slide.bar.normal.tga +xhscrollbar:hover bar scroller.slide.bar.hover.tga + +xvscrollbar width 16 +xvscrollbar background scroller.slide.v.tga +xvscrollbar bar scroller.slide.bar.normal.tga +xvscrollbar:hover bar scroller.slide.bar.hover.tga + +hscrollbar.slider background hslider.tga +hscrollbar.slider bar hslider.bar.normal.tga +hscrollbar.slider:hover bar hslider.bar.hover.tga +hscrollbar.slider:down bar hslider.bar.hover.tga +hscrollbar.slider width 16 +hscrollbar.slider height 16 +hscrollbar minus hslider.left.tga +hscrollbar plus hslider.right.tga + +vscrollbar.slider background vslider.tga +vscrollbar.slider bar vslider.bar.normal.tga +vscrollbar.slider:hover bar vslider.bar.hover.tga +vscrollbar.slider:down bar vslider.bar.hover.tga +vscrollbar.slider width 16 +vscrollbar.slider height 16 +vscrollbar minus vslider.up.tga +vscrollbar plus vslider.down.tga + + +select.selected background select.selected.normal.tga +select.selected:hover background select.selected.hover.tga +select.selected:down background select.selected.down.tga +select.selected padding_left 4 +select.selected padding_right 4 +select.selected padding_top 1 +select.selected padding_bottom 1 +select.arrow background select.arrow.normal.tga +select.arrow:hover background select.arrow.hover.tga +select.arrow:down background select.arrow.down.tga +select.arrow padding_left 1 +select.arrow padding_right 1 + +select.options background select.options.png +select.option background select.option.normal.png +select.option:hover background select.option.hover.png +select.option:down background select.option.hover.png +select.option padding_left 4 +select.option padding_right 4 +select.option padding_top 1 +select.option padding_bottom 1 +#select.option border_top 1 +#select.option border_right 1 +#select.option border_bottom 1 +#select.option border_left 1 + +select.option.label font Vera.ttf 16 +select.option.label color #000000 +select.options padding_left 1 +select.options padding_right 1 +select.options padding_top 1 +select.options padding_bottom 1 +select arrow select.arrow.png + + +dialog background dialog.bar.png +xdialog.bar background dialog.bar.png +dialog.bar padding_left 8 +dialog.bar padding_right 8 +dialog.bar padding_top 2 +dialog.bar padding_bottom 1 +dialog.bar.close image dialog.close.normal.tga +dialog.bar.close:hover image dialog.close.hover.tga +dialog.bar.close:down image dialog.close.down.tga +dialog.main background dialog.png +dialog.main padding_left 8 +dialog.main padding_right 8 +dialog.main padding_top 4 +dialog.main padding_bottom 4 + +keysym font Vera.ttf 16 +keysym background input.normal.png +keysym color #000000 +keysym:focus background input.focus.png +keysym padding_left 6 +keysym padding_right 6 +keysym padding_top 3 +keysym padding_bottom 3 + +tool background tool.normal.tga +tool:hover background tool.hover.tga +tool:down background tool.down.tga +tool padding_left 4 +tool padding_right 4 +tool padding_top 1 +tool padding_bottom 1 +tool.label font Vera.ttf 16 +tool.label color #000000 + +menu background menu.normal.tga +menu:hover background menu.hover.tga +menu:down background menu.down.tga +menu padding_left 6 +menu padding_right 6 +menu padding_top 3 +menu padding_bottom 3 +menu.label font Vera.ttf 16 +menu.label color #000000 + +menu-open background menu.down.tga +menu-open:hover background menu.down.tga +menu-open:down background menu.down.tga +menu-open padding_left 6 +menu-open padding_right 6 +menu-open padding_top 3 +menu-open padding_bottom 3 + +menu.options background select.options.png +menu.option background select.option.normal.png +menu.option:hover background select.option.hover.png +menu.option:down background select.option.hover.png +menu.option padding_left 6 +menu.option padding_right 6 +menu.option padding_top 1 +menu.option padding_bottom 1 +menu.option.label font Vera.ttf 16 +menu.option.label color #000000 +menu.options padding_left 1 +menu.options padding_right 1 +menu.options padding_top 1 +menu.options padding_bottom 1 +menu arrow select.arrow.tga + + +scrollarea.content background #ffffff +scrollarea.content padding_left 1 +scrollarea.content padding_right 1 +scrollarea.content padding_top 1 +scrollarea.content padding_bottom 1 + + +list.item background list.item.normal.png +list.item:hover background list.item.down.png +list.item:down background list.item.down.png +list.item padding_left 4 +list.item padding_right 4 +list.item padding_top 2 +list.item padding_bottom 2 +list.item margin_bottom 1 +list.item align -1 +list.item.label font Vera.ttf 14 +list.item.label color #000000 + +list background list.png +list padding_left 1 +list padding_right 1 +list padding_top 1 +list padding_bottom 1 +list.content background #eeeeee +list.content padding_left 1 +list.content padding_right 1 +list.content padding_top 1 +list.content padding_bottom 1 + +filedialog.folder image filebrowser.folder.png +filedialog.label font Vera.ttf 14 +filedialog.label color #000000 +filedialog.title.label font Vera.ttf 16 +filedialog.title.label color #000000 +filedialog.input font Vera.ttf 14 +filedialog.input background input.normal.png +filedialog.input color #000000 +filedialog.input:focus background input.focus.png +filedialog.input padding_left 6 +filedialog.input padding_right 6 +filedialog.input padding_top 3 +filedialog.input padding_bottom 3 + +dialog.title.label font Vera.ttf 16 +dialog.title.label color #000000 + + +progressbar background progressbar.tga +progressbar bar progressbar.bar.tga +progressbar width 16 +progressbar height 16 diff --git a/src/minwii/widgets/data/minwii_theme/console.input.focus.png b/src/minwii/widgets/data/minwii_theme/console.input.focus.png new file mode 100644 index 0000000..819d835 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/console.input.focus.png differ diff --git a/src/minwii/widgets/data/minwii_theme/console.input.normal.png b/src/minwii/widgets/data/minwii_theme/console.input.normal.png new file mode 100644 index 0000000..a14e329 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/console.input.normal.png differ diff --git a/src/minwii/widgets/data/minwii_theme/console.png b/src/minwii/widgets/data/minwii_theme/console.png new file mode 100644 index 0000000..a14e329 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/console.png differ diff --git a/src/minwii/widgets/data/minwii_theme/desktop.png b/src/minwii/widgets/data/minwii_theme/desktop.png new file mode 100644 index 0000000..c83f5cd Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/desktop.png differ diff --git a/src/minwii/widgets/data/minwii_theme/desktop.xcf b/src/minwii/widgets/data/minwii_theme/desktop.xcf new file mode 100644 index 0000000..2c504ab Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/desktop.xcf differ diff --git a/src/minwii/widgets/data/minwii_theme/dialog.bar.png b/src/minwii/widgets/data/minwii_theme/dialog.bar.png new file mode 100644 index 0000000..e014e04 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/dialog.bar.png differ diff --git a/src/minwii/widgets/data/minwii_theme/dialog.close.down.tga b/src/minwii/widgets/data/minwii_theme/dialog.close.down.tga new file mode 100644 index 0000000..ade4813 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/dialog.close.down.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/dialog.close.hover.tga b/src/minwii/widgets/data/minwii_theme/dialog.close.hover.tga new file mode 100644 index 0000000..9f36bb7 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/dialog.close.hover.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/dialog.close.normal.tga b/src/minwii/widgets/data/minwii_theme/dialog.close.normal.tga new file mode 100644 index 0000000..ee3a5d4 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/dialog.close.normal.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/dialog.png b/src/minwii/widgets/data/minwii_theme/dialog.png new file mode 100644 index 0000000..26ae2a6 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/dialog.png differ diff --git a/src/minwii/widgets/data/minwii_theme/dot.down.png b/src/minwii/widgets/data/minwii_theme/dot.down.png new file mode 100644 index 0000000..ab117a7 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/dot.down.png differ diff --git a/src/minwii/widgets/data/minwii_theme/dot.hover.png b/src/minwii/widgets/data/minwii_theme/dot.hover.png new file mode 100644 index 0000000..090f07d Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/dot.hover.png differ diff --git a/src/minwii/widgets/data/minwii_theme/dot.normal.png b/src/minwii/widgets/data/minwii_theme/dot.normal.png new file mode 100644 index 0000000..55bd736 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/dot.normal.png differ diff --git a/src/minwii/widgets/data/minwii_theme/dot.xcf b/src/minwii/widgets/data/minwii_theme/dot.xcf new file mode 100644 index 0000000..3100750 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/dot.xcf differ diff --git a/src/minwii/widgets/data/minwii_theme/down.png b/src/minwii/widgets/data/minwii_theme/down.png new file mode 100644 index 0000000..7532249 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/down.png differ diff --git a/src/minwii/widgets/data/minwii_theme/filebrowser.folder.png b/src/minwii/widgets/data/minwii_theme/filebrowser.folder.png new file mode 100644 index 0000000..4a3bd2c Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/filebrowser.folder.png differ diff --git a/src/minwii/widgets/data/minwii_theme/generate.py b/src/minwii/widgets/data/minwii_theme/generate.py new file mode 100755 index 0000000..a161556 --- /dev/null +++ b/src/minwii/widgets/data/minwii_theme/generate.py @@ -0,0 +1,98 @@ +import pygame +from pygame.locals import * +pygame.display.init() +pygame.display.set_mode((80,80),32) + +def prep(name): + fname = name+".png" + img = pygame.image.load(fname) + w,h = img.get_width()/2,img.get_height()/2 + + out = pygame.Surface((w*3,h*3),SWSURFACE|SRCALPHA,32) + out.fill((0,0,0,0)) + out.blit(img.subsurface(0,0,w,h),(0,0)) + out.blit(img.subsurface(w,0,w,h),(w*2,0)) + out.blit(img.subsurface(0,h,w,h),(0,h*2)) + out.blit(img.subsurface(w,h,w,h),(w*2,h*2)) + for i in range(0,w): + img = out.subsurface((w-1,0,1,h*3)).convert_alpha() + out.blit(img,(w+i,0)) + for i in range(0,h): + img = out.subsurface((0,h-1,w*3,1)).convert_alpha() + out.blit(img,(0,h+i)) + + return out,w,h + +todo = [ + ('button.normal','dot.normal',None,3,3,'789456123'), + ('button.hover','dot.hover',None,3,3,'789456123'), + ('button.down','dot.down',None,3,3,'789456123'), + + ('checkbox.off.normal','box.normal',None,2,2,'7913'), + ('checkbox.on.normal','box.down','check',2,2,'7913'), + ('checkbox.off.hover','box.hover',None,2,2,'7913'), + ('checkbox.on.hover','box.hover','check',2,2,'7913'), + + ('radio.off.normal','dot.normal',None,2,2,'7913'), + ('radio.on.normal','dot.down','radio',2,2,'7913'), + ('radio.off.hover','dot.hover',None,2,2,'7913'), + ('radio.on.hover','dot.hover','radio',2,2,'7913'), + + ('tool.normal','box.normal',None,3,3,'789456123'), + ('tool.hover','box.hover',None,3,3,'789456123'), + ('tool.down','box.down',None,3,3,'789456123'), + + ('hslider','idot.normal',None,3,3,'789456123'), + ('hslider.bar.normal','dot.normal',None,3,3,'789456123'), + ('hslider.bar.hover','dot.hover',None,3,3,'789456123'), + ('hslider.left','sbox.normal','left',2,2,'7913'), + ('hslider.right','sbox.normal','right',2,2,'7913'), + + + ('vslider','idot.normal',None,3,3,'789456123'), + ('vslider.bar.normal','vdot.normal',None,3,3,'789456123'), + ('vslider.bar.hover','vdot.hover',None,3,3,'789456123'), + ('vslider.up','vsbox.normal','up',2,2,'7913'), + ('vslider.down','vsbox.normal','down',2,2,'7913'), + + ('dialog.close.normal','rdot.hover',None,2,2,'7913'), + ('dialog.close.hover','rdot.hover','x',2,2,'7913'), + ('dialog.close.down','rdot.down','x',2,2,'7913'), + + ('menu.normal','desktop',None,1,1,'7'), + ('menu.hover','box.normal',None,3,3,'789456123'), + ('menu.down','box.down',None,3,3,'789456123'), + + ('select.selected.normal','box.normal',None,3,3,'788455122'), + ('select.selected.hover','box.hover',None,3,3,'788455122'), + ('select.selected.down','box.down',None,3,3,'788455122'), + + ('select.arrow.normal','box.hover',None,3,3,'889556223'), + ('select.arrow.hover','box.hover',None,3,3,'889556223'), + ('select.arrow.down','box.down',None,3,3,'889556223'), + + ('progressbar','sbox.normal',None,3,3,'789456123'), + ('progressbar.bar','box.hover',None,3,3,'789456123'), + ] + +for fname,img,over,ww,hh,s in todo: + print fname + img,w,h = prep(img) + out = pygame.Surface((ww*w,hh*h),SWSURFACE|SRCALPHA,32) + out.fill((0,0,0,0)) + n = 0 + for y in range(0,hh): + for x in range(0,ww): + c = int(s[n]) + xx,yy = (c-1)%3,2-(c-1)/3 + out.blit(img.subsurface((xx*w,yy*h,w,h)),(x*w,y*h)) + n += 1 + if over != None: + over = pygame.image.load(over+".png") + out.blit(over,(0,0)) + pygame.image.save(out,fname+".tga") + + + + + diff --git a/src/minwii/widgets/data/minwii_theme/hslider.bar.hover.tga b/src/minwii/widgets/data/minwii_theme/hslider.bar.hover.tga new file mode 100644 index 0000000..5e5c53a Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/hslider.bar.hover.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/hslider.bar.normal.tga b/src/minwii/widgets/data/minwii_theme/hslider.bar.normal.tga new file mode 100644 index 0000000..e9371c7 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/hslider.bar.normal.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/hslider.left.tga b/src/minwii/widgets/data/minwii_theme/hslider.left.tga new file mode 100644 index 0000000..2fe406c Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/hslider.left.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/hslider.right.tga b/src/minwii/widgets/data/minwii_theme/hslider.right.tga new file mode 100644 index 0000000..86a9ca5 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/hslider.right.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/hslider.tga b/src/minwii/widgets/data/minwii_theme/hslider.tga new file mode 100644 index 0000000..ff3b4b2 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/hslider.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/idot.normal.png b/src/minwii/widgets/data/minwii_theme/idot.normal.png new file mode 100644 index 0000000..4e22195 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/idot.normal.png differ diff --git a/src/minwii/widgets/data/minwii_theme/input.focus.png b/src/minwii/widgets/data/minwii_theme/input.focus.png new file mode 100644 index 0000000..477a826 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/input.focus.png differ diff --git a/src/minwii/widgets/data/minwii_theme/input.normal.png b/src/minwii/widgets/data/minwii_theme/input.normal.png new file mode 100644 index 0000000..8519a98 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/input.normal.png differ diff --git a/src/minwii/widgets/data/minwii_theme/left.png b/src/minwii/widgets/data/minwii_theme/left.png new file mode 100644 index 0000000..b965666 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/left.png differ diff --git a/src/minwii/widgets/data/minwii_theme/list.item.down.png b/src/minwii/widgets/data/minwii_theme/list.item.down.png new file mode 100644 index 0000000..fd9dc21 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/list.item.down.png differ diff --git a/src/minwii/widgets/data/minwii_theme/list.item.hover.png b/src/minwii/widgets/data/minwii_theme/list.item.hover.png new file mode 100644 index 0000000..627790d Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/list.item.hover.png differ diff --git a/src/minwii/widgets/data/minwii_theme/list.item.normal.png b/src/minwii/widgets/data/minwii_theme/list.item.normal.png new file mode 100644 index 0000000..627790d Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/list.item.normal.png differ diff --git a/src/minwii/widgets/data/minwii_theme/list.png b/src/minwii/widgets/data/minwii_theme/list.png new file mode 100644 index 0000000..99ad5bc Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/list.png differ diff --git a/src/minwii/widgets/data/minwii_theme/listitem.down.tga b/src/minwii/widgets/data/minwii_theme/listitem.down.tga new file mode 100644 index 0000000..13e2e57 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/listitem.down.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/listitem.hover.tga b/src/minwii/widgets/data/minwii_theme/listitem.hover.tga new file mode 100644 index 0000000..8bdf60a Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/listitem.hover.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/listitem.normal.tga b/src/minwii/widgets/data/minwii_theme/listitem.normal.tga new file mode 100644 index 0000000..a2994aa Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/listitem.normal.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/menu.down.tga b/src/minwii/widgets/data/minwii_theme/menu.down.tga new file mode 100644 index 0000000..f89d4b4 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/menu.down.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/menu.hover.tga b/src/minwii/widgets/data/minwii_theme/menu.hover.tga new file mode 100644 index 0000000..b304b87 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/menu.hover.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/menu.normal.tga b/src/minwii/widgets/data/minwii_theme/menu.normal.tga new file mode 100644 index 0000000..d3eb2d0 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/menu.normal.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/notes.txt b/src/minwii/widgets/data/minwii_theme/notes.txt new file mode 100644 index 0000000..f6541e4 --- /dev/null +++ b/src/minwii/widgets/data/minwii_theme/notes.txt @@ -0,0 +1,8 @@ +dot and box.xcf: + +color -170 + +.down +.hover +64 brightness +.normal, grayscale +127 brightness, +48 contrast + diff --git a/src/minwii/widgets/data/minwii_theme/out.tga b/src/minwii/widgets/data/minwii_theme/out.tga new file mode 100644 index 0000000..7ed46cc Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/out.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/progressbar.bar.tga b/src/minwii/widgets/data/minwii_theme/progressbar.bar.tga new file mode 100644 index 0000000..184ae9c Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/progressbar.bar.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/progressbar.tga b/src/minwii/widgets/data/minwii_theme/progressbar.tga new file mode 100644 index 0000000..d459763 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/progressbar.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/radio.off.hover.tga b/src/minwii/widgets/data/minwii_theme/radio.off.hover.tga new file mode 100644 index 0000000..6b0f737 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/radio.off.hover.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/radio.off.normal.tga b/src/minwii/widgets/data/minwii_theme/radio.off.normal.tga new file mode 100644 index 0000000..3da51d8 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/radio.off.normal.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/radio.on.hover.tga b/src/minwii/widgets/data/minwii_theme/radio.on.hover.tga new file mode 100644 index 0000000..d26764b Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/radio.on.hover.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/radio.on.normal.tga b/src/minwii/widgets/data/minwii_theme/radio.on.normal.tga new file mode 100644 index 0000000..42515fe Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/radio.on.normal.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/radio.png b/src/minwii/widgets/data/minwii_theme/radio.png new file mode 100644 index 0000000..7596f48 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/radio.png differ diff --git a/src/minwii/widgets/data/minwii_theme/rdot.down.png b/src/minwii/widgets/data/minwii_theme/rdot.down.png new file mode 100644 index 0000000..35cd4fe Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/rdot.down.png differ diff --git a/src/minwii/widgets/data/minwii_theme/rdot.hover.png b/src/minwii/widgets/data/minwii_theme/rdot.hover.png new file mode 100644 index 0000000..5cd77a2 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/rdot.hover.png differ diff --git a/src/minwii/widgets/data/minwii_theme/rdot.normal.png b/src/minwii/widgets/data/minwii_theme/rdot.normal.png new file mode 100644 index 0000000..636a207 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/rdot.normal.png differ diff --git a/src/minwii/widgets/data/minwii_theme/right.png b/src/minwii/widgets/data/minwii_theme/right.png new file mode 100644 index 0000000..613779e Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/right.png differ diff --git a/src/minwii/widgets/data/minwii_theme/sbox.normal.png b/src/minwii/widgets/data/minwii_theme/sbox.normal.png new file mode 100644 index 0000000..00be882 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/sbox.normal.png differ diff --git a/src/minwii/widgets/data/minwii_theme/scroller.slide.bar.hover.tga b/src/minwii/widgets/data/minwii_theme/scroller.slide.bar.hover.tga new file mode 100644 index 0000000..d0b85a9 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/scroller.slide.bar.hover.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/scroller.slide.bar.normal.tga b/src/minwii/widgets/data/minwii_theme/scroller.slide.bar.normal.tga new file mode 100644 index 0000000..84ff6bb Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/scroller.slide.bar.normal.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/scroller.slide.h.tga b/src/minwii/widgets/data/minwii_theme/scroller.slide.h.tga new file mode 100644 index 0000000..0281567 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/scroller.slide.h.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/scroller.slide.v.tga b/src/minwii/widgets/data/minwii_theme/scroller.slide.v.tga new file mode 100644 index 0000000..cbaa875 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/scroller.slide.v.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/select.arrow.down.tga b/src/minwii/widgets/data/minwii_theme/select.arrow.down.tga new file mode 100644 index 0000000..d721002 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/select.arrow.down.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/select.arrow.hover.tga b/src/minwii/widgets/data/minwii_theme/select.arrow.hover.tga new file mode 100644 index 0000000..162d8e7 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/select.arrow.hover.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/select.arrow.normal.tga b/src/minwii/widgets/data/minwii_theme/select.arrow.normal.tga new file mode 100644 index 0000000..162d8e7 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/select.arrow.normal.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/select.arrow.png b/src/minwii/widgets/data/minwii_theme/select.arrow.png new file mode 100644 index 0000000..19de760 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/select.arrow.png differ diff --git a/src/minwii/widgets/data/minwii_theme/select.option.hover.png b/src/minwii/widgets/data/minwii_theme/select.option.hover.png new file mode 100644 index 0000000..fd9dc21 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/select.option.hover.png differ diff --git a/src/minwii/widgets/data/minwii_theme/select.option.normal.png b/src/minwii/widgets/data/minwii_theme/select.option.normal.png new file mode 100644 index 0000000..627790d Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/select.option.normal.png differ diff --git a/src/minwii/widgets/data/minwii_theme/select.options.png b/src/minwii/widgets/data/minwii_theme/select.options.png new file mode 100644 index 0000000..477a826 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/select.options.png differ diff --git a/src/minwii/widgets/data/minwii_theme/select.selected.down.tga b/src/minwii/widgets/data/minwii_theme/select.selected.down.tga new file mode 100644 index 0000000..7d952a0 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/select.selected.down.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/select.selected.hover.tga b/src/minwii/widgets/data/minwii_theme/select.selected.hover.tga new file mode 100644 index 0000000..91dd794 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/select.selected.hover.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/select.selected.normal.tga b/src/minwii/widgets/data/minwii_theme/select.selected.normal.tga new file mode 100644 index 0000000..54b8927 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/select.selected.normal.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/slider.bar.hover.tga b/src/minwii/widgets/data/minwii_theme/slider.bar.hover.tga new file mode 100644 index 0000000..5e5c53a Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/slider.bar.hover.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/slider.bar.normal.tga b/src/minwii/widgets/data/minwii_theme/slider.bar.normal.tga new file mode 100644 index 0000000..e9371c7 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/slider.bar.normal.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/slider.tga b/src/minwii/widgets/data/minwii_theme/slider.tga new file mode 100644 index 0000000..ff3b4b2 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/slider.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/tool.down.tga b/src/minwii/widgets/data/minwii_theme/tool.down.tga new file mode 100644 index 0000000..f89d4b4 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/tool.down.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/tool.hover.tga b/src/minwii/widgets/data/minwii_theme/tool.hover.tga new file mode 100644 index 0000000..184ae9c Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/tool.hover.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/tool.normal.tga b/src/minwii/widgets/data/minwii_theme/tool.normal.tga new file mode 100644 index 0000000..b304b87 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/tool.normal.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/up.png b/src/minwii/widgets/data/minwii_theme/up.png new file mode 100644 index 0000000..d42c324 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/up.png differ diff --git a/src/minwii/widgets/data/minwii_theme/vbox.normal.png b/src/minwii/widgets/data/minwii_theme/vbox.normal.png new file mode 100644 index 0000000..9229c87 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/vbox.normal.png differ diff --git a/src/minwii/widgets/data/minwii_theme/vdot.down.png b/src/minwii/widgets/data/minwii_theme/vdot.down.png new file mode 100644 index 0000000..e9e781e Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/vdot.down.png differ diff --git a/src/minwii/widgets/data/minwii_theme/vdot.hover.png b/src/minwii/widgets/data/minwii_theme/vdot.hover.png new file mode 100644 index 0000000..74e043b Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/vdot.hover.png differ diff --git a/src/minwii/widgets/data/minwii_theme/vdot.normal.png b/src/minwii/widgets/data/minwii_theme/vdot.normal.png new file mode 100644 index 0000000..f64089b Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/vdot.normal.png differ diff --git a/src/minwii/widgets/data/minwii_theme/vsbox.normal.png b/src/minwii/widgets/data/minwii_theme/vsbox.normal.png new file mode 100644 index 0000000..2deca17 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/vsbox.normal.png differ diff --git a/src/minwii/widgets/data/minwii_theme/vslider.bar.hover.tga b/src/minwii/widgets/data/minwii_theme/vslider.bar.hover.tga new file mode 100644 index 0000000..0a3f70a Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/vslider.bar.hover.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/vslider.bar.normal.tga b/src/minwii/widgets/data/minwii_theme/vslider.bar.normal.tga new file mode 100644 index 0000000..07ee06e Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/vslider.bar.normal.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/vslider.down.tga b/src/minwii/widgets/data/minwii_theme/vslider.down.tga new file mode 100644 index 0000000..61c75a6 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/vslider.down.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/vslider.tga b/src/minwii/widgets/data/minwii_theme/vslider.tga new file mode 100644 index 0000000..ff3b4b2 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/vslider.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/vslider.up.tga b/src/minwii/widgets/data/minwii_theme/vslider.up.tga new file mode 100644 index 0000000..ce73c30 Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/vslider.up.tga differ diff --git a/src/minwii/widgets/data/minwii_theme/x.png b/src/minwii/widgets/data/minwii_theme/x.png new file mode 100644 index 0000000..d00f36b Binary files /dev/null and b/src/minwii/widgets/data/minwii_theme/x.png differ