Commit Graph

6965 Commits

Author SHA1 Message Date
Manolo Gouy
2eecc67e7e Fix error introduced in Fl_arg.cxx when converted to the driver model.
fluid built by CMake no longer started under the finder.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-03 15:34:31 +00:00
Manolo Gouy
d292de92ef Rewrite fl_scroll_area.cxx under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-03 14:25:42 +00:00
Manolo Gouy
7c8e337942 Remove "(if fl_window is null)" from Doxygen comment.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11519 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-03 08:47:52 +00:00
Manolo Gouy
b3af5591ca Stop using fl_read_image() to read window decoration.
Use instead an API internal to each platform code base.
fl_read_image() is used only for its documented feature
of reading inside the current window or an offscreen buffer.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11518 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-03 08:36:19 +00:00
Manolo Gouy
9a97fc37fd Delete because content is now in Fl_XXX_Screen_Driver.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-03 06:58:07 +00:00
Manolo Gouy
f1ffe2f1fe Rewrite fl_read_image.cxx under the driver model.
Files fl_read_image_mac.cxx and fl_read_image_win32.cxx are no longer used;
their content is now in Fl_XXX_Screen_Driver.cxx

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11516 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-03 06:51:09 +00:00
Manolo Gouy
c88af210e7 Move function draw_layer_to_context() from Fl_Cocoa_Screen_Driver to Fl_Cocoa_Window_Driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 16:24:57 +00:00
Manolo Gouy
64c96b9098 Continue removing from class Fl_X all what is not window-related.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11514 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 16:08:56 +00:00
Manolo Gouy
ddc95025fd Fix lowercase typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11513 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 15:47:54 +00:00
Manolo Gouy
6b6c71265f Complete removal of platform-dependent code from fl_set_font.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11512 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 15:37:03 +00:00
Manolo Gouy
7a8f307fca fl_font.o no longer depends on Fl_Font.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11511 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 15:12:44 +00:00
Manolo Gouy
09e0864f3e Remove #include directive for Fl_Font.H from mac.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11510 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 13:53:41 +00:00
Manolo Gouy
851c17d43b Remove platform-dependent code from src/fl_font.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11509 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 13:48:50 +00:00
Manolo Gouy
6ef97bc0c6 Delete this file replaced by one in each platform-specific subtree with same name.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11508 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 13:26:17 +00:00
Manolo Gouy
d011d5b4f0 Replace src/Fl_Font.H by one file for each platform.
This file contained nearly only platform-specific code.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11507 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 13:22:48 +00:00
Manolo Gouy
c03f3d8946 Begin to rewrite src/Fl_Font.H in the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11506 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 11:58:13 +00:00
Manolo Gouy
43d20bd18a Remove now useless Fl_X::window_ref() function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 09:44:00 +00:00
Manolo Gouy
d0c8ff09f0 Make constant CoreText_threshold local to file Fl_Quartz_Graphcs_Driver_font.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 09:41:11 +00:00
Manolo Gouy
ab5252071c Move Fl_X::next_marked_length to the Fl_Cocoa_Screen_Driver class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11503 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 09:34:17 +00:00
Manolo Gouy
4d4b43a6bc Move function Fl_X::calc_mac_os_version() to class Fl_Darwin_System_Driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 07:29:09 +00:00
Manolo Gouy
77e5a5c11a Move get_carbon_function() to the Fl_Darwin_System_Driver class where it belongs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 07:03:18 +00:00
Manolo Gouy
7b37960d95 Move intersect_region_and_rect() to the Quartz driver code where it belongs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11500 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 06:42:34 +00:00
Manolo Gouy
d756822c2b Complete removal of platform-dependent code from Fl_Text_Display.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-01 15:37:19 +00:00
Manolo Gouy
a53297ebab Begin to remove platform-specific code from Fl_Text_Display.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11498 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-01 14:58:07 +00:00
Manolo Gouy
20b00f29ce Rewrite Fl_Text_Editor.cxx under the driver model.
Fl_Cocoa_Screen_Driver contains the Mac OS-specific text editor key bindings.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11497 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-01 14:49:29 +00:00
Albrecht Schlosser
88ab084e9a correct typo, format line breaks < 80 columns in README.OSX.txt
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11496 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-01 11:11:11 +00:00
Manolo Gouy
f1a157bdd9 Replace Fl_System_Driver::driver() by Fl::system_driver()
for coherence with the Fl::screen_driver() function.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11494 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-01 10:28:03 +00:00
Albrecht Schlosser
524ebcef0b Fix example programs after removal of some system #include's.
This adds missing headers that were previously included in other
FLTK header files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11492 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-31 21:48:15 +00:00
Manolo Gouy
8566b126c2 Remve useless extern declaration
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-31 20:11:04 +00:00
Manolo Gouy
03eb542e0d Begin to remove platform-dependent code from Fl_Input.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-31 20:00:54 +00:00
Manolo Gouy
519673a776 Move dnd and character-composition related functions from Fl_System_Driver to Fl_Screen_Driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11489 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-31 19:55:03 +00:00
Manolo Gouy
5d12ea5ab1 Move marked text-related data to the Fl_Cocoa_Screen_Driver class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11488 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-31 19:23:38 +00:00
Manolo Gouy
740760109d Finish removal of platform-dependent code from Fl_Input_.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-31 17:41:45 +00:00
Manolo Gouy
2de2f54968 Move the marked text support member functions from Fl_System_Driver to Fl_Screen_Driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11486 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-31 17:25:18 +00:00
Manolo Gouy
ff83e355b0 Begin to remove platform-dependent code from Fl_Input_.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11485 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-31 15:57:35 +00:00
Manolo Gouy
56e145a1c8 Complete removing platform-dependent code from the Fl.H header file.
Type FL_SOCKET is now declared in Fl_System_Driver.H with all other
platform-dependent public types.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11484 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-31 11:01:07 +00:00
Manolo Gouy
3ca402b609 Continue removing platform-dependent code from the Fl.H header file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11483 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-31 06:47:15 +00:00
Manolo Gouy
059664e7d4 Begin to remove platform-dependent code from the Fl.H header file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11482 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-31 06:24:26 +00:00
Manolo Gouy
62f9813e4e Fix error with PostScript driver on the Mac platform.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11481 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-31 05:01:22 +00:00
Manolo Gouy
9959aff368 Fix "warning: control may reach end of non-void function" in Fl_Darwin_System_Driver.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11480 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-31 04:32:34 +00:00
Manolo Gouy
d67f395031 Rewrite functions XRectangleRegion(), XDestroyRegion() under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11479 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-30 20:16:40 +00:00
Manolo Gouy
7799245100 Avoid vfprintf_l() that may be missing on Linux
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11478 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-30 17:38:26 +00:00
Manolo Gouy
5adda33f96 Finish removing platform-dependent code from Fl_PostScript.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11477 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-30 17:09:15 +00:00
Manolo Gouy
730f2d12b2 Continue removing platform-dependent code from Fl_PostScript.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11476 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-30 16:27:41 +00:00
Manolo Gouy
4a633d2aef Make sure fl_mac_os_version is defined when the Fl_Darwin_System_Driver object is used.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11475 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-30 15:57:19 +00:00
Manolo Gouy
2ac2b506a8 Begin to rewrite Fl_PostScript.cxx under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11474 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-30 15:47:23 +00:00
Manolo Gouy
fc7b00dad8 Delete this file which content has been transferred to fl_utf8.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11473 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-30 14:19:07 +00:00
Manolo Gouy
288ed8988e Rewrite fl_utf.c under the driver model: the file disappears and its content is moved to fl_utf8.cxx
All functions of fl_utf.c keep their C API in fl_utf8.cxx

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11472 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-30 13:59:55 +00:00
Manolo Gouy
53aced3dbd Add an explicative comment.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11471 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-30 04:38:27 +00:00
Manolo Gouy
532e564593 Add #include <FL/Fl_Widget.H> needed in mac.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11470 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-29 20:10:37 +00:00