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
Manolo Gouy
9a521b95b9
Remove useless #include <FL/Fl_Device.H>
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11469 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-29 19:59:34 +00:00
Manolo Gouy
08677d0cb6
Clean mac.H of a few useless #include directives.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11468 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-29 19:52:51 +00:00
Manolo Gouy
fd600aa239
Rewrite fl_utf8.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11467 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-29 19:41:14 +00:00
Manolo Gouy
eff92c8211
Fix typo in comment.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11466 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-29 19:00:48 +00:00
Albrecht Schlosser
109ebd2dc0
Fix Fl_Browser::textsize(int) to adjust the scrollbars (STR #3057 ).
...
Setting a different text size didn't affect the scrollbars.
Port of branch-1.3, r11453 and r11464.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11465 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-29 11:54:44 +00:00
Albrecht Schlosser
1dca798b6e
[CMake] Revert r 11461.
...
Sorry for the noise.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11463 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-29 10:34:28 +00:00
Albrecht Schlosser
4e4a531f3e
[CMake] Fix library names.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11461 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-29 09:58:49 +00:00
Manolo Gouy
4fcefc68f8
Remove the platform-dependent type xchar
...
File fl_utf8.h defines the xchar type with a platform-dependent value (wchar_t or unsigned short).
But it is used exclusively by WIN32 code (0 use in cross-platform code, 0 use in APPLE
or in USE_X11 code).
Thus, we can just get rid of this type and replace it by wchar_t where it is used.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11459 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-29 09:29:51 +00:00
Manolo Gouy
21655099a7
Add a default value to the argument of Fl_System_Driver::dnd(int).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11458 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-29 06:20:43 +00:00
Manolo Gouy
8ee4c7303f
Begin to clean fl_utf8.h from its platform-dependent content.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11457 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-29 06:12:12 +00:00
Manolo Gouy
d9f5412413
This file has become useless under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11456 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-28 17:41:13 +00:00
Manolo Gouy
aacb5277e7
Rewrite Fl_dnd.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11455 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-28 17:36:07 +00:00