get SYSLIBS=1 kind of working, use stock HAND2 cursor
authorNick Mainsbridge <beatroute@iprimus.com.au>
Fri, 2 Dec 2005 09:20:03 +0000 (09:20 +0000)
committerNick Mainsbridge <beatroute@iprimus.com.au>
Fri, 2 Dec 2005 09:20:03 +0000 (09:20 +0000)
git-svn-id: svn://localhost/trunk/ardour2@159 d708f5d6-7413-0410-9779-e7cbd77b26cf

SConstruct
gtk2_ardour/editor.cc
gtk2_ardour/editor_xpms

index 093b6f4085e2bec9b9e490e70b5c54b0c58586f6..bbabc5d54164c3a85cb2b8586d84e3fc2112119b 100644 (file)
@@ -422,30 +422,39 @@ if env['SYSLIBS']:
 
     libraries['sigc2'] = LibraryInfo()
     libraries['sigc2'].ParseConfig('pkg-config --cflags --libs sigc++-2.0')
-
+    libraries['glibmm2'] = LibraryInfo()
+    libraries['glibmm2'].ParseConfig('pkg-config --cflags --libs glibmm-2.4')
+    libraries['gdkmm2'] = LibraryInfo()
+    libraries['gdkmm2'].ParseConfig ('pkg-config --cflags --libs gdkmm-2.4')
     libraries['gtkmm2'] = LibraryInfo()
-    libraries['gtkmm2'].ParseConfig ('pkg-config --cflags --libs gtkmm-2.0')
-    
+    libraries['gtkmm2'].ParseConfig ('pkg-config --cflags --libs gtkmm-2.4')
+    libraries['atkmm'] = LibraryInfo()
+    libraries['atkmm'].ParseConfig ('pkg-config --cflags --libs atkmm-1.6')
+    libraries['pangomm'] = LibraryInfo()
+    libraries['pangomm'].ParseConfig ('pkg-config --cflags --libs pangomm-1.4')
+    libraries['libgnomecanvasmm'] = LibraryInfo()
+    libraries['libgnomecanvasmm'].ParseConfig ('pkg-config --cflags --libs libgnomecanvasmm-2.6')
     libraries['libglademm'] = LibraryInfo()
     libraries['libglademm'].ParseConfig ('pkg-config --cflags --libs libglademm-2.4')
-    
-    libraries['soundtouch'] = LibraryInfo(LIBS='SoundTouch')
 
+    libraries['flowcanvas'] = LibraryInfo(LIBS='flowcanvas', LIBPATH='#/libs/flowcanvas', CPPPATH='#libs/flowcanvas')
+    libraries['soundtouch'] = LibraryInfo(LIBS='soundtouch',
+                                          LIBPATH='#libs/soundtouch',
+                                          CPPPATH=['#libs', '#libs/soundtouch'])
     coredirs = [
         'templates'
     ]
 
     subdirs = [
-#      'libs/cassowary',
         'libs/pbd3',
         'libs/midi++2',
-        'libs/ardour',
-        'templates'
+        'libs/ardour'
         ]
 
     gtk_subdirs = [
+        'libs/flowcanvas',
         'libs/gtkmm2ext',
-        'gtk2_ardour',
+        'gtk2_ardour'
         ]
 
 else:
index 62655bff130bc01c4c54fb22d5693e5e04839057..58c42d3cbac996b45ad70d781e5d2d8b2d968cb3 100644 (file)
@@ -1403,16 +1403,6 @@ void
 Editor::build_cursors ()
 {
        using namespace Gdk;
-
-       Gdk::Color fg ("#ff0000"); /* Red. */
-       Gdk::Color bg ("#0000ff"); /* Blue. */
-
-       {
-               RefPtr<Bitmap> source, mask;
-               source = Bitmap::create (hand_bits, hand_width, hand_height);
-               mask = Bitmap::create (handmask_bits, handmask_width, handmask_height);
-               grabber_cursor = new Gdk::Cursor (source, mask, fg, bg, hand_x_hot, hand_y_hot);
-       }
        
        Gdk::Color mbg ("#000000" ); /* Black */
        Gdk::Color mfg ("#0000ff" ); /* Blue. */
@@ -1442,12 +1432,13 @@ Editor::build_cursors ()
                speaker_cursor = new Gdk::Cursor (source, mask, ffg, fbg, speaker_cursor_x_hot, speaker_cursor_y_hot);
        }
 
-       cross_hair_cursor = new Gdk::Cursor (Gdk::CROSSHAIR);
-       trimmer_cursor =  new Gdk::Cursor (Gdk::SB_H_DOUBLE_ARROW);
-       selector_cursor = new Gdk::Cursor (Gdk::XTERM);
-       time_fx_cursor = new Gdk::Cursor (Gdk::SIZING);
-       wait_cursor = new Gdk::Cursor  (Gdk::WATCH);
-       timebar_cursor = new Gdk::Cursor(Gdk::LEFT_PTR);
+       grabber_cursor = new Gdk::Cursor (HAND2);
+       cross_hair_cursor = new Gdk::Cursor (CROSSHAIR);
+       trimmer_cursor =  new Gdk::Cursor (SB_H_DOUBLE_ARROW);
+       selector_cursor = new Gdk::Cursor (XTERM);
+       time_fx_cursor = new Gdk::Cursor (SIZING);
+       wait_cursor = new Gdk::Cursor  (WATCH);
+       timebar_cursor = new Gdk::Cursor(LEFT_PTR);
 }
 
 void
index 880ac9ab6ffac6acc3a7168de0effdd9932efb1a..1dd134c959c5b5cbf03449c63df8fefcb1df7fe0 100644 (file)
@@ -1,21 +1,4 @@
 /* Created with The GIMP */
-#define hand_width 16
-#define hand_height 16
-#define hand_x_hot 3
-#define hand_y_hot 0
-static const gchar hand_bits[] = {
-   0x18, 0x00, 0x24, 0x00, 0x24, 0x00, 0x24, 0x00, 0xe4, 0x36, 0x24, 0x49,
-   0x27, 0x49, 0x25, 0x49, 0x25, 0x49, 0x01, 0x40, 0x01, 0x40, 0x01, 0x40,
-   0x02, 0x40, 0x04, 0x60, 0xfc, 0x3f, 0xfc, 0x3f };
-
-/* Created with The GIMP */
-#define handmask_width 16
-#define handmask_height 16
-static const gchar handmask_bits[] = {
-   0x18, 0x00, 0x3c, 0x00, 0x3c, 0x00, 0x3c, 0x00, 0xfc, 0x36, 0xfc, 0x7f,
-   0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f,
-   0xfe, 0x7f, 0xfc, 0x7f, 0xfc, 0x3f, 0xfc, 0x3f };
-
 #define mag_width 16
 #define mag_height 16
 #define mag_x_hot 9