You are not logged in.

Dear visitor, welcome to Skin Consortium. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

martin.deimos

Winamp Dev Team

  • "martin.deimos" started this thread

Posts: 5,704

Name: Martin

Location: Munich, Bavaria

Occupation: Student

  • Send private message

1

Wednesday, October 1st 2008, 9:00am

ClassicPro::Flex - Alpha 3 (Dec 2009)

Most Recent ClassicPro Beta including the Flex Engine:
http://stashbox.org/743410/ClassicPro_1.…_2009-12-21.exe





Now that our old cPro engine has a solid userbase, we should not stand and do nothing.
I've announced a freeform version of cPro a while ago and here is the first alpha!
It doesn't require the cPro plugin yet, everything is done in the __system folder, but this might will change when we reach the beta stage.
So cPro::Flex works like this:

-the dimensions of the player are defined by a background picture (can support alpha channels)
-every image for this layout should have the same dimensions (i know this skins will be more KB consuming :P)
-those images which lead to buttons and state indicators are positioned at (0,0) in the playler layout via the engine
-the clickable region is just the visible part of this layer

--> no coding is required to create a freeform layout

I'm still not 100% sure how the songticker/timer will be done but there will be an easy way w/o the need of bigger coding knowledge.
maybe i will add a group.xml file where u just define the dimensions like

<Flex:SongTicker x="20" y="50" h="30" w="120" fontsize="12"/>
<Flex:Timer x="20" y="80" h="30" w="120" fontsize="12"/>

but this is not implemented atm, as well as the pause button is missing :P

here is a 1st preview! lemme know what u think, also try to move some buttons and mod stuff so u see how things work
http://stashbox.org/244511/cProFlex-Xenolith.wal

martin.deimos

Winamp Dev Team

  • "martin.deimos" started this thread

Posts: 5,704

Name: Martin

Location: Munich, Bavaria

Occupation: Student

  • Send private message

2

Wednesday, October 1st 2008, 9:38am

another thought on the songticker/timer/vis might be that it will use a region image like this:

and build the dimensions from this one like in xion

I'll let u decide

SLoB

SLoB

Posts: 4,092

Location: UK

Occupation: Designer and Software Engineer

  • Send private message

3

Wednesday, October 1st 2008, 9:51am

i think the region works well, but it should also be allowed to work under or on top of different layers
so it could be put under a glass layer for example

martin.deimos

Winamp Dev Team

  • "martin.deimos" started this thread

Posts: 5,704

Name: Martin

Location: Munich, Bavaria

Occupation: Student

  • Send private message

pjn123

"Your future depends on your dreams. So go to sleep"

Posts: 2,768

Location: /\/¯¯¯¯¯\/\, South-Africa

Occupation: Auditor

  • Send private message

5

Wednesday, October 1st 2008, 1:07pm

Looking great Martin.

Should maybe think to add support for:
- eq drawer (slide or fade)
> slide can be set via a custom xml
> fade(default) can be used if no xml was set

Also.. havent really looked at the new color stuff for 5.55 but will it be possible to create a small image that we can read colors for wasabi stuff? This will really make it very easy ;)... can even release it seperate so that others can use it too.. so need to set difficult color elements anymore.

WinstonGFX

Moderator

Posts: 1,317

Location: Philadelphia, PA and New Jersey

Occupation: Freelance Graphic Designer

  • Send private message

6

Wednesday, October 1st 2008, 1:27pm

The downside to using a region for ticker is the same as in Xion though, no styles on the text

(Love seeing the love that Xenolith is getting :))

SLoB

SLoB

Posts: 4,092

Location: UK

Occupation: Designer and Software Engineer

  • Send private message

7

Wednesday, October 1st 2008, 1:41pm

yea it will, remember in winamp the region is only going to be the x,y, w&h settings according to the region, it should not make any difference to the text used, so you are still free to do bitmap fonts, layers underneath, glass on top etc

martin.deimos

Winamp Dev Team

  • "martin.deimos" started this thread

Posts: 5,704

Name: Martin

Location: Munich, Bavaria

Occupation: Student

  • Send private message

8

Wednesday, October 1st 2008, 2:05pm

<new color stuff for 5.55>
nope this isn't possible :(

pjn123

"Your future depends on your dreams. So go to sleep"

Posts: 2,768

Location: /\/¯¯¯¯¯\/\, South-Africa

Occupation: Auditor

  • Send private message

9

Wednesday, October 1st 2008, 3:48pm

Will it be hard to implement?

<color id="xxx" value="11,11,11"/>

Would really help if we can set this on the fly :D
You can then just change the colors of a predefined images and we read all the colors in ;)

martin.deimos

Winamp Dev Team

  • "martin.deimos" started this thread

Posts: 5,704

Name: Martin

Location: Munich, Bavaria

Occupation: Student

  • Send private message

