July 11, 2011, 20:38:25 Last Edit: July 12, 2011, 07:45:29 by mgrubert
A layout for poor resolution PC.



[EeePC]
Author= MajorGrubert (with aboettger's help and inspiration)
Type=G+

Default = Window(size=90%x80%) HPMainPannel(size=800) VBMainleft(size=200) VPMainCenter(size=200) VPMainright(size=200)

VolumeScroll = VBVolume HPNowplaying


VBMain = HBMenu 1Filler2 _HBMainContainer 1Filler3

HBMenu = _MBmenu

MBmenu = MainMenuItem LayoutItem
                           

HBMainContainer = _HPMainPannel VBBouton

VBBouton = \
Prev(size=button,minwidth=34,maxwidth=34) \
Play(size=button,minwidth=34,maxwidth=34) \
Stop(size=button,minwidth=34,maxwidth=34) \
Next(size=button,minwidth=34,maxwidth=34) \
_VBVolume \

-Quit(size=button,minwidth=34,maxwidth=34,tip=_"Quit") \
-Pref(stock=gtk-preferences,size=button,minwidth=34,maxwidth=34) \
-Button1(click1="RunPerlCode(::ChooseAddPath(0,1))",stock=gtk-add,size=button,minwidth=34,maxwidth=34,tip=_"Add folder ...") \
-Button2(click1="RunPerlCode(::IdleCheck)",stock=gtk-refresh,size=button,minwidth=34,maxwidth=34,tip=_"check now") \
-Button3(click1="RunPerlCode(::IdleScan)",stock=gtk-zoom-in,size=button,minwidth=34,maxwidth=34,tip=_"scan now") \
-Queue(size=button,minwidth=34,maxwidth=34)  \
-10Filter(size=button,minwidth=34,maxwidth=34)  \
-Sort(size=button,minwidth=34,maxwidth=34) \
-ResetFilter \
-Playlist(size=button,minwidth=34,maxwidth=34) \
-Fullscreen(size=button,minwidth=34,maxwidth=34)

VBVolume = VolumeIcon(button=1) _VolumeSlider(1,0)

HPMainPannel = _VBLeftPanel _VBCenterAndRight

############################
# Left
############################

VBLeftPanel = HBSearchBar \
_FilterPane1(nb=1,hidetabs=0,hidebb=1,page=savedtree,pages=savedtree) 

HBSearchBar = (minheight=34,maxheight=34) \
ResetFilter2 2_SimpleSearch(noselector=1,suggest=0) 

VBCenterAndRight = 2Filler60 HBNowplaying 2Filler61 _HPSubMainPannel

HBNowplaying = 5_TimeBar(text="%t by %a in %l (%m)",minwidth=240)


HPSubMainPannel = _VPMainCenter _VPMainright
 

############################
# Center
############################

VPMainCenter =  _HBAlbums VBSongtree

HBAlbums = _FilterPane2(nb=2,\
hidebb= 1,\
      hidetabs= 0,\
      min= 1,\
      page= album,\
      page_album/lmarkup= 1,\
page_album/lpicsize= 64,\
page_album/mmarkup= below,\
page_album/mode=mosaic,\
page_album/sort= year,\
      pages=album)


VBSongtree =  _SongTree HBTotal
   
HBTotal = -Total(size=small)     




############################
# Right
############################

VPMainright = _NBSidebar1

NBSidebar1 = (tabpos=left90,typesubmenu='PC') \
VBQueueList \
VBPlayList \
Context


VBQueueList = (tabtitle=_"Queue") \
                    EditListButtons(group=2,small=1,relief=none) \
                    _QueueList(cols="queuenumber titleaa",colwidth="queuenumber 20",sort="path album:i disc track file",songtree=0,group=2) \
    HBQueueActions

                        HBQueueActions = Total1(size="small",group=2) -QueueActions


VBPlayList = (tabtitle=_"Playlist") \
                            _SongList(cols="playandqueue titleaa",colwidth="queuenumber 20",sort="path album:i disc track file",mode=playlist,group=1,follow=1)




#################################################################################

Update : Volume and a few tweak