1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
-*- text -*-
++++++++++++
INSTALLATION
++++++++++++
./configure && make && su -c "make install"
su -
ldconfig
Make sure that you have '/usr/local/lib/' (or wherever you installed phat to)
somewhere in /etc/ld.so.conf before running ldconfig.
The custom ./configure options are:
--enable-debug: turns off optimization and turns on MASSIVE amounts of
stderr debug info
--enable-gtk-doc: builds the developer documentation and installs it
to /usr/local/share/gtk-doc/html/phat by default
+++++
DEMOS
+++++
-------------
phatfanslider
-------------
* click and drag to adjust the value
* drag "outside" of the widget to expose a "fan," indicating how your
level of precision has increased
----------------
phatsliderbutton
----------------
* click and drag to adjust the value
* click and release to get a textbox so you can enter a value directly
+++++
USAGE
+++++
PHAT installs a phat.pc file, so you can use pkg-config to get all the
configuration information needed to compile PHAT apps. To avoid
redundancy, I didn't include the gtk+-2.0 information, so you'll have
to check for that as well. The following command will store all the
necessary compilation flags into FLAGS.
FLAGS = `pkg-config --libs --cflags phat gtk+-2.0`
You could then build your application "foo" as follows:
gcc -o foo foo.c $FLAGS
Yeah, this is a terse README. Feel free to fix that,
I'm getting CTS over here.
--Pete
<ninjadroid@gazuga.net>
|