Announcement

Collapse
No announcement yet.

How ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #76
    The attached xml and maki files fix it.

    In addition to fixing the bugs, within each group, I set the x of the leftmost element to "0" and the y of the topmost element to "0" and calculated the other x's and y's relative to them. Then in player-normal.xml, I set the x of each group to the position where its leftmost element should appear and the y to the position of its topmost element. This way, it will be much easier to move a group. Say, you change your mind to move the button column from the left to the right. All you will need to do is change the x and y of the group. You will not need to bother about the positions of the elements within the group.
    Last edited by ariszlo; 16 May 2023, 21:07. Reason: Removed old attachments.
    Ariszló @ WinCustomize & DeviantArt

    Comment


    • #77
      yes of course you're right about the absolute coordinates. I was thinking about taking care of that when reaching the tiding process. (thanks for the fix).

      Do you have any idea about colors not showing ?
      Last edited by parisienne17; 4 June 2021, 05:14.

      Comment


      • #78
        Originally Posted by parisienne17 View Post
        Do you have any idea why colors aren't showing ?
        The colors of what? Every element is displayed for me in the color defined for it in system-colors.xml.

        Could you show me a screenshot with the wrong colors and a mock-up image with the right colors, please?
        Ariszló @ WinCustomize & DeviantArt

        Comment


        • #79
          I was thinking of a second skin using mainly the actual material and I came close to that sketch
          .
          The 'words' in the middle of the player are the initials of :
          Aot, Shuffle, Repeat, Equalize, Crossfade
          Media library, Playlist, Eject, Browse, Mute, becoming active icons triggering calls to the compenents.

          Fully transparent windows are appealing but unproductive in daily use, the main issue being the transparency of the window, I thought of windows 7 blurring the area underneath so I queried the internet and found that blurring is quite basic to do.

          The question is that is it possible for a script to 'query' windows in order to be aware of what's under the player and blur that 'image' ? What do you think about it ?

          Comment


          • #80
            That was odd..
            I've published a question about an idea I had yesterday and got "your post will be published after an administrator approval"... or something like this.

            Strange...

            About the colors, using the same system-colors.xml in 2 skins, the different results.
            The right one


            and the wrong one (being my skin)

            Comment


            • #81
              Originally Posted by parisienne17 View Post
              That was odd..
              I've published a question about an idea I had yesterday and got "your post will be published after an administrator approval"... or something like this.
              That usually happens when your post contains a link that the forum motor deems suspicious.

              Originally Posted by parisienne17 View Post
              About the colors, using the same system-colors.xml in 2 skins, the different results.
              Now, I see what you mean. This is how Winamp colors the pop-up menu:
              1. First, it checks whether your skin has color definitions for the pop-up menu. If it finds them then it will use them.
              2. If it does not then it will look for color definitions for wasabi.window.background and wasabi.window.text and if it finds them then it will use them.
                • Note that the last version of your system-colors.xml that I have seen defines wasabi.window.background twice. With duplicate color definitions, the one that comes later cancels the one that comes earlier.
              3. If it does not find a color definition for wasabi.window.background then Winamp will use the background color of the image defined for wasabi.frame.basetexture.
              4. If it does not find a color definition for wasabi.window.text then it will use wasabi.list.text.
              5. If none of the above are defined for your skin then it will use "144,144,144" for pop-up background and "196,255,196" for pop-up text.
                • "144,144,144" is picked from a pixel of C:\Program Files (x86)\Winamp\Plugins\freeform\xml\wasabi\window\background.png
                • "196,255,196" is read from C:\Program Files (x86)\Winamp\Plugins\freeform\xml\wasabi\xml\system-colors.xml
              Ariszló @ WinCustomize & DeviantArt

              Comment


              • #82
                The only link in the post was to the pictures hoster I've used since the beginning of our conversation, besides being my desktop background in 2560 by something. Later on that...

                Thanks for the tips about colors but what about this :
                Your skin (and it's color definition)


                your skin with my system-colors.xml


                and my skin with the same system-colors.xml



                About my previous post and as moderation hasn't come to terms with it...
                I was thinking about a second skin (if my eyes let me see until that point) and came across that sketch

                The 'words' in the middle are the inittials of
                Aot, Shuffle, Repeat, Equalize, Crossfade
                Media library, Playlist, Eject, Browse, Mute
                being icons calling for components or actions.


                The issue is that transparency when appealing isn't productive in daily use so I thought about win7 blurring under windows. I took a look on the internet to find that coding blur is pretty basic so I was wondering if winamp scripting abillities allows for, on load, getting the player's underneath 'image', blur it then display the player on top.

                What do you think about it ?

                Comment


                • #83
                  Originally Posted by parisienne17 View Post
                  and my skin with the same system-colors.xml
                  The results are definitely not the same. In my skin with your system-colors.xml, the color of the window background around the Media Library buttons and the background color of the pop-up menu are both dark gray, defined with this tag:
                  PHP Code:
                  <color id="wasabi.window.background" value="20,20,20"/> 
                  In your skin, they are colored "144,144,144", which is the light grade shade Winamp picks from a pixel of C:\Program Files (x86)\Winamp\Plugins\freeform\xml\wasabi\window\background.png if wasabi.window.background is not defined.

                  So you either do not have the above tag in your system-colors.xml, or do not have this line in your skin.xml:
                  PHP Code:
                  <include file="xml/system-colors.xml"/> 
                  Originally Posted by parisienne17 View Post
                  I was wondering if winamp scripting abillities allows for, on load, getting the player's underneath 'image', blur it then display the player on top.
                  I don't really get what you mean. Would the blurred image be some kind of a drop shadow?
                  Ariszló @ WinCustomize & DeviantArt

                  Comment


                  • #84
                    here is my skin.xml content :
                    PHP Code:
                    <WinampAbstractionLayer version="1.3">
                    <
                    skininfo>
                    blah blah blah
                     
                    </skininfo>
                      
                    <
                    included file="xml/system-colors.xml"/>
                    <include 
                    file="xml/standardframe.xml"/>
                    <include 
                    file="xml/pledit.xml"/>
                    <include 
                    file="xml/player.xml"/>
                    <include 
                    file="xml/artvis.xml"/>
                    <
                    script id="albumartvis" file="scripts/albumartvis.maki"/> 
                    </
                    WinampAbstractionLayer
                    and system-colors.xml content :
                    PHP Code:
                    <elements>

                     <
                    color id="wasabi.list.text.current" value="255,255,255"/>                                                                                     <!-- Playing song text color -->
                    <
                    color id="wasabi.list.text.selected.background" value="255,0,0"/>                                                                     <!-- selection bar color  -->
                    <
                    color id="wasabi.list.text" value="140,140,140" gammagroup="Text"/>                                                                 <!-- normal text color -->
                    <
                    color id="wasabi.list.column.text" value="140,140,140" gammagroup="Text"/>                                                 <!-- Columns text color -->
                    <
                    color id="wasabi.list.item.selected.fg" value="255,0,0" gammagroup="Text"/>                                                 <!-- Selected item text foreground color -->
                    <
                    color id="wasabi.list.column.separator" value="0,0,0"  gammagroup="Backgrounds"/>                                     <!-- Color of line between columns -->
                    <
                    color id="wasabi.itemlist.outline.current" value="255,0,0"/>                                                                             <!-- Currently playing outline color -->
                    <
                    color id="wasabi.textBar.text" value="255,0,0" gammagroup="Text"/>                                                                 <!-- Text object message box text color -->
                    <
                    color id="wasabi.textBar.background" value="255,0,0" gammagroup="Text Backgrounds"/>                             <!-- Text object message box text background color -->
                    <
                    color id="wasabi.list.text.selected" value="0,0,255" gammagroup="Text"/>                                                   <!-- from wasabi.list.item.selected.fg -->

                    <!-- 
                    Buttons -->
                    <
                    color id="wasabi.button.text" value="255,0,0" gammagroup="Text"/>                                                                     <!-- Buttons text color -->
                    <
                    color id="wasabi.button.hiliteText" value="0,240,0" gammagroup="Text"/>                                                         <!-- Buttons hilite text colorused by tab windows-->
                    <
                    color id="wasabi.button.dimmedText" value="64,64,64" gammagroup="Text"/>                                                     <!-- Buttons dimmed text colorwhen disabled -->
                    <
                    color id="wasabi.text.color" value="255,0,0" gammagroup="Text"/>
                    <
                    color id="wasabi.text.color.inverse" value="0,0,0" gammagroup="Text Inverse"/>

                    <
                    color id="wasabi.tree.text" value="255,0,0" gammagroup="Text"/>                                                                     <!-- Item text color ??? -->
                    <
                    color id="wasabi.tree.hiliteddrop" value="0,0,0"/>                                                                                         <!-- Drop marker color ??? -->

                    <
                    color id="wasabi.window.background" value="10,10,10"/>
                    <
                    color id="wasabi.window.text" value="255,255,255"/>

                    </
                    elements

                    About the new skin.
                    Imagine a transparent background for the player. Nice BUT not usefull as background screams thru it.
                    Microsoft has solved this by adding a blurred layer under windows alongside drop shadows.
                    So I was wodering if that could be achieved by scripting :
                    - 'get' the underlying area of the player
                    - blur it
                    - display the player on top.

                    Comment


                    • #85
                      Look at this line, letter by letter, and you will see:
                      <included file="xml/system-colors.xml"/>
                      Originally Posted by parisienne17 View Post
                      So I was wodering if that could be achieved by scripting :
                      - 'get' the underlying area of the player
                      - blur it
                      - display the player on top.
                      Probably, it could but it would be much more work to script it than do a blurred layer with an image editor.
                      Ariszló @ WinCustomize & DeviantArt

                      Comment


                      • #86
                        Originally Posted by ariszlo View Post
                        Look at this line, letter by letter, and you will see:.
                        Oh my... becoming blind is so much pain in the ass : I edited the file name in your skin NOT copying the whole line, of course with it's misspelled entry !

                        You're the man : Problem solved !


                        Originally Posted by ariszlo View Post
                        Probably, it could but it would be much more work to script it than do a blurred layer with an image editor.
                        Sure except that it won't be a transparent background with an underlying blurred area but the same blurred picture everywhere or anywhere on the desktop. Not really the same.

                        Comment


                        • #87
                          Originally Posted by parisienne17 View Post
                          Sure except that it won't be a transparent background with an underlying blurred area but the same blurred picture everywhere or anywhere on the desktop. Not really the same.
                          Now I remember. Vista and 7 used to have that effect. It took me so much time to understand what you meant because I mostly used Ubuntu during the Vista/Windows 7 period. Windows 8 dropped Aero and Windows 10 did not bring it back.
                          Ariszló @ WinCustomize & DeviantArt

                          Comment


                          • #88
                            Exactly, it was the time where microsoft dropped its eye candy UI for the ugly 'tiles' start menu and flat one in w10. I'm not sure the API was dropped down tho, it mighr be burried down somewhere.
                            Paradoxically, it was the times where computers ramped up in power processing alongside beefed up graphic cards...

                            That was the reason I didn't took the leap and a reason to start using stardock windowblinds again.

                            Comment


                            • #89
                              Okay, now that I understand your question, I can answer it. No, I don't think it is possible. The feature was asked for 12 years ago and Winamp still does not support it.
                              Ariszló @ WinCustomize & DeviantArt

                              Comment


                              • #90
                                Thanks for the link (I should have queried the forum).

                                Even if it adresses the issue, request and answers were a bit on a different page.
                                I know that winamp doesn't use microsoft DRW or DRV system (name from memory) providing transparency, blur & shadow and that it won't (I'm also wondering if we'll have a revamped player as stated on the homepage ) but what I was thinking of is a bit different.

                                I understand that it would require a bit much from winamp's scripting abilities, maybe even dealing with outside code to query and communicate with windows core system. Too bad in a way and who cares anyway as people don't even know the name winamp ;.)

                                Comment

                                Working...
                                X
                                😀
                                🥰
                                🤢
                                😎
                                😡
                                👍
                                👎