diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-03-14 21:29:12 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-03-14 21:29:12 +0000 |
| commit | be17e1ccb642891b0b00a6e26d9c79272aed1d9e (patch) | |
| tree | bc2c191e05ae0b81ff0f0282d762b3bef4ab0d46 /fluid | |
| parent | 75b8da38135c8387e6c2eccd9db6e0202789d876 (diff) | |
Updated Fl_Device and Fl_Printer for Xcode
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7267 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/ide_support.cxx | 7 | ||||
| -rw-r--r-- | fluid/ide_xcode.cxx | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/fluid/ide_support.cxx b/fluid/ide_support.cxx index c1181c53f..4ab9274df 100644 --- a/fluid/ide_support.cxx +++ b/fluid/ide_support.cxx @@ -358,6 +358,7 @@ int create_new_database(const char *filename) fltk_lib.add_source(files_db, "src/Fl_Clock.cxx"); fltk_lib.add_source(files_db, "src/Fl_Color_Chooser.cxx"); fltk_lib.add_source(files_db, "src/Fl_Counter.cxx"); + fltk_lib.add_source(files_db, "src/Fl_Device.cxx"); fltk_lib.add_source(files_db, "src/Fl_Dial.cxx"); fltk_lib.add_source(files_db, "src/Fl_Double_Window.cxx"); fltk_lib.add_source(files_db, "src/Fl_File_Browser.cxx"); @@ -384,6 +385,7 @@ int create_new_database(const char *filename) fltk_lib.add_source(files_db, "src/Fl_Pack.cxx"); fltk_lib.add_source(files_db, "src/Fl_Pixmap.cxx"); fltk_lib.add_source(files_db, "src/Fl_Positioner.cxx"); + fltk_lib.add_source(files_db, "src/Fl_Printer.cxx"); fltk_lib.add_source(files_db, "src/Fl_Preferences.cxx"); fltk_lib.add_source(files_db, "src/Fl_Progress.cxx"); fltk_lib.add_source(files_db, "src/Fl_Repeat_Button.cxx"); @@ -483,17 +485,20 @@ int create_new_database(const char *filename) fltk_lib.add_source(files_db, "src/fl_vertex.cxx"); fltk_lib.add_source(files_db, "src/flstring.c"); fltk_lib.add_source(files_db, "src/numericsort.c"); + fltk_lib.add_source(files_db, "src/ps_image.cxx"); fltk_lib.add_source(files_db, "src/scandir.c"); fltk_lib.add_source(files_db, "src/screen_xywh.cxx"); fltk_lib.add_source(files_db, "src/vsnprintf.c"); fltk_lib.add_source(files_db, "src/xutf8/case.c"); fltk_lib.add_source(files_db, "src/xutf8/is_right2left.c"); fltk_lib.add_source(files_db, "src/xutf8/is_spacing.c"); + xcode_only(fltk_lib.add_external_lib(files_db, "/System/Library/Frameworks/AudioToolbox.framework")); } Fl_Target_Prefs fltk_gl_lib(libs_db.add_with_key("name", "fltkgl")); { fltk_gl_lib.add_source(files_db, "src/Fl_Gl_Choice.cxx"); fltk_gl_lib.add_source(files_db, "src/Fl_Gl_Overlay.cxx"); + fltk_gl_lib.add_source(files_db, "src/Fl_Gl_Printer.cxx"); fltk_gl_lib.add_source(files_db, "src/Fl_Gl_Window.cxx"); fltk_gl_lib.add_source(files_db, "src/freeglut_geometry.cxx"); fltk_gl_lib.add_source(files_db, "src/freeglut_stroke_mono_roman.cxx"); @@ -1236,7 +1241,7 @@ void ui_load_database(const char *filename) Fl_Preferences srcDB(srcsDB, j); srcDB.get("refUUID", buf, "DBERROR", 1024); Fl_File_Prefs fileDB(filesDB, buf); - Fl_Tree_Item *tb = dbmanager_tree->add(ts, fileDB.fullName()); + /* Fl_Tree_Item *tb = */ dbmanager_tree->add(ts, fileDB.fullName()); } } diff --git a/fluid/ide_xcode.cxx b/fluid/ide_xcode.cxx index 361013445..d25791bf5 100644 --- a/fluid/ide_xcode.cxx +++ b/fluid/ide_xcode.cxx @@ -435,7 +435,8 @@ public: const char *ext = fileDB.fileExt(); if (!ext) { } else if (strcmp(pathAndName, "src/Fl.cxx")==0 - ||strcmp(pathAndName, "src/Fl_Native_File_Chooser.cxx")==0) { // FIXME: bad hack! + ||strcmp(pathAndName, "src/Fl_Native_File_Chooser.cxx")==0 + ||strcmp(pathAndName, "src/Fl_Printer.cxx")==0) { // FIXME: bad hack! filetype = "sourcecode.cpp.objcpp"; } else if (strcmp(ext, ".cxx")==0) { filetype = "sourcecode.cpp.cpp"; |
