Article: Design Skinnable Java UIs for Media Players Using GTK+ and SLIK For Linux and Windows
Gerald Bauer <[email protected]> Wed, 17 Mar 2004 14:29:46 -0800 (PST)
| Newsgroups | gmane.comp.lang.xul.announce |
|---|---|
| Message-ID | <[email protected]> |
Hello,
Vladimir Silva has written up a story about SLIK
(SimpLIstic SKin interface) - a mini XUL-ish GPL'ed
library for GTK+ - titled "Design skinnable Java UIs
for media players with native performance: Use JNI to
access the SLIK skin interface" for IBM's
developerWorks site.
Vladimir's SLIK coverage includes:
* The Java language and C: A dynamic duo
* SLIK overview
* Using SLIK and the Java language together
* SLIK-Java object hierarchy
* Widget overview
* A sample skin client in the Java language
* Loading the skin data file
* Using widgets: Dialers, sliders, and pop-up menus
* Conclusion
In the SLIK overview section Vladimir writes:
SLIK is a C API for building advanced user
interfaces based on WinAmp-style skins. Examples of
such interfaces include audio and video players like
the popular XMMS (X-Multimedia System) and the XINE
CD/DVD players for UNIX-like systems.
Now if you wonder what a SLIK XUL-ish skin looks
like here's a sample snippet from the skindata
document residing in the slik_jni/myskins/CelomaChrome
folder in the example pack:
[button_Close]
x = 183
y = 54
image = MainButton.png
prelight = TRUE
[button_Eject]
x = 525
y = 15
image = MainEject.png
prelight = TRUE
[text_TitleLabel]
x = 265
y = 28
length = 39
image = LettersMiddle.png
[text_TimeLabel]
x = 423
y = 42
length = 8
image = LettersDigit.png
and so on and so forth
Full story @
http://www-106.ibm.com/developerworks/library/j-slik
- Gerald
PS: Vladimar's has written up another article about
SLIK titled "Advanced UI design for GNOME: Modified
version of SLIK uses shared objects to implement skins
in GTK/C" online @
http://www-106.ibm.com/developerworks/linux/library/l-slik
PPS: Note, that SLIK is part of the GQmpeg project
online @ http://gqmpeg.sourceforge.net
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click