skin in progress : Navaga

About usage, announcement and development of skins for VLC
dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 16 Jan 2006 21:40

a small issue: the time displays font size is a little too big, which makes it scroll. This is kind of anoying.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

xanax

Postby xanax » 17 Jan 2006 16:55

Works/Looks great.

I don't know what ipkiss, asmax and others here think, but we might have a candidate for a new default VLC skin. (The only thing which i don't really understand is the animation. Why do we need it ? ... and why a walking man ?)
I would be glad if the skin becomes for a few moment (until a new one is chosen) the new default VLC skin.

The animation (the walking man) will be replaced by a Spectrum or by an Oscilloscope animation like those in winamp. I only made the little man to test the "vlc.isPlaying" event. But I still think it's a not-that-bad idea to have such an animation. But don't worry the man will be removed :)

a small issue: the time displays font size is a little too big, which makes it scroll. This is kind of anoying.
Here, the time sometimes scrolls horizontally when you click the STOP button. But this problem appart, the time fits just fine on the LCD.
Do this problem happen all the time, when you play a file or only sometimes ? I think it's a bug not related to my skin.



see you

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Postby ipkiss » 17 Jan 2006 23:06

Here, the time sometimes scrolls horizontally when you click the STOP button. But this problem appart, the time fits just fine on the LCD.
Do this problem happen all the time, when you play a file or only sometimes ? I think it's a bug not related to my skin.
There are 2 independent things here:

- a bug somewhere in the skins2 code, displaying strange times when an item is stopped, like "0:-38:-1". I think i know where the bug is, it should just be a matter of adding a few locks on the playlist object, i may give it a try when i have some time.

- the default behaviour of the Text element of the skins is to scroll when the text to display is wider than the value of the "width" attribute. This is exactly what's happening here, because "0:-38:-1" is made of 8 characters, and the control is made to accept only 7 OSD-like characters. To workaround the problem, you can set the "scrolling" attribute of the Text control to "none". See the skins2 documentation for more details.

Of course, adding scrolling="none" is a workaround until the bug is fixed, but in my opinion it is good practice to always specify it when the text is not supposed to scroll (and this is the case here).

xanax

Postby xanax » 26 Jan 2006 16:35

Good point ipkiss. I'll "fix" the timers.

--------------------------------------------

edit (january 25th 2006) : I won't be able to do much for the upcoming weeks, maybe until march. So there could be no other uploads until then.

xanax

Postby xanax » 28 Feb 2006 11:54

Hi guys.

The skin is not 100% complete but it gets closer to a final version and it's now much more usable than before.

To those who tested earlier versions of this skin : even if the idea of the "colorswitcher" button was good (imo), I finally only focussed on the Green version of the skin. I'll consider making blue and pink versions later as well.


What's new :
- on the "normal-mode" window, the "color switcher button" no more exists, it has been replaced by a button which turns ON/OFF the display of new "DVD control buttons" on the LCD screen (clicking the same button once again displays the original playback buttons).
New buttons are : dvd.rootMenu() - dvd.previousTitle() - dvd.nextTitle() - dvd.previousChapter() - dvd.nextChapter()

- the old temporary animation on the mini-LCD screen (the walking man) has been replaced by "play/pause/stop states notifiers". Basically, it displays "Playing", "Paused" or "Stopped" according to what VLC is doing. I must say I am pretty proud of this feature :)

- playlist window done (using playtree, as suggested by dionoea)
- video window done too

- the "compact mode" doesn't exist anymore but it will be replaced by the "winshade mode"


TODO :
- the winshade mode
- blue and pink versions (of the skin) will be available later, as separate skins (and only if I find more free time to make them)
- make the animated OVER States for ADD REM SEL MISC buttons

Unfortunatelly, I don't have much freetime to work on my skins. That's why I fear the winshade-mode won't be done before weeks...
So, even if the skin isn't finished, at least it's usable.


DOWNLOAD :
removed by the author

(click on the "Free" button, then enter the 3 letters code and click DOWNLOAD from Net mirror ..."
Last edited by xanax on 01 Mar 2006 12:10, edited 1 time in total.

xanax

Postby xanax » 01 Mar 2006 12:08

Just a little update :

-- some tooltiptexts fixed
-- normal-mode layouts fixed


Download :
http://rapidshare.de/files/14413856/ski ... n.vlt.html



Dionea told me to make VLC automatically open the video window when a video file is played. ----> I could make VLC open the video window each time a file is played but that could be annoying : imagine someone plays a .mp3 file, the video window would be opened too..

Btw, this problem happens with all other skins.

One way to fix this would be to add the event "vlc.VideoFileIsPlayed" (and associate that to all video extensions (avi, wmv, etc).

Code: Select all

<Checkbox x="328" y="85" up1="normal-mode-VideoFileIsPlayed_normal" up2="normal-mode-VideoFileIsPlayed_normal" state="vlc.VideoFileIsPlayed" action1="none" action2="video-window.show()" />
And I would put this checkbox somewhere on the skin, hidden among the pixels of the skin. "normal-mode-VideoFileIsPlayed_normal.png" could even be a 1x1 pixel image, for instance.



I don't know if it's normal but with the nightly build "vlc-0.8.5-svn-20060228-0001-win32.zip", I got a lot of "main debug".
log.txt

Btw, sometimes VLC craches because of :

AppName: vlc.exe
AppVer: 0.8.5.0
"ModName: libskins2_plugin.dll"

ModVer: 0.0.0.0
Offset: 000c3520

xanax

Postby xanax » 10 Mar 2006 15:05

Just a little update (to test some features such as the popup menu).


WHAT's NEW / WIP :
- the "always on top" : located on the 7 little black holes (at the top of the window). The animation is still in progress, I haven't choosed/made the good one yet.
- a new font for the playlist window (more readable) is available.
- animated OVER States for the ADD REM SEL MISC buttons


TODO :
- winshade mode
- remake the SORT button on the playlist (actually, there is no related image for "SORT", I just re-used the "MISC" one)
- remake the button to switch from the LDC to Verdana font (on the playlist). At the moment, I just re-used the fullscreen images.


The purpose of this version was to test the POPUP menus on the playlist window. Unfortunately, some actions are missing, others don't work with "playtree".

DOWNLOAD :
http://rapidshare.fr/download.php?id=4c ... aBtu8OXO5x
(wait about 30 seconds before the link appears)

Xe
New Cone
New Cone
Posts: 9
Joined: 15 Mar 2006 06:53

Postby Xe » 20 Mar 2006 15:13

Hmm... quite an impressive skin! Shame its not a minamilistic skin. When you make a skin for VLC does it always have to be in 2 parts? One controls window and one video window?

AsMaX
Cone that earned his stripes
Cone that earned his stripes
Posts: 139
Joined: 05 Mar 2004 09:00
Location: Antibes, France

Postby AsMaX » 20 Mar 2006 22:12

When you make a skin for VLC does it always have to be in 2 parts? One controls window and one video window?
Of course not, the skin engine has been made so that you can do anything you want ;)
BTW you have examples of one-window skins on the (small) skins download page: http://www.videolan.org/vlc/download-skins2.html

xanax

Postby xanax » 31 Aug 2006 15:14

Hello guys.


After re-installing WindowsXP, I totally lost the partition where I backed up all my personnal data (and my WIP VLC skins).

Since I lost all my work, could someone send me the skins (the latest versions if possible) to :

unknown00 at caramaill dot com


Thanks a lot.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 31 Aug 2006 22:43

Check both .vlt files on http://people.videolan.org/~dionoea/ . I don't know which one is the latest. (Did you loose all the photoshop source files ?)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

xanax

Postby xanax » 04 Sep 2006 14:25

yep, I lost ALL the PSD source files...
Imagine how I feel..

Thank you dionoea and ipkiss (who sent me the skins as well by email).

xanax

Postby xanax » 07 Oct 2006 16:55

What's new :
Since I had to restart this skin from a previous point, I changed some little things.

The skin now uses just one .PNG image per window :
- normal-window-subbitmap.png
- winshade-window.subbitmap.png
- playlist-window-subbitmap.png
- video-window-subbitmap.png

Each subbitmap contains all the elements (background, buttons ...) for its own window.



Previously :
Each piece of the skin was in a separate .PNG file (for example : play-button-normal.png / play-button-down.png / fullscreen-button-down.png / etc...).

In these earlier versions of this skin, I had animated buttons for the OVER states too.
Since there was recently a bug with animated buttons (well, the code worked before, but it seems in the recent builds that it doesn't anymore). And this bug displayed my animated buttons with all their frames directly on the skin.


Now :
Now that I only have one .PNG file per window, I had to use the SubBitmap tag (which simplifies things I think).
I used the subbitmap because I read in the Skins2-FAQ that it now supports nbFrames! (animated buttons even inside a subbitmap).

But now the strange thing with this "animated button" bug :

Just load this skin and you'll notice that the animated buttons placed inside a SubBitmap simply don't show the OVER state.
Though, the animated buttons that are still in separate .PNG images (check the close button on the playlist window) and called from a Bitmap tag, still display all the frames.


The skin : download

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Postby ipkiss » 08 Oct 2006 09:36

Just load this skin and you'll notice that the animated buttons placed inside a SubBitmap simply don't show the OVER state.
Your XML is once again invalid...

xanax

Postby xanax » 10 Oct 2006 18:17

Then I don't know where my syntax error is.
I tend to think it's related to the bug, not to the XML..

Could you point me to the error? For example, rewrite here a good line (from those which doesn't work). Thanks a lot.

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Postby ipkiss » 10 Oct 2006 19:43

I already told you how to check the errors of your XML. The next step is to understand what the error means. Guess what could be wrong with the following error...
[00000307] xml private error: XML parser error (line 166) : No declaration for attribute nbFrames of element SubBitmap
Yes, well done, it means the SubBitmap element doesn't allow the 'nbFrames' attribute!

Next time, we will learn how to fix the error by looking at the DTD ;-)

xanax

Postby xanax » 11 Oct 2006 12:04

I already told you how to check the errors of your XML. The next step is to understand what the error means.
If I could help a bit by finding something unsupported yet :)

Thanks again ipkiss for your help on these boards (and especially for my skins). :D

xan2622
Blank Cone
Blank Cone
Posts: 22
Joined: 25 Nov 2009 11:11

Re: skin in progress : Navaga

Postby xan2622 » 29 Nov 2009 09:50

Ok, after a long break... (just 3 years), I just wanted to say that I am back and this time, I am going to finish my work on skins currently in progress.
I am working on Navaga again and I hope it to be released before 2010 (I hope so :) )

