fltk  1.3.5-source
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X.
  Fossies Dox: fltk-1.3.5-source.tar.bz2  ("inofficial" and yet experimental doxygen-generated source code documentation)  

fl_encoding_mac_roman.cxx File Reference
#include <FL/fl_draw.H>
#include <FL/Enumerations.H>
#include <stdlib.h>
#include "flstring.h"
Include dependency graph for fl_encoding_mac_roman.cxx:

Go to the source code of this file.

Functions

const char * fl_local_to_mac_roman (const char *t, int n)
 
const char * fl_mac_roman_to_local (const char *t, int n)
 

Variables

static uchar latin2roman [128]
 
static uchar roman2latin [128]
 
static char * buf = 0
 
static int n_buf = 0
 

Variable Documentation

◆ buf

char* buf = 0
static

Definition at line 76 of file fl_encoding_mac_roman.cxx.

Referenced by _tr_flush_block(), _tr_stored_block(), Fl_Menu_::add(), Fl_Plugin_Manager::addPlugin(), adler32(), big5_0_mbtowc(), big5_0_wctomb(), big5_1_mbtowc(), big5_1_wctomb(), Fl_Text_Display::buffer(), Fl_Text_Display::buffer_modified_cb(), Fl::copy(), copy_block(), crc32(), Shortcut_Button::draw(), Fl_Value_Slider::draw(), Fl_Value_Output::draw(), Fl_Help_View::draw(), draw_height(), Fl_translated_Xlib_Graphics_Driver_::draw_image(), Fl_Xlib_Graphics_Driver::draw_image(), draw_image_cb(), Fl_translated_Xlib_Graphics_Driver_::draw_image_mono(), Fl_Xlib_Graphics_Driver::draw_image_mono(), draw_width(), menuwindow::drawentry(), Fl_Input_::drawtext(), Fl_Input_::expand(), expand_text_(), Fl_Input_::expandpos(), Fl_Text_Display::find_wrap_range(), fl_draw_image(), fl_draw_image_mono(), fl_expand_text(), fl_filename_ext(), fl_filename_setext(), fl_get_lcid_codepage(), fl_getenv(), fl_local_to_mac_roman(), fl_mac_roman_to_local(), fl_shortcut_label(), fl_utf2mbcs(), fl_utf8encode(), fl_utf8from_mb(), fl_utf8to_mb(), fl_utf_nb_char(), fl_utf_tolower(), fl_utf_toupper(), Flcc_Value_Input::format(), Fl_Help_View::format(), Fl_Help_View::format_table(), Fl_Help_View::free_data(), generate_image(), generate_vimage(), Fl_Help_View::get_align(), Fl_Help_View::get_attr(), gz_load(), gzgetc(), gzgets(), gzputc(), gzread(), gzwrite(), ExternalCodeEditor::handle_changes(), Fl_Input_::handle_mouse(), Fl_Text_Display::in_selection(), inflateSync(), innards(), Fl_Menu_Item::insert(), is_dir(), is_file(), Widget_Browser::item_draw(), Widget_Browser::item_width(), Fl_Input_::line_end(), Fl_Input_::line_start(), Fl_Graphics_Driver::line_style(), main(), make_funny_pointers(), make_shell_window(), Fl_Text_Display::measure_deleted_lines(), name_cb(), Fl_Text_Display::offset_line_starts(), Fl_Text_Display::overstrike(), Fl_Plugin_Manager::plugin(), png_crc_read(), png_get_fixed_point(), png_get_int_32(), png_get_uint_16(), png_get_uint_31(), png_get_uint_32(), png_handle_bKGD(), png_handle_cHRM(), png_handle_gAMA(), png_handle_hIST(), png_handle_IHDR(), png_handle_oFFs(), png_handle_pCAL(), png_handle_pHYs(), png_handle_PLTE(), png_handle_sBIT(), png_handle_tIME(), png_handle_tRNS(), png_read_chunk_header(), png_save_int_32(), png_save_uint_16(), png_save_uint_32(), png_write_bKGD(), png_write_cHRM_fixed(), png_write_chunk_end(), png_write_chunk_header(), png_write_gAMA_fixed(), png_write_hIST(), png_write_IHDR(), png_write_oFFs(), png_write_pCAL(), png_write_pHYs(), png_write_PLTE(), png_write_sBIT(), png_write_sCAL_s(), png_write_sRGB(), png_write_tIME(), png_write_tRNS(), Fl_Text_Display::position_style(), put_font_size(), Fl_Preferences::RootNode::read(), read_buf(), Fl_Widget_Type::read_fdesign(), read_win_rectangle(), Fl_Text_Display::rewind_lines(), Fl_FLTK_File_Chooser::show(), show_grid_cb(), CodeEditor::style_parse(), syncsearch(), undo_filename(), Fl_Input_::up_down_position(), Fl_Value_Input::value_damage(), Fl_Text_Display::wrapped_line_counter(), write_declare(), Fl_Widget_Type::write_static(), XConvertBig5ToUtf8(), XConvertCp936extToUtf8(), XConvertEucCnToUtf8(), XConvertEucJpToUtf8(), XConvertEucKrToUtf8(), XConvertEucTwToUtf8(), XConvertGb2312ToUtf8(), XConvertUcsToUtf8(), XConvertUtf8ToUcs(), XCountUtf8Char(), XFastConvertUtf8ToUcs(), XUtf8_measure_extents(), XUtf8CharByteLen(), XUtf8DrawRtlString(), XUtf8DrawString(), XUtf8TextWidth(), XUtf8UcsWidth(), and CodeEditor::~CodeEditor().

