Resize and Move at the same time

About usage, announcement and development of skins for VLC
roli8200
Blank Cone
Blank Cone
Posts: 30
Joined: 20 Jun 2006 16:25
Location: Schaffhausen / Switzerland
Contact:

Resize and Move at the same time

Postby roli8200 » 22 Jul 2006 11:09

Hello

I'm about to write a small skin for a event. It have to be just very simple becaus it's used for a "videoconferencing" to other location from the event location. The vlc player should have just two states:

1 Full Open which shows the player with full resolution (720x576), a titlebar, and a button to iconize the player
Image

2: The iconized player with a size around 80x80 px in right top corner and a button "restore"
Image

So the button "iconize" should resize the vlc player and move it into the right to p corner of the screen" and the restore button should bring the player to the previous location.

My problem is now that I found just actions for resizeSE resize etc. But how can I run multiple actions by clicking on one button? Or does I have something read over? Any help would be very welcome.

Many thanks

Roland Kaeser

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

Postby ipkiss » 22 Jul 2006 15:21

You don't need the resizeSE action for this, you should rather use 2 different layouts: one for the "iconized" state, and one for the normal state. The button s would then just change the layouts.
Note that layouts are moved and resized independently.

You could also use 2 different windows, buut i think the solution with layouts is cleaner.


Return to “Skins”

Who is online

Users browsing this forum: No registered users and 70 guests