3breadt
Big Cone-huna
Big Cone-huna
Posts: 827
Joined: 19 Mar 2006 11:37
Operating System: Win7 Pro / OS X 10.7
Location: Paderborn, Germany
Contact:

Re: skin in progress : Navaga

Postby 3breadt » 29 Nov 2009 20:04

Yay! Welcome back :)
-- 3breadt (aka altglass)

xan2622
Blank Cone
Blank Cone
Posts: 22
Joined: 25 Nov 2009 11:11

Re: skin in progress : Navaga

Postby xan2622 » 30 Nov 2009 09:36

Here is a screenshot of the current state of development of this skin : screenshot

3breadt
Big Cone-huna
Big Cone-huna
Posts: 827
Joined: 19 Mar 2006 11:37
Operating System: Win7 Pro / OS X 10.7
Location: Paderborn, Germany
Contact:

Re: skin in progress : Navaga

Postby 3breadt » 01 Dec 2009 09:49

looking good :)
-- 3breadt (aka altglass)

xan2622
Blank Cone
Blank Cone
Posts: 22
Joined: 25 Nov 2009 11:11

Re: skin in progress : Navaga

Postby xan2622 » 07 Dec 2009 07:58

Here is the current state of the skin (WARNING : not all windows are made, and there are still graphic bugs)
http://www.2shared.com/file/9845952/cd5 ... enzip.html

(edited on the 9th december 2009 to update the download link with the latest wip version)

xan2622
Blank Cone
Blank Cone
Posts: 22
Joined: 25 Nov 2009 11:11

Re: skin in progress : Navaga

Postby xan2622 » 01 May 2010 22:45

Just another small update :
- Equalizer window almost done (with animations)

bugs :
- strangely, the PRE AMP on the Equalizer window is stuck at a given level.
- The Mute button doesn't work anymore (though, I haven't touched its code..) and I got this error :
skins2 warning: drawBitmap: source rect too small, ignoring
skins2 warning: sub-bitmap main-window-mute_hover ignored
skins2 warning: drawBitmap: source rect too small, ignoring
skins2 warning: sub-bitmap main-window-mute2_hover ignored
todo :
- fix the Mute button
- change INFO, VIDEO and PLAYLIST buttons into checkboxes
- redo (finish) DVD playback buttons (and the related layout)
- make a "windowshade mode". Example (winamp one) : Image


Download link : http://jump.fm/YTUSG

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: skin in progress : Navaga

Postby erwan10 » 02 May 2010 13:45

- The Mute button doesn't work anymore (though, I haven't touched its code..) and I got this error :
skins2 warning: drawBitmap: source rect too small, ignoring
skins2 warning: sub-bitmap main-window-mute_hover ignored
skins2 warning: drawBitmap: source rect too small, ignoring
skins2 warning: sub-bitmap main-window-mute2_hover ignored
Not so sure you haven't touched its code. ..... The problem comes from the location of subimages :

your new mega-subbitmap-png-1.png image has got a 1009x1104 size.

Subimages for mute and mute2 hover are the following :

<SubBitmap id="main-window-mute_hover" x="3" y="724" width="29" height="432" nbframes="18" fps="36" loop="0" />
<SubBitmap id="main-window-mute2_hover" x="33" y="724" width="29" height="432" nbframes="18" fps="36" loop="0" />

y + height = 724 + 432 = 1156 ( which is > 1104)

When saying "too small', skins engine really meant it ;)

Erwan10

xan2622
Blank Cone
Blank Cone
Posts: 22
Joined: 25 Nov 2009 11:11

Re: skin in progress : Navaga

Postby xan2622 » 02 May 2010 15:13

Thank you very much Erwan10.

I don't know when I did that but I obviously changed the "...mute_hover" button.
Thanks again for your help.


Return to “Skins”

Who is online

Users browsing this forum: No registered users and 80 guests