10

Wednesday, October 1st 2008, 4:38pm

the prob is that colors are read and stored before scripts are loaded. when all skin colours are defined you cannot alter them again :( have already tried

pjn123

"Your future depends on your dreams. So go to sleep"

Posts: 2,768

Location: /\/¯¯¯¯¯\/\, South-Africa

Occupation: Auditor

  • Send private message

11

Wednesday, October 1st 2008, 4:59pm

Will it be possible (if its not too resource hungry to implement something like this:

<color id="xxx" value="mybitmapelementid;0,5"/>

This color will then be read from that element @ x="0" & y="5"

martin.deimos

Winamp Dev Team

  • "martin.deimos" started this thread

Posts: 5,704

Name: Martin

Location: Munich, Bavaria

Occupation: Student

  • Send private message

12

Wednesday, October 1st 2008, 5:58pm

yep this might be possible, will take a look - but low priority atm

pjn123

"Your future depends on your dreams. So go to sleep"

Posts: 2,768

Location: /\/¯¯¯¯¯\/\, South-Africa

Occupation: Auditor

  • Send private message

13

Wednesday, October 1st 2008, 6:07pm

yay :D

14

Wednesday, October 1st 2008, 8:20pm

Since you all seem like you know what Martin is talking about, I will just be the one who says "huh?"

Freeform that is however a word i do understand :)
Love ClassicPro skins. Best thing that has happened since WinAmp 5 modern skin.

martin.deimos

Winamp Dev Team

  • "martin.deimos" started this thread

Posts: 5,704

Name: Martin

Location: Munich, Bavaria

Occupation: Student

  • Send private message

15

Wednesday, October 1st 2008, 10:27pm

so basically this is a second engine or skinning framework that will be developed as a brother of the current engine. it will lead to completely different skins (of course the normal cPro skins will also be supported)!
like u see in the screenshot, they will not have a SUI layout but have a Multiple User Uniterface like Winamp Modern.

martin.deimos

Winamp Dev Team

  • "martin.deimos" started this thread

Posts: 5,704

Name: Martin

Location: Munich, Bavaria

Occupation: Student

  • Send private message

16

Sunday, October 19th 2008, 9:16am

here is a lil screenshot of the current WIP version:



all those elements (even the text and seek/volbar) are positioned w/o any coding :P
right now i am working on setting the text style attribs from the flex.xml file.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ClassicPro::Flex version="0.5">
	<Appearance>
		<ButtonGlow fadeInSpeed="0.3" fadeOutSpeed="0.5"/>
		<PlayPauseButton normal="1" shade="0"/>
	</Appearance>
	<TextSettings>
		<TextStyle id="normal.time"
			font="player.normal.font.time"
			fontsize="18"
			align="center"
			bold="0"
			italic="0"
			antialiasing="1"
		/>
	</TextSettings>
</ClassicPro::Flex>


i think this is doable even by an unexperienced xml coder

pjn123

"Your future depends on your dreams. So go to sleep"

Posts: 2,768

Location: /\/¯¯¯¯¯\/\, South-Africa

Occupation: Auditor

  • Send private message

17

Sunday, October 19th 2008, 10:08am

Looks cool ;)

Must implement the TextSettings/TextStyle in cpro::sui too at some stage ;)

Must get an idea of how the folder structure will work in the cpro plugin folder. Must move some stuff around to clean it a bit :P

Also move some xui's too a "public" cpro folder so it can be used by both engines (like the modern songticker & cover rightclick... maybe more)

martin.deimos

Winamp Dev Team

  • "martin.deimos" started this thread

Posts: 5,704

Name: Martin

Location: Munich, Bavaria

Occupation: Student

  • Send private message

18

Sunday, October 19th 2008, 10:20am

i won't use any xuis since they do not work too well w/ the open layout stuff.

pjn123

"Your future depends on your dreams. So go to sleep"

Posts: 2,768

Location: /\/¯¯¯¯¯\/\, South-Africa

Occupation: Auditor

  • Send private message

19

Sunday, October 19th 2008, 10:29am

Not even for the songticker? I guess your gonna set params for a <text so you can just replace it with the xui.. But dont wanna get ahead of things here... Can worry about things later when we see a beta or something ;)

I'll see if I have a time today to update the svn with a new folder structure.... then you can later just add the flex stuff in the correct folders

martin.deimos

Winamp Dev Team

  • "martin.deimos" started this thread

Posts: 5,704

Name: Martin

Location: Munich, Bavaria

Occupation: Student

  • Send private message

20

Sunday, October 19th 2008, 10:40am

i've already moved it to cPro folder :) just not uploaded to SVN

the folder structure is:

classicPro/engine (for the sui engine)
classicPro/flex (for the flex engine)

but we can move things later :P

Similar threads

Rate this thread

Sponsored Links: MYOB software in Australia