fltk/FL
Matthias Melcher c9908d97e3 THIS FIX CONTAINS TWO MORE FILES THAT MUST BE COMPILED. I would
like to ask the maintainers of the build environments to please
add these files to the setup:

  src/fl_encoding_latin1.cxx
  src/fl_encoding_mac_roman.cxx

I ADDED SOME DOCUMENTATION THAT NEEDS TO BE FIXED. Beeing not a
native English speaker, I have a hard time writing documentation.
Would someone please update my babbeling in 
documentation/drawing.html? Thanks.

This commit fixes some very basic problems with OS X's code page in
preparation for the compose-character keyboard fix. It also fixes
issues with MS Windows and X11 not rendering the characters
in the Western (Latin-1) set between 0x80 and 0x9F. In the original
ISO font, they were unused, but are now assigned to international
characters like the Euro currency sign.

This patch also tries to fix one basic flaw with FLTK 1 and
font encoding. I will not put much more work into this because
FLTK 1.2 and FLTK 2 fix the problem entirely by using UTF-8
instead of 8-bit "C"-style strings.

All these changes are only meaningful for foreign language
users or users of special characters like the Euro, the Degree
or the Permille symbol. A short explanation follows.

Max OS X uses a different code page than X11 and Win32. This means
that all characters above 0x7f have an entirely different meaning.
If your source code contains international characters, your 
text will appear different if you change to another OS. This patch
provides two functions that convert text with international
characters from the character set of the source code into the
local character set. Two more functions are provided to convert
them back. The functions are fl_latin1_to_local (source is in Win32 
or X11), fl_mac_roman_to_local (source was written on OS X) and the 
corresponding fl_local_to_latin1 and fl_local_to_mac_roman, which
are very useful if yoou want to store strings with intl. characters
that will be moved between systems.

All this is assuming a "Western" code page as it is common in
the Americas and most of Europe. User of other languages will have 
to use FLTK 2.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-18 13:07:42 +00:00
..
dirent.h Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Enumerations.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
filename.H Fixed C++ style comments in plain C files (STR #997) 2005-08-29 20:16:36 +00:00
Fl_Adjuster.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
fl_ask.H Only use __deprecated__ with GCC 3.0 and higher. 2005-04-13 19:35:28 +00:00
Fl_Bitmap.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_BMP_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Box.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Browser_.H STR 1183: swapping two items in an Fl_Browser_ widget would corrupt redrawing if either item was "top". This fix swaps the top_ variable correctly, and also swaps the selection flag as the user would expect. 2006-03-28 23:27:20 +00:00
Fl_Browser.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Chart.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Check_Browser.H Fixed memory leak in Fl_Check_Browser reported by "miguel2i" . 2005-08-05 13:31:02 +00:00
Fl_Check_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Choice.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Clock.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Color_Chooser.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Counter.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Dial.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Double_Window.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
fl_draw.H THIS FIX CONTAINS TWO MORE FILES THAT MUST BE COMPILED. I would 2006-04-18 13:07:42 +00:00
Fl_Export.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_File_Browser.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_File_Chooser.H ST 1148: a preselected filename will also be selected in the file chooser when popping up. I put a lot of effort into trying to make the chooser behave as it previously did in all other situations, e.g. to choose a directory 2006-03-28 15:24:14 +00:00
Fl_File_Icon.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_File_Input.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Fill_Dial.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Fill_Slider.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Float_Input.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_FormsBitmap.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_FormsPixmap.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Free.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_GIF_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Gl_Window.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Group.H Applied hidden copy / ctor patch as suggested in STR 860 2005-07-15 09:34:53 +00:00
Fl_Help_Dialog.H STR #1035: Fl_Help_View now accepts direct buffer loading and reading via 'value()' functions. 2005-09-25 16:54:40 +00:00
Fl_Help_View.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Hold_Browser.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Hor_Fill_Slider.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Hor_Nice_Slider.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Hor_Slider.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Hor_Value_Slider.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Input_.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Input_Choice.H Fix Fl_Input_Choice widget positioning. 2005-08-08 02:45:06 +00:00
Fl_Input.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Int_Input.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_JPEG_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Light_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Line_Dial.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Menu_.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Menu_Bar.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Menu_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Menu_Item.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Menu_Window.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Menu.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
fl_message.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Multi_Browser.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Multi_Label.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Multiline_Input.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Multiline_Output.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Nice_Slider.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Object.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Output.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Overlay_Window.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Pack.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Pixmap.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_PNG_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_PNM_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Positioner.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Preferences.H Fl_Preferences: made implicitly defined constructors and operators unavailable. 2005-07-26 07:59:01 +00:00
Fl_Progress.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Radio_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Radio_Light_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Radio_Round_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Repeat_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Return_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Roller.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Round_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Round_Clock.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Scroll.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Scrollbar.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Secret_Input.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Select_Browser.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Shared_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
fl_show_colormap.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
fl_show_input.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Simple_Counter.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Single_Window.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Slider.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Spinner.H Update copyrights. 2006-01-31 19:00:08 +00:00
Fl_Sys_Menu_Bar.H Slight changes to Fl_Sys_Menu_Bar making it more transparent for multi platform developers. Again, thanks Natevw for the patch. 2005-08-29 20:05:38 +00:00
Fl_Tabs.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Text_Buffer.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Text_Display.H Fl_Text_Display now auto-scrolls in all directions (STR #915). This is implemented using a timer event. The scroll speed is proportional to the distance of the cursor to the text area 2005-08-10 23:11:51 +00:00
Fl_Text_Editor.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Tile.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Tiled_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Timer.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Toggle_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Toggle_Light_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Toggle_Round_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Tooltip.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Valuator.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Value_Input.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Value_Output.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Value_Slider.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Widget.H Applied hidden copy / ctor patch as suggested in STR 860 2005-07-15 09:34:53 +00:00
Fl_Window.H Applied hidden copy / ctor patch as suggested in STR 860 2005-07-15 09:34:53 +00:00
Fl_Wizard.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_XBM_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_XPM_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl.H Add Fl::screen_count() and Fl::screen_xywh() APIs to support multi- 2005-03-31 16:01:24 +00:00
forms.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
gl2opengl.h Initial revision 1998-10-06 18:21:25 +00:00
gl_draw.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
gl.h Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
glut.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
mac.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
mac.r Implemeted 95% of all Mac OS X support. Makefiles still need modifications. 2001-12-06 00:17:47 +00:00
Makefile.in Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
math.h Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
win32.H STR #1007: removed one superfluous ReleaseDC. All demos are running nicely again. I did not see any rendering mistakes. 2005-09-15 07:41:17 +00:00
x.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00