Author: matt
Date: 2010-03-17 14:11:06 -0700 (Wed, 17 Mar 2010)
New Revision: 7291
Log:
Fixed the IDE's for Xcode3, Xcode3.1, and VisualC (last one untested).
Added some code for verbose plugin manager output. This is what you should get
when loading "cube" and then calling the regular "print" function.
Fl_Plugin: creating a plugin, class "fltk:device", name "opengl.device.fltk.org"
Fl_Plugin: creating a plugin manager for class "fltk:device"
Fl_Plugin: adding plugin named "opengl.device.fltk.org" at 0x0x175314
Fl_Plugin: deleting a plugin manager
Fl_Plugin: creating a plugin manager for class "fltk:device"
Fl_Plugin: returning plugin named "opengl.device.fltk.org": 0x0x175314
Fl_Plugin: deleting a plugin manager
Fl_Plugin: deleting a plugin
Modified:
branches/branch-1.3/fltk.db
branches/branch-1.3/ide/VisualC6/fltk.dsp
branches/branch-1.3/ide/VisualC6/fltkdll.dsp
branches/branch-1.3/ide/VisualC6/fltkgl.dsp
branches/branch-1.3/ide/VisualC6/fltkgldll.dsp
branches/branch-1.3/ide/Xcode3.1/FLTK.xcodeproj/project.pbxproj
branches/branch-1.3/ide/Xcode3/FLTK.xcodeproj/project.pbxproj
branches/branch-1.3/ide/Xcode3/config.h
branches/branch-1.3/src/Fl_Preferences.cxx
Modified: branches/branch-1.3/fltk.db
===================================================================
--- branches/branch-1.3/fltk.db 2010-03-17 20:47:47 UTC (rev 7290)
+++ branches/branch-1.3/fltk.db 2010-03-17 21:11:06 UTC (rev 7291)
@@ -864,10 +864,10 @@
refUUID:570984D4-07B2-4C30-A350-C5EF02ADC173
xcBuildFileID:22BEC71AF42AC078B015549D
-[./targets/libs/3B8A19C6-88D5-4025-BF9C-8FE5EA7D0AE0/sources/1EF53AC8-34FD-4839-A91D-3426F52C5774]
+[./targets/libs/3B8A19C6-88D5-4025-BF9C-8FE5EA7D0AE0/sources/E5ECB50B-091B-4DBC-A74E-90542FD34D01]
-refUUID:76AB84E7-BFBC-4B13-9185-07BD9BD02B0B
-xcBuildFileID:2252F8C2D072099F09E9FB74
+refUUID:94DB63C3-5F21-4E11-9EA1-52F8345C146F
+xcBuildFileID:9D9AAF1AE62FE9C59F975DDD
[./targets/libs/3B8A19C6-88D5-4025-BF9C-8FE5EA7D0AE0/externals]
@@ -7683,16 +7683,16 @@
pathAndName:src/ps_image.cxx
xcFileID:E4F1420C3912A01426C1DF4D
-[./files/76AB84E7-BFBC-4B13-9185-07BD9BD02B0B]
-
-pathAndName:src/Fl_Gl_Printer.cxx
-xcFileID:20DB1B86BA838A41209BAA59
-
[./files/6387F09C-7D26-4B09-8C5F-892E912A4987]
pathAndName:/System/Library/Frameworks/AudioToolbox.framework
xcFileID:23F7BCB45F5B0545BD1884A1
+[./files/94DB63C3-5F21-4E11-9EA1-52F8345C146F]
+
+pathAndName:src/Fl_Gl_Device_Plugin.cxx
+xcFileID:5D188953C0E0216E287719DA
+
[./ide]
Modified: branches/branch-1.3/ide/VisualC6/fltk.dsp
===================================================================
--- branches/branch-1.3/ide/VisualC6/fltk.dsp 2010-03-17 20:47:47 UTC (rev
7290)
+++ branches/branch-1.3/ide/VisualC6/fltk.dsp 2010-03-17 21:11:06 UTC (rev
7291)
@@ -665,5 +665,17 @@
SOURCE=..\..\src\xutf8\is_spacing.c
# End Source File
+# Begin Source File
+
+SOURCE=..\..\src\Fl_Device.cxx
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\src\Fl_Printer.cxx
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\src\ps_image.cxx
+# End Source File
# End Target
# End Project
Modified: branches/branch-1.3/ide/VisualC6/fltkdll.dsp
===================================================================
--- branches/branch-1.3/ide/VisualC6/fltkdll.dsp 2010-03-17 20:47:47 UTC
(rev 7290)
+++ branches/branch-1.3/ide/VisualC6/fltkdll.dsp 2010-03-17 21:11:06 UTC
(rev 7291)
@@ -673,5 +673,17 @@
SOURCE=..\..\src\xutf8\is_spacing.c
# End Source File
+# Begin Source File
+
+SOURCE=..\..\src\Fl_Device.cxx
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\src\Fl_Printer.cxx
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\src\ps_image.cxx
+# End Source File
# End Target
# End Project
Modified: branches/branch-1.3/ide/VisualC6/fltkgl.dsp
===================================================================
--- branches/branch-1.3/ide/VisualC6/fltkgl.dsp 2010-03-17 20:47:47 UTC (rev
7290)
+++ branches/branch-1.3/ide/VisualC6/fltkgl.dsp 2010-03-17 21:11:06 UTC (rev
7291)
@@ -121,5 +121,9 @@
SOURCE=..\..\src\glut_font.cxx
# End Source File
+# Begin Source File
+
+SOURCE=..\..\src\Fl_Gl_Device_Plugin.cxx
+# End Source File
# End Target
# End Project
Modified: branches/branch-1.3/ide/VisualC6/fltkgldll.dsp
===================================================================
--- branches/branch-1.3/ide/VisualC6/fltkgldll.dsp 2010-03-17 20:47:47 UTC
(rev 7290)
+++ branches/branch-1.3/ide/VisualC6/fltkgldll.dsp 2010-03-17 21:11:06 UTC
(rev 7291)
@@ -129,5 +129,9 @@
SOURCE=..\..\src\glut_font.cxx
# End Source File
+# Begin Source File
+
+SOURCE=..\..\src\Fl_Gl_Device_Plugin.cxx
+# End Source File
# End Target
# End Project
Modified: branches/branch-1.3/ide/Xcode3/FLTK.xcodeproj/project.pbxproj
===================================================================
--- branches/branch-1.3/ide/Xcode3/FLTK.xcodeproj/project.pbxproj
2010-03-17 20:47:47 UTC (rev 7290)
+++ branches/branch-1.3/ide/Xcode3/FLTK.xcodeproj/project.pbxproj
2010-03-17 21:11:06 UTC (rev 7291)
@@ -83,7 +83,6 @@
20AF0361223BCDD76EDD61C9 /* fltk.framework in Frameworks */ =
{isa = PBXBuildFile; fileRef = F459EEE32AC6EE0087583065 /* fltk.framework */; };
2106BAFFE8CB7D98E4FB5031 /* Fl_Menu_add.cxx in Sources */ =
{isa = PBXBuildFile; fileRef = 307DE3A9F828C1B72F13A931 /* Fl_Menu_add.cxx */;
};
223315BC662710BF0BB7A495 /* Fl_Browser_load.cxx in Sources */ =
{isa = PBXBuildFile; fileRef = 44859B2B09D7079C93466BB9 /* Fl_Browser_load.cxx
*/; };
- 2252F8C2D072099F09E9FB74 /* Fl_Gl_Printer.cxx in Sources */ =
{isa = PBXBuildFile; fileRef = 20DB1B86BA838A41209BAA59 /* Fl_Gl_Printer.cxx
*/; };
226F26AEF4131F84B45FCFDE /* Fl_Browser_.cxx in Sources */ =
{isa = PBXBuildFile; fileRef = 1DEF1B17DDFD881A007E5EA3 /* Fl_Browser_.cxx */;
};
22BEC71AF42AC078B015549D /* glut_font.cxx in Sources */ = {isa
= PBXBuildFile; fileRef = CA39566FD1F25D47C83DE042 /* glut_font.cxx */; };
2308935FE679ADE8327AE74B /* fl_engraved_label.cxx in Sources */
= {isa = PBXBuildFile; fileRef = B98E80F32C266E5A9E5EA0DC /*
fl_engraved_label.cxx */; };
@@ -363,6 +362,7 @@
9BE637FBE722BBB0E2896901 /* Fl_Adjuster.cxx in Sources */ =
{isa = PBXBuildFile; fileRef = 16532B344B1865245755CAF3 /* Fl_Adjuster.cxx */;
};
9C5AAE18A7136EEF026B00C5 /* Fl_Valuator.cxx in Sources */ =
{isa = PBXBuildFile; fileRef = 28324A042EE3A22D856FCEED /* Fl_Valuator.cxx */;
};
9D93665CC439902AA2399F52 /* Fl_Window_Type.cxx in Sources */ =
{isa = PBXBuildFile; fileRef = 6CC8BD4EDB9253ED95642350 /* Fl_Window_Type.cxx
*/; };
+ 9D9AAF1AE62FE9C59F975DDD /* Fl_Gl_Device_Plugin.cxx in Sources
*/ = {isa = PBXBuildFile; fileRef = 5D188953C0E0216E287719DA /*
Fl_Gl_Device_Plugin.cxx */; };
9DE7341A8FBC1AEFD0A18D2C /* OpenGL.framework in Frameworks */ =
{isa = PBXBuildFile; fileRef = 8C876172C27EA252C565DBAE /* OpenGL.framework */;
};
9F3EAEA1AD4D86F0DEB69EAE /* Fl_Window_hotspot.cxx in Sources */
= {isa = PBXBuildFile; fileRef = 7D3339A9CD9A00B8A4F6D86B /*
Fl_Window_hotspot.cxx */; };
A0DA0F3203830340F8F4ABBD /* Fl_x.cxx in Sources */ = {isa =
PBXBuildFile; fileRef = 1CF5FD89905762B02A5F1D3A /* Fl_x.cxx */; };
@@ -3548,7 +3548,6 @@
1FCF605876ACDF0C37353943 /* button.app */ = {isa =
PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0;
path = button.app; sourceTree = BUILT_PRODUCTS_DIR; };
2097DF39BF487FE63A19B2DB /* Fl_Input_.cxx */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
name = Fl_Input_.cxx; path = ../../src/Fl_Input_.cxx; sourceTree = SOURCE_ROOT;
};
20D5080729E562F13002641C /* valuators.app */ = {isa =
PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0;
path = valuators.app; sourceTree = BUILT_PRODUCTS_DIR; };
- 20DB1B86BA838A41209BAA59 /* Fl_Gl_Printer.cxx */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
name = Fl_Gl_Printer.cxx; path = ../../src/Fl_Gl_Printer.cxx; sourceTree =
SOURCE_ROOT; };
21551346B84925242E9942CA /* jcinit.c */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name =
jcinit.c; path = ../../jpeg/jcinit.c; sourceTree = SOURCE_ROOT; };
21BB2D14771B842988DFB174 /* Fl_add_idle.cxx */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
name = Fl_add_idle.cxx; path = ../../src/Fl_add_idle.cxx; sourceTree =
SOURCE_ROOT; };
224E58459FEDC29C5ED01B1B /* fullscreen.app */ = {isa =
PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0;
path = fullscreen.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -3647,6 +3646,7 @@
5C37D7B3EEB272272DB34687 /* fltkpng.framework */ = {isa =
PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0;
path = fltkpng.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5C77424BC3FA8DD40F116E8B /* input_choice.app */ = {isa =
PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0;
path = input_choice.app; sourceTree = BUILT_PRODUCTS_DIR; };
5CF866773819FF355388C15F /* subwindow.app */ = {isa =
PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0;
path = subwindow.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 5D188953C0E0216E287719DA /* Fl_Gl_Device_Plugin.cxx */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
name = Fl_Gl_Device_Plugin.cxx; path = ../../src/Fl_Gl_Device_Plugin.cxx;
sourceTree = SOURCE_ROOT; };
5D7C4FE0387C6272C8157FC7 /* glpuzzle.app */ = {isa =
PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0;
path = glpuzzle.app; sourceTree = BUILT_PRODUCTS_DIR; };
5D9BCB7ABE0DB45AAB820C1D /* pixmap_browser.cxx */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
name = pixmap_browser.cxx; path = ../../test/pixmap_browser.cxx; sourceTree =
SOURCE_ROOT; };
5E079F4524100018D9EB37EA /* label.cxx */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
name = label.cxx; path = ../../test/label.cxx; sourceTree = SOURCE_ROOT; };
@@ -5234,7 +5234,7 @@
1240BC854CD53B386ED7AEE6 /* gl_draw.cxx */,
C1F192C1BDF6ABF0084A5C9C /*
glut_compatability.cxx */,
CA39566FD1F25D47C83DE042 /* glut_font.cxx */,
- 20DB1B86BA838A41209BAA59 /* Fl_Gl_Printer.cxx
*/,
+ 5D188953C0E0216E287719DA /*
Fl_Gl_Device_Plugin.cxx */,
8C876172C27EA252C565DBAE /* OpenGL.framework */,
12104A5D9262E8DF5F955F82 /* AGL.framework */,
);
@@ -7946,7 +7946,7 @@
E0C675DD623CE6EAFDD55FF1 /* gl_draw.cxx in
Sources */,
35A5A00A20671E8DCB8F867F /*
glut_compatability.cxx in Sources */,
22BEC71AF42AC078B015549D /* glut_font.cxx in
Sources */,
- 2252F8C2D072099F09E9FB74 /* Fl_Gl_Printer.cxx
in Sources */,
+ 9D9AAF1AE62FE9C59F975DDD /*
Fl_Gl_Device_Plugin.cxx in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Modified: branches/branch-1.3/ide/Xcode3/config.h
===================================================================
--- branches/branch-1.3/ide/Xcode3/config.h 2010-03-17 20:47:47 UTC (rev
7290)
+++ branches/branch-1.3/ide/Xcode3/config.h 2010-03-17 21:11:06 UTC (rev
7291)
@@ -1,5 +1,5 @@
/*
- * "$Id: ide_xcode.cxx 7169 2010-02-27 22:38:25Z matt $"
+ * "$Id: ide_xcode.cxx 7267 2010-03-14 21:29:12Z matt $"
*
* Configuration file for the Fast Light Tool Kit (FLTK).
*
@@ -50,5 +50,5 @@
#define HAVE_DLSYM 1
/*
- * End of "$Id: ide_xcode.cxx 7169 2010-02-27 22:38:25Z matt $".
+ * End of "$Id: ide_xcode.cxx 7267 2010-03-14 21:29:12Z matt $".
*/
\ No newline at end of file
Modified: branches/branch-1.3/ide/Xcode3.1/FLTK.xcodeproj/project.pbxproj
===================================================================
--- branches/branch-1.3/ide/Xcode3.1/FLTK.xcodeproj/project.pbxproj
2010-03-17 20:47:47 UTC (rev 7290)
+++ branches/branch-1.3/ide/Xcode3.1/FLTK.xcodeproj/project.pbxproj
2010-03-17 21:11:06 UTC (rev 7291)
@@ -338,7 +338,6 @@
C9A3EE300DD6485F00486E4F /* fltk_forms.framework in Frameworks
*/ = {isa = PBXBuildFile; fileRef = C9A3EC6E0DD6397400486E4F /*
fltk_forms.framework */; };
C9A58206114D7B6900BEFDBE /* Fl_Device.cxx in Sources */ = {isa
= PBXBuildFile; fileRef = C9A58202114D7B6900BEFDBE /* Fl_Device.cxx */; };
C9A58208114D7B6900BEFDBE /* Fl_Printer.cxx in Sources */ = {isa
= PBXBuildFile; fileRef = C9A58204114D7B6900BEFDBE /* Fl_Printer.cxx */; };
- C9A5820F114D7D7400BEFDBE /* Fl_Gl_Printer.cxx in Sources */ =
{isa = PBXBuildFile; fileRef = C9A58203114D7B6900BEFDBE /* Fl_Gl_Printer.cxx
*/; };
C9A5821D114D7E7800BEFDBE /* ps_image.cxx in Sources */ = {isa =
PBXBuildFile; fileRef = C9A5821C114D7E7800BEFDBE /* ps_image.cxx */; };
C9A582AE114D83AA00BEFDBE /* ide_maketools.cxx in Sources */ =
{isa = PBXBuildFile; fileRef = C9A582A9114D83AA00BEFDBE /* ide_maketools.cxx
*/; };
C9A582AF114D83AA00BEFDBE /* ide_support_ui.cxx in Sources */ =
{isa = PBXBuildFile; fileRef = C9A582AA114D83AA00BEFDBE /* ide_support_ui.cxx
*/; };
@@ -401,6 +400,7 @@
C9C873AB0DD7779500A9793F /* fltk_images.framework in Frameworks
*/ = {isa = PBXBuildFile; fileRef = C9A3EC790DD6398C00486E4F /*
fltk_images.framework */; };
C9C873AC0DD7779600A9793F /* fltk_jpeg.framework in Frameworks
*/ = {isa = PBXBuildFile; fileRef = C9A3EC9A0DD639E600486E4F /*
fltk_jpeg.framework */; };
C9C873AD0DD7779700A9793F /* fltk_png.framework in Frameworks */
= {isa = PBXBuildFile; fileRef = C9A3EC8E0DD639CE00486E4F /* fltk_png.framework
*/; };
+ C9DC05581151777A00F3BA04 /* Fl_Gl_Device_Plugin.cxx in Sources
*/ = {isa = PBXBuildFile; fileRef = C9DC05571151777A00F3BA04 /*
Fl_Gl_Device_Plugin.cxx */; };
C9DD574C0DD780DA00A896B4 /* fl_images_core.cxx in Sources */ =
{isa = PBXBuildFile; fileRef = C9A3EB0F0DD634CC00486E4F /* fl_images_core.cxx
*/; };
C9DD574D0DD780E200A896B4 /* Fl_BMP_Image.cxx in Sources */ =
{isa = PBXBuildFile; fileRef = C9A3EB8A0DD634CC00486E4F /* Fl_BMP_Image.cxx */;
};
C9DD574E0DD780FB00A896B4 /* Fl_File_Icon2.cxx in Sources */ =
{isa = PBXBuildFile; fileRef = C9A3EAE00DD634CC00486E4F /* Fl_File_Icon2.cxx
*/; };
@@ -3141,7 +3141,6 @@
C9A3EE780DD64AE700486E4F /* config.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path =
config.h; sourceTree = "<group>"; };
C9A3EE790DD64B0200486E4F /* TODO */ = {isa = PBXFileReference;
fileEncoding = 4; lastKnownFileType = text; path = TODO; sourceTree =
"<group>"; };
C9A58202114D7B6900BEFDBE /* Fl_Device.cxx */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
name = Fl_Device.cxx; path = ../../src/Fl_Device.cxx; sourceTree = SOURCE_ROOT;
};
- C9A58203114D7B6900BEFDBE /* Fl_Gl_Printer.cxx */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
name = Fl_Gl_Printer.cxx; path = ../../src/Fl_Gl_Printer.cxx; sourceTree =
SOURCE_ROOT; };
C9A58204114D7B6900BEFDBE /* Fl_Printer.cxx */ = {isa =
PBXFileReference; explicitFileType = sourcecode.cpp.objcpp; fileEncoding = 4;
name = Fl_Printer.cxx; path = ../../src/Fl_Printer.cxx; sourceTree =
SOURCE_ROOT; };
C9A5821C114D7E7800BEFDBE /* ps_image.cxx */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
name = ps_image.cxx; path = ../../src/ps_image.cxx; sourceTree = SOURCE_ROOT; };
C9A582A9114D83AA00BEFDBE /* ide_maketools.cxx */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
name = ide_maketools.cxx; path = ../../fluid/ide_maketools.cxx; sourceTree =
SOURCE_ROOT; };
@@ -3190,6 +3189,7 @@
C9C873900DD7777A00A9793F /* Fl_Group_Type.cxx */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
name = Fl_Group_Type.cxx; path = ../../fluid/Fl_Group_Type.cxx; sourceTree =
SOURCE_ROOT; };
C9C873910DD7777A00A9793F /* about_panel.cxx */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
name = about_panel.cxx; path = ../../fluid/about_panel.cxx; sourceTree =
SOURCE_ROOT; };
C9C873920DD7777A00A9793F /* widget_panel.cxx */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
name = widget_panel.cxx; path = ../../fluid/widget_panel.cxx; sourceTree =
SOURCE_ROOT; };
+ C9DC05571151777A00F3BA04 /* Fl_Gl_Device_Plugin.cxx */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
name = Fl_Gl_Device_Plugin.cxx; path = ../../src/Fl_Gl_Device_Plugin.cxx;
sourceTree = SOURCE_ROOT; };
C9DD577E0DD7825C00A896B4 /* jidctflt.c */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name =
jidctflt.c; path = ../../jpeg/jidctflt.c; sourceTree = SOURCE_ROOT; };
C9DD577F0DD7825C00A896B4 /* jfdctint.c */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name =
jfdctint.c; path = ../../jpeg/jfdctint.c; sourceTree = SOURCE_ROOT; };
C9DD57800DD7825C00A896B4 /* jcmarker.c */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name =
jcmarker.c; path = ../../jpeg/jcmarker.c; sourceTree = SOURCE_ROOT; };
@@ -4091,9 +4091,9 @@
C9A3E9590DD6338B00486E4F /* Library Sources */ = {
isa = PBXGroup;
children = (
+ C9DC05571151777A00F3BA04 /*
Fl_Gl_Device_Plugin.cxx */,
C9A5821C114D7E7800BEFDBE /* ps_image.cxx */,
C9A58202114D7B6900BEFDBE /* Fl_Device.cxx */,
- C9A58203114D7B6900BEFDBE /* Fl_Gl_Printer.cxx
*/,
C9A58204114D7B6900BEFDBE /* Fl_Printer.cxx */,
C99E1E980E7861E600AECCF6 /* case.c */,
C9A3EB0D0DD634CC00486E4F /* cmap.cxx */,
@@ -7321,7 +7321,7 @@
C9C8720B0DD7750100A9793F /* glut_font.cxx in
Sources */,
C9C8720C0DD7750600A9793F /*
freeglut_stroke_mono_roman.cxx in Sources */,
C9C8720D0DD7750900A9793F /*
glut_compatability.cxx in Sources */,
- C9A5820F114D7D7400BEFDBE /* Fl_Gl_Printer.cxx
in Sources */,
+ C9DC05581151777A00F3BA04 /*
Fl_Gl_Device_Plugin.cxx in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Modified: branches/branch-1.3/src/Fl_Preferences.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Preferences.cxx 2010-03-17 20:47:47 UTC (rev
7290)
+++ branches/branch-1.3/src/Fl_Preferences.cxx 2010-03-17 21:11:06 UTC (rev
7291)
@@ -25,6 +25,7 @@
// http://www.fltk.org/str.php
//
+#define FL_PLUGIN_VERBOSE
#include <FL/Fl.H>
#include <FL/Fl_Preferences.H>
@@ -1812,6 +1813,10 @@
Fl_Plugin::Fl_Plugin(const char *klass, const char *name)
: id(0)
{
+#ifdef FL_PLUGIN_VERBOSE
+ printf("Fl_Plugin: creating a plugin, class \"%s\", name \"%s\"\n",
+ klass, name);
+#endif
Fl_Plugin_Manager pm(klass);
id = pm.addPlugin(name, this);
}
@@ -1821,6 +1826,9 @@
*/
Fl_Plugin::~Fl_Plugin()
{
+#ifdef FL_PLUGIN_VERBOSE
+ printf("Fl_Plugin: deleting a plugin\n");
+#endif
if (id)
Fl_Plugin_Manager::remove(id);
}
@@ -1832,6 +1840,9 @@
Fl_Plugin_Manager::Fl_Plugin_Manager(const char *klass)
: Fl_Preferences(0, Fl_Preferences::Name("%s/%s", "plugins", klass))
{
+#ifdef FL_PLUGIN_VERBOSE
+ printf("Fl_Plugin: creating a plugin manager for class \"%s\"\n", klass);
+#endif
}
/**
@@ -1842,6 +1853,9 @@
*/
Fl_Plugin_Manager::~Fl_Plugin_Manager()
{
+#ifdef FL_PLUGIN_VERBOSE
+ printf("Fl_Plugin: deleting a plugin manager\n");
+#endif
}
/**
@@ -1854,6 +1868,9 @@
Fl_Preferences pin(this, index);
pin.get("address", buf, "@0", 32);
sscanf(buf, "@%p", &ret);
+#ifdef FL_PLUGIN_VERBOSE
+ printf("Fl_Plugin: returning plugin at index %d: 0x%p\n", index, ret);
+#endif
return ret;
}
@@ -1868,8 +1885,14 @@
Fl_Preferences pin(this, name);
pin.get("address", buf, "@0", 32);
sscanf(buf, "@%p", &ret);
+#ifdef FL_PLUGIN_VERBOSE
+ printf("Fl_Plugin: returning plugin named \"%s\": 0x%p\n", name, ret);
+#endif
return ret;
} else {
+#ifdef FL_PLUGIN_VERBOSE
+ printf("Fl_Plugin: no plugin found named \"%s\"\n", name);
+#endif
return 0L;
}
}
@@ -1883,6 +1906,9 @@
Fl_Preferences::ID Fl_Plugin_Manager::addPlugin(const char *name, Fl_Plugin
*plugin)
{
char buf[32];
+#ifdef FL_PLUGIN_VERBOSE
+ printf("Fl_Plugin: adding plugin named \"%s\" at 0x%p\n", name, plugin);
+#endif
Fl_Preferences pin(this, name);
snprintf(buf, 32, "@%p", plugin);
pin.set("address", buf);
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit