On 8/6/05, Nicklas Lindgren <nili@...612...> wrote:
Hi,
I've created some basic input device pressure and tilt support.
The changes are:
- A standard input device dialog has been added
- Device settings are loaded from and saved to the preferences
- The dialog canvas widget accepts extension events
- The calligraphy tool can optionally use the input device's pressure for pen width, and/or tilt for pen angle
The diff, and the new source files are available from http://www.lysator.liu.se/~nili/inkscape/
What do you think about it?
Because applying the diff to current CVS failed, grabbed source from 3rd, August and try to compile it with your changes.
g++ -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 -o inkscape --export-dynamic main.o -Wl,--export-dynamic libinkpre.a application/libinkapp.a ui/dialog/libuidialog.a dialogs/libspdialogs.a jabber_whiteboard/libjabber_whiteboard.a trace/libtrace.a svg/libspsvg.a widgets/libspwidgets.a display/libspdisplay.a helper/libspchelp.a libcroco/libcroco.a libnrtype/libnrtype.a libnr/libnr.a livarot/libvarot.a ui/view/libuiview.a ui/libui.a ui/widget/libuiwidget.a extension/libextension.a extension/implementation/libimplementation.a extension/internal/libinternal.a extension/script/libscript.a xml/libspxml.a util/libinkutil.a io/libio.a inkjar/libinkjar.a libinkpost.a debug/libinkdebug.a -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lpangomm-1.4 -lglibmm-2.4 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 /usr/lib/libxslt.so -lxml2 -lpthread -lsigc-2.0 -lpng /usr/lib/libpopt.so -pthread -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 -lm -lgthread-2.0 -L/usr/X11R6/lib -lXft -lX11 -lXrender -lfontconfig -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 /usr/lib/libfreetype.so -lz -lgc libinkpre.a(inkscape.o)(.text+0x1b55): In function `inkscape_load_preferences(Inkscape::Application*)': /home/avp/soft/build/graphics/inkscape/inkscape-20050803-2220/src/inkscape.cpp:728: undefined reference to `sp_input_load_from_preferences()' libinkpre.a(verbs.o)(.text+0xaf3): In function `Inkscape::DialogVerb::perform(SPAction*, void*, void*)': /home/avp/soft/build/graphics/inkscape/inkscape-20050803-2220/src/verbs.cpp:1553: undefined reference to `sp_input_dialog()' collect2: ld returned 1 exit status make[2]: *** [inkscape] Error 1 make[2]: Leaving directory `/home/avp/soft/build/graphics/inkscape/inkscape-20050803-2220/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/avp/soft/build/graphics/inkscape/inkscape-20050803-2220' make: *** [all] Error 2
Alexandre