Announcement

Collapse
No announcement yet.

Quinto Black CT - New Winamp Modern skin

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

  • Originally Posted by PeterK. View Post

    1) where is the difference between button.onLeftClick() and button.onLeftClickDown(int x,int y)?


    I can't believe I know these ones... (I'm learning a lot with my Modern Bento heh).

    button.onLeftClick() computes the entire "clicking" action, meaning pressing the button AND releasing it.

    button.onLeftButtonDown
    computes ONLY when you press the mouse button (it can be used to do stuff in conjunction with button.onLeftButtonUp -that would be "releasing"-).


    Originally Posted by PeterK. View Post
    2) does someone know how to use the command guiObject.onMouseOver(int x,int y) properly? I tried to show a <layer> while the mouse pointer was over a button but nothing happened.


    I'm not sure about the exact function of this one, but what is usually used to do what you want is guiObject.onEnterArea() /
    guiObject.onLeaveArea().

    A lot of the skinning / scripting functions like these can be found in your std.mi* file (and corresponding ones, like lib/pldir.mi for Playlist stuff and so on..).

    *Usually found on your compiler folder.

    Originally Posted by PeterK. View Post
    By the way: someone likes Quinto.


    Awesome! Not only one of your skins is there, but 2!! Congrats!!
    · · Big Bento Modern

    Comment


    • Thank you for the clarification. It's time to clean up some scripts ...

      Originally Posted by Victhor View Post
      A lot of the skinning / scripting functions like these can be found in your std.mi* file (and corresponding ones, like lib/pldir.mi for Playlist stuff and so on..).
      Vic! The std.mi file is my Winamp/Quinto BIBLE! ... and the wiki page of course. What a pity that so many of those numerous options/features/commands are not explained.
      Originally Posted by Victhor View Post
      Awesome! Not only one of your skins is there, but 2!! Congrats!!
      Yay! Word finally got out.
      Quinto Black CT

      Comment


      • Originally Posted by PeterK. View Post
        ...

        Yay! Word finally got out.
        You really need to add a PayPal donation link to the skin.
        Winamp v5.9.1.10029 - Quinto Black CT v3.6 skin
        Windows 11 Home 64-bit v22H2 desktop - Logitech Z906 5.1 speaker system

        Comment


        • Originally Posted by Aminifu View Post
          You really need to add a PayPal donation link to the skin.
          And what about a Bitcoin donation button?

          Benefits of using BitCoin:

          ● Pay and be paid without transaction fees
          ● Send and receive money around the world within seconds
          ● BitCoin provides better privacy than most online currencies
          ● Simple transactions - you only need a BitCoin address to send and receive money
          ● no "middleman" (= bank) within a transaction between two bitcoin addresses
          Quinto Black CT

          Comment


          • As far as the upcoming Offline Lyrics window is concerned, the user will have to create the lyrics text files on his own by adding the default_lyrics.html to the particular music folder of his choice and copying it as many times as there are music files. Afterwards he will need to rename every file so the *.html files have exactly the same names as the music files do.

            With some help from uncle Google I made a batch file which creates and renames text files in the folder of your choice fully automatically. In addition to this every text file will include the command lines needed for the proper display in the Lyrics window.

            The new procedure of creation an offline lyrics file would now look like the following:

            1. grab the batch file.
            3. paste it into a music folder.
            4. double click it.

            Finished!

            The last part of the job would be:

            1. find lyrics on the Internet
            2. copy and paste the lyrics into a text file.
            3. save the file, change the extension from .txt to .html

            Kinda cool, huh?
            Quinto Black CT

            Comment


            • Originally Posted by Victhor View Post

              button.onLeftClick() computes the entire "clicking" action, meaning pressing the button AND releasing it.

              button.onLeftButtonDown
              computes ONLY when you press the mouse button (it can be used to do stuff in conjunction with [FONT=Verdana]button.onLeftButtonUp -that would be "releasing"-).

              We must be very careful while using those commands.

              I know that there are absolutely no "fancy" actions in my skin while releasing the mouse buttons, so I decided to make things easier and replaced .onLeftClickDown(int,x int y) with .onLeftClick() in the script files.

              During the compilation process the compiler could not stop complaining. And why? Because objects like AlbumArt, Notifier and Timer, for which I would use a mouse button, ARE NOT BUTTONS. These are guiObjects.

              After this tiny faux-pas I think it is safe to say, that we can use .onLeftClickDown(int x, int y) on both: buttons and guiObjects but .onLeftClick() on buttons only!
              Quinto Black CT

              Comment


              • Originally Posted by PeterK. View Post
                We must be very careful while using those commands.

                ...
                I made a nice living for decades, designing and coding software. It was challenging and fun (with and without good documentation to explain things), but it's things like this that make me glad I'm not doing it anymore. However, I'm very happy that others are still doing it. Keep up the good work, PeterK.
                Winamp v5.9.1.10029 - Quinto Black CT v3.6 skin
                Windows 11 Home 64-bit v22H2 desktop - Logitech Z906 5.1 speaker system

                Comment


                • Originally Posted by Aminifu View Post
                  Keep up the good work, PeterK.
                  I am much obliged for the encouraging words from you Aminifu.

                  @Victhor: within your Komodo skin there is an option which allows to download wallpapers. Do you know how to open a new window and send it immediately to the back of all opened containers/windows/plug-ins?

                  Yes, I know there is the .bringToBack() command, but it applies to guiObjects only. As soon as I use it with a <container> I would get an error message, and using it in combination with an <layout> does not show any results (which does not surprise me since neither a <container> nor a <layout> is a guiObject).
                  Quinto Black CT

                  Comment


                  • Originally Posted by PeterK. View Post
                    ..within your Komodo skin there is an option which allows to download wallpapers. Do you know how to open a new window and send it immediately to the back of all opened containers/windows/plug-ins?
                    Mmmm... there isn't an ideal method, or a straight one, because of 2 things: 1. Winamp doesn't have a way to interact with the specific content of a web page and 2. DeviantArt, where those wallpapers are, has different download methods, some have a .zip file with different resolutions and some just open a bigger pic.

                    There is a trick though, which does something close enough I think, if you don't want to leave Winamp:
                    - Open the Wallpapers downloads page (the Web+ feature actually).
                    - Open the desired wallpaper on the best possible resolution (it may open a new IE window).
                    - Copy the URL of that pic (either by right click or Ctrl+C or whatever).
                    - Paste the URL in the Open Dialog in the Backgrounds page of Komodo (like if you were to select a new wallpaper, but instead of selecting one, you just paste the URL) and hit enter / open.
                    - Voilá!*

                    *(downside of it is that it will connect to internet for every Winamp session)
                    · · Big Bento Modern

                    Comment


                    • I am sorry Victhor, I should have explained my question more precisely.

                      I would like to add a new context menu option called Wallpaper. User would click on it and a wallpaper would appear on the desktop. The trouble here is that according to an unwritten computer science law, the last window is ALWAYS ON TOP AND HAS FOCUS. Exactly the same happens when I open a window in Winamp. My wish is quite the opposite. I would like to open such a window (= wallpaper here) and Winamp would send it to the back - between the desktop and all Winamp components, so the wallpaper window would not cover any running components.
                      Quinto Black CT

                      Comment


                      • As I already mentioned I added a close button next to the content area in the "About" window following the advice of many users.



                        In addition to that I also made the entire window immovable. Yes I did remember to do so in the 1.4 version by adding the command move="0" to the <layout>. Too bad I did not realize that this particular line only applies to the transparent background and not to the entire window, which made grabbing the content area and moving the window possible, what, in my opinion, should not be happening. So now also the content area is fixed.

                        And there is a subtle shadow which I added to the needles in the analog VU Meter:



                        I hope you like it.

                        Attached Files
                        Quinto Black CT

                        Comment


                        • Originally Posted by PeterK. View Post
                          And there is a subtle shadow which I added to the needles in the analog VU Meter..
                          Obsessive designer's question: Does the shadow move accordingly with the needle? Or it stays on the right side always? (I'm asking mainly to see if you would solve it as I would.. heh)
                          · · Big Bento Modern

                          Comment


                          • Originally Posted by Victhor View Post
                            ...Does the shadow move accordingly with the needle? Or it stays on the right side always?
                            I have to disappoint you Victhor, but this is just a fake shadow which always stays on the right side of the needle regardless to the needle's position. (so it moves with the needle - but it keeps its position on the right side since both the needle and the shadow are in the same layer of the same bitmap)
                            Quinto Black CT

                            Comment


                            • I just discovered a small bug regarding the Album Cover window. After setting a particular size, say, 300x300 pixel, and moving the window "around" the "checked-sign" disappears. You have to click again in order to get it back. Hmmm....
                              Quinto Black CT

                              Comment


                              • Originally Posted by PeterK. View Post
                                I have to disappoint you Victhor, but this is just a fake shadow which always stays on the right side of the needle regardless to the needle's position. (so it moves with the needle - but it keeps its position on the right side since both the needle and the shadow are in the same layer of the same bitmap)
                                (Forgot to reply before) I think I have a solution.. try it just for fun if you want. May not be elegant, but it does its job;
                                - Duplicate the needle and set it to work just like the actual - working one (may need some coding duplicating).
                                - This needle dupe should look basically like the shadow of the needle (see attach).
                                - Place it behind the main one and give it a different radius* so it starts more on the left side, and reach the right side more to the right.
                                - Voilá.

                                *Maybe the coding part is a pain on the ass, I've just realized the speed and sensitivity is configurable.. but in the end, the effect may be worth it if it achieves a higher realism..

                                PS: this is all asuming the light is on the center of the VU Meter, like seen on current graphics.
                                Attached Files
                                · · Big Bento Modern

                                Comment

                                Working...
                                X