Announcement

Collapse
No announcement yet.

How ?

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

  • ariszlo
    replied
    Now there are two skins in my how folder to show how you can switch between seven different layouts: an updated version of Study Layouts and a completely new Sevenovem.

    In Study Layouts, two layouts have windowholders for visualization. The background images of layouts with windowholders can only have fully opaque and fully transparent pixels, no gradual transitions between the two extremes. Layouts with windowholders may also have issues with some window shapes. The Study Layouts skin offers two workarounds for having a windowholder in a layout with an irregularly shaped window background:
    • player-compact-vis.xml uses an extra layer behind the windowholder
    • player-compact-vis-regions.xml uses regions
    In Sevenovem, what looks like a main window with embedded visualization is in fact separate windows. The visualization window is fit into a transparent rectangle of the player window. Since the player and the visualization window are two different windows, the visualization window has no effect on the player background, which can have all possible alpha values.

    Leave a comment:


  • ariszlo
    replied
    Originally Posted by PeterK. View Post
    This tag apparently used to be a part of the layout section but not for the id="normal" but id="shade", this tiny bar full of microscopic buttons I never was ​fond of.
    And it still...
    Originally Posted by parisienne17 View Post
    works !​

    Leave a comment:


  • PeterK.
    replied
    Originally Posted by ariszlo View Post
    Add this to the layout tag of your stick layout:
    PHP Code:
    unlinked="1" 
    I just ran a scan on old modern skins and found two with "unlinked" tag in the layout sections:

    Click image for larger version

Name:	image.png
Views:	12
Size:	11.5 KB
ID:	4617148

    This tag apparently used to be a part of the layout section but not for the id="normal" but id="shade", this tiny bar full of microscopic buttons I never was ​fond of.

    Leave a comment:


  • ariszlo
    replied
    Originally Posted by parisienne17 View Post
    Do you mind sharing the updated switch layouts as I don't have any [I]player-compact-regions.png in the png folder.
    Here is the link again: Study_Layouts.zip

    And here is switchleftclick.zip for your 7 layouts. It will only work if the id's in your xml files are the same as those between quotation marks in the System.onScriptLoaded() function.

    Attached Files

    Leave a comment:


  • parisienne17
    replied
    it works ! (you're the man they says).

    Do you mind sharing the updated switch layouts as I don't have any player-compact-regions.png in the png folder.

    And watch the compactviz layout in action
    !​

    Leave a comment:


  • ariszlo
    replied
    Originally Posted by PeterK. View Post
    And this tag does what?[
    Allows the layout to be positioned independently of the normal layout.

    Originally Posted by PeterK. View Post
    Could it be this is a relikt from distant Winamp times? Winamp 3? Wasabi Player? Classic Skin?
    I am puzzled at it, too. It is not in the Winamp 3 default skin, and Classic skins do not have such attributes.

    Leave a comment:


  • PeterK.
    replied
    Originally Posted by ariszlo View Post
    In Drone, designed by 883 and coded by R. Peter Clark: resubmitted.Drone_v1.wal
    And this tag does what?

    I was wondering because
    • I have never seen it before
    • it is not in the official <layout/> section
    Click image for larger version

Name:	image.png
Views:	32
Size:	62.0 KB
ID:	4617079

    Could it be this is a relikt from distant Winamp times? Winamp 3? Wasabi Player? Classic Skin?

    Leave a comment:


  • ariszlo
    replied
    Originally Posted by PeterK. View Post
    Where did you find this layout tag ariszlo?
    In Drone, designed by 883 and coded by R. Peter Clark: resubmitted.Drone_v1.wal

    Leave a comment:


  • PeterK.
    replied
    Originally Posted by ariszlo View Post
    Add this to the layout tag of your stick layout:
    PHP Code:
    unlinked="1" 
    Where did you find this layout tag ariszlo?

    Leave a comment:


  • ariszlo
    replied
    Originally Posted by parisienne17 View Post
    ...stick mode being larger than the others is either out of screen for some part or I have to not place the others near the screen right border.
    Add this to the layout tag of your stick layout:
    PHP Code:
    unlinked="1" 

    Leave a comment:


  • parisienne17
    replied
    That's what I thought so I've made 7 layouts.
    One disturbing outcome is that each layout/mode opensat the same x,y coordinates.
    I thought that everyone of them would act like component windows, saving their own screen position : stick mode being larger than the others is either out of screen for some part or I have to not place the others near the screen right border.

    Leave a comment:


  • ariszlo
    replied
    Originally Posted by parisienne17 View Post
    On a second thought I don't know if using toggle cover/viz toggle switch is the right way as the areas for both 'windows' are different when nocover is fixed size, don't you think ?
    No, it isn't. The right way for you is to define 7 different layouts.

    Originally Posted by parisienne17 View Post
    And about my previous comment for rounded corners visualisation area, the trick would be the region thing, right ?
    Yes. Make the transparent areas opaque for the layouts with visualization and let Winamp cut out the transparent regions with the trimmer. The trimmer should be an indexed png with only fully opaque black pixels and fully transparent transparent pixels. No gradual transitions between the two extremes.

    The pictures below show the alpha background for the compact layout (1), the opaque background for the compact viz layout (2), and the trimmer for the compact viz layout (3) from my Study Layouts skin:

    Click image for larger version  Name:	alpha-to-opaque-and-regions.png Views:	0 Size:	28.7 KB ID:	4617032

    Leave a comment:


  • parisienne17
    replied
    On a second thought I don't know if using toggle cover/viz toggle switch is the right way as the areas for both 'windows' are different when nocover is fixed size, don't you think ?
    And about my previous comment for rounded corners visualisation area, the trick would be the region thing, right ?

    Leave a comment:


  • parisienne17
    replied
    Waooo... I have to peruse (stargate SG1 memory) thru these news !

    In the meantime here is ASREC look & modes​

    Click image for larger version  Name:	asrec.png Views:	0 Size:	2.21 MB ID:	4617023

    I think that I can cut the 2 modes (covert Art & visualisation) in both Normal mode & Compact using the toggle cover/viz.

    I'm working on a drawer, housing equalizer settings, maybe also for stick mode housing visualisation that I'm still to display it in a rounded corners frame.

    Next step : colors & frame for ML/PL windows.

    Leave a comment:


  • ariszlo
    replied
    And now The How Skin with ideas raised by you and realized by me.
    • alpha background with embedded visualization
    • toggle cover art and visualization
    • switch between normal, compact and stick layouts
    Update: added nocover.png because this skin really needs it.

    The How Skin
    Last edited by ariszlo; 22 May 2023, 22:58.

    Leave a comment:

Working...
X