Vista Style Builder

   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to indicate a different image for each library  (Read 10464 times)
rajtheeban
Beta Tester
Dedicated Themer
*
Posts: 192


View Profile WWW
« on: September 24, 2010, 12:57:10 pm »

Hi,

I explain my problem:

by default the image for the background of the different libraries (generic, document, image, video etc) is always the same, localized in CommandModule 10,1 something like that

But here is the effect i want to create. Like these screenshots show it, I would like to put an different image for each library: an image for the document library, another for the image library...  in order to get this result (a different icon to symbolize the library you're visiting):





and




Is it possible ? How to do ?
I tried to edit some files from shell32.dll and some places in my shellstyle.dll but without success...

I know it's technically possible for the detail pane, but for library pane ?
« Last Edit: September 24, 2010, 12:59:49 pm by rajtheeban » Logged
ka-la
Guest
« Reply #1 on: September 24, 2010, 01:04:20 pm »

Im pretty sure its possible someway like the shellstyle Wink just some .dll hacking I dont know much
Logged
rajtheeban
Beta Tester
Dedicated Themer
*
Posts: 192


View Profile WWW
« Reply #2 on: September 24, 2010, 01:12:09 pm »

thank you for reassuring me
I tried this kind of change in the shellstyle (for musiclayoutstyle for example) but it doesn't work

<TemplateBackground background="ARGB(0, 0, 0, 0)" />

<if id="atom(ReadingPane)">
<TemplateBackground background="themeable(Gradient(gtc(ReadingPane, 1, 0, 3810), gtc(ReadingPane, 1, 0, 3811), gtc(ReadingPane, 1, 0, 3812), 4), window)" font="gtf(TextStyle, 4, 0)" /></if>

<if id="atom(LibrayPane)">
<TemplateBackground background="dtb(CommandModule, 12, 0)"/></if>


<if id="atom(RPaneCoverSheet_NoSel)">
<Element foreground="themeable(gtc(ReadingPane, 2, 0, 3803), windowtext)" background="ARGB(0, 0, 0, 0)" /> </if>

<if id="atom(PreviewShineLayer)">
<TemplateBackground background="themeable(dtb(PreviewPane, 1, 1), window)" /> </if>

<if Vertical="true" id="atom(PreviewShineLayer)">
<TemplateBackground background="themeable(dtb(PreviewPane, 1, 2), window)" /></if>
Logged
ka-la
Guest
« Reply #3 on: September 24, 2010, 01:47:24 pm »

SORRY FOR DOUBLE POST
« Last Edit: September 24, 2010, 01:49:12 pm by ka-la » Logged
ka-la
Guest
« Reply #4 on: September 24, 2010, 01:48:15 pm »

You probably need to make it either read from shellstyle ( or point it where it holds multicolor shellsryle images) and make many of these or something, no?
Quote
   <style resid="librarypanestyle">
         <if id="atom(LibraryPaneBackground)">
            <Element background="themeable(argb(255, 252, 252, 252), window)"/>
         </if>
         <if id="atom(LibraryPaneShine)">
            <Element background="dtb(CommandModule, 11, 0)"/>
         </if>
         <if id="atom(LibraryPaneOverlay)">
            <Element background="dtb(CommandModule, 12, 0)" height="54rp" width="500rp"/>
         </if>
         <if class="library_pane">
            <Element accessible="true" accrole="pane" background="argb(0, 0, 0, 0)" contentalign="middlecenter" font="gtf(TEXTSTYLE, 4, 0)" foreground="themeable(argb(255, 30, 57, 91), windowtext)" height="55rp" padding="rect(12rp, 4rp, 26rp, 0rp)"/>
         </if>
         <if class="library_pane_spacer">
            <Element height="6rp"/>
         </if>
         <if class="location_includes">
            <Element foreground="argb(255, 90, 103, 121)"/>
         </if>
         <if id="atom(Locations)">
            <Element padding="rect(4rp, 1rp, 0rp, 0rp)"/>
         </if>
         <if id="atom(LocationButton)">
            <Button cursor="hand" fontface="Segoe UI" fontsize="9pt" foreground="gtc(CommandModule, 9, 1, 3803)" padding="rect(3rp, 0rp, 3rp, 0rp)" tooltipmaxwidth="400"/>
            <if keyfocused="true">
               <Button contentalign="focusrect"/>
            </if>
            <if mousefocused="true">
               <Button fontstyle="underline" foreground="gtc(CommandModule, 9, 2, 3803)"/>
            </if>
            <if pressed="true">
               <Button fontstyle="underline" foreground="gtc(CommandModule, 9, 3, 3803)"/>
            </if>
         </if>
         <if id="atom(LibraryIdentifier)">
            <Element contentalign="endellipsis" fontface="Segoe UI" fontquality="cleartype" fontsize="14pt" foreground="gtc(CommandModule, 10, 1, 3803)" padding="rect(2rp, 0rp, 0rp, 0rp)"/>
         </if>
         <if id="atom(LibraryPaneSizer)">
            <Sizer InitialSize="55"/>
         </if>

Found on m7 R2 shellstryle
« Last Edit: September 24, 2010, 01:57:21 pm by ka-la » Logged
sunbeam2000
Beta Tester
Dedicated Themer
*
Posts: 207


View Profile WWW
« Reply #5 on: September 24, 2010, 04:48:23 pm »

nice idea, but i'm sure it also has to be modified in Shell32.dll (as the multicolor folderband) to get it working as rajtheeban mentioned.

Little Off-Topic: i tried to enlarge the height of the library-pane in shellstyle but it did only work in Open/Save Dialog with the settings only in shellstyle.txt.
Logged
rajtheeban
Beta Tester
Dedicated Themer
*
Posts: 192


View Profile WWW
« Reply #6 on: September 24, 2010, 10:29:21 pm »

Indeed, I see there are the first 4 files in the UIFILE folder that may interest me
I also tried to inspire me from the shellstyle.dll file of Longhorn
 

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!