◆ latin2roman

uchar latin2roman[128]
static
Initial value:
= {
0xdb, 0xc0, 0xe2, 0xc4, 0xe3, 0xc9, 0xa0, 0xe0, 0xf6, 0xe4, 0xc0, 0xdc, 0xce, 0xc0, 0xc0, 0xc0,
0xc0, 0xd4, 0xd5, 0xd2, 0xd3, 0xa5, 0xd0, 0xd1, 0xf7, 0xaa, 0xc0, 0xdd, 0xcf, 0xc0, 0xc0, 0xd9,
0xca, 0xc1, 0xa2, 0xa3, 0xc0, 0xb4, 0xc0, 0xa4, 0xac, 0xa9, 0xbb, 0xc7, 0xc2, 0xc0, 0xa8, 0xf8,
0xa1, 0xb1, 0xc0, 0xc0, 0xab, 0xb5, 0xa6, 0xe1, 0xfc, 0xc0, 0xbc, 0xc8, 0xc0, 0xc0, 0xc0, 0xc0,
0xcb, 0xe7, 0xe5, 0xcc, 0x80, 0x81, 0xae, 0x82, 0xe9, 0x83, 0xe6, 0xe8, 0xed, 0xea, 0xeb, 0xec,
0xc0, 0x84, 0xf1, 0xee, 0xef, 0xcd, 0x85, 0xc0, 0xaf, 0xf4, 0xf2, 0xf3, 0x86, 0xc0, 0xc0, 0xa7,
0x88, 0x87, 0x89, 0x8b, 0x8a, 0x8c, 0xbe, 0x8d, 0x8f, 0x8e, 0x90, 0x91, 0x93, 0x92, 0x94, 0x95,
0xc0, 0x96, 0x98, 0x97, 0x99, 0x9b, 0x9a, 0xd6, 0xbf, 0x9d, 0x9c, 0x9e, 0x9f, 0xc0, 0xc0, 0xd8
}

Definition at line 53 of file fl_encoding_mac_roman.cxx.

Referenced by fl_local_to_mac_roman().

◆ n_buf

int n_buf = 0
static

Definition at line 77 of file fl_encoding_mac_roman.cxx.

Referenced by fl_local_to_mac_roman(), and fl_mac_roman_to_local().

◆ roman2latin

uchar roman2latin[128]
static
Initial value:
= {
0xc4, 0xc5, 0xc7, 0xc9, 0xd1, 0xd6, 0xdc, 0xe1, 0xe0, 0xe2, 0xe4, 0xe3, 0xe5, 0xe7, 0xe9, 0xe8,
0xea, 0xeb, 0xed, 0xec, 0xee, 0xef, 0xf1, 0xf3, 0xf2, 0xf4, 0xf6, 0xf5, 0xfa, 0xf9, 0xfb, 0xfc,
0x86, 0xb0, 0xa2, 0xa3, 0xa7, 0x95, 0xb6, 0xdf, 0xae, 0xa9, 0x99, 0xb4, 0xa8, 0xbf, 0xc6, 0xd8,
0xbf, 0xb1, 0xbf, 0xbf, 0xa5, 0xb5, 0xbf, 0xbf, 0xbf, 0xbf, 0xbf, 0xaa, 0xba, 0xbf, 0xe6, 0xf8,
0xbf, 0xa1, 0xac, 0xbf, 0x83, 0xbf, 0xbf, 0xab, 0xbb, 0x85, 0xa0, 0xc0, 0xc3, 0xd5, 0x8c, 0x9c,
0x96, 0x97, 0x93, 0x94, 0x91, 0x92, 0xf7, 0xbf, 0xff, 0x9f, 0xbf, 0x80, 0x8b, 0x9b, 0xbf, 0xbf,
0x87, 0xb7, 0x82, 0x84, 0x89, 0xc2, 0xca, 0xc1, 0xcb, 0xc8, 0xcd, 0xce, 0xcf, 0xcc, 0xd3, 0xd4,
0xbf, 0xd2, 0xda, 0xdb, 0xd9, 0xbf, 0x88, 0x98, 0xaf, 0xbf, 0xbf, 0xbf, 0xb8, 0xbf, 0xbf, 0xbf
}

Definition at line 65 of file fl_encoding_mac_roman.cxx.

Referenced by fl_mac_roman_to_local().