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)  

test.c File Reference
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <wchar.h>
#include "Xutf8.h"
#include <X11/Xlocale.h>
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Intrinsic.h>
#include <X11/Xmd.h>
Include dependency graph for test.c:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Variables

char * jp_txt
 
char * rtl_txt = "->e\xCC\x82=\xC3\xAA"
 
XIM xim_im = NULL
 
XIC xim_ic = NULL
 
static XIMStyles * xim_styles = NULL
 
XUtf8FontStructfontset
 
GC gc
 
int x = 2
 
int y = 40
 

Function Documentation

◆ main()

Variable Documentation

◆ fontset

XUtf8FontStruct* fontset

Definition at line 71 of file test.c.

Referenced by main().

◆ gc

◆ jp_txt

char* jp_txt
Initial value:
= " UTF-8 e\xCC\x82=\xC3\xAA"
" \357\274\270\357\274\254\357\274\246\357\274"
"\244\345\220\215\343\201\247\346\214\207 \345\256\232"
"\343\201\231\343\202\213"

Definition at line 61 of file test.c.

Referenced by main().

◆ rtl_txt

char* rtl_txt = "->e\xCC\x82=\xC3\xAA"

Definition at line 66 of file test.c.

Referenced by main().

◆ x

int x = 2

Definition at line 73 of file test.c.

Referenced by _fl_hypot(), Fl_File_Icon::add_vertex(), align_cb(), align_position_cb(), align_text_image_cb(), alpha_blend(), Fl_PostScript_Graphics_Driver::arc(), Fl_Graphics_Driver::arc(), Fl_translated_Xlib_Graphics_Driver_::arc(), build_bg_ycc_rgb_table(), build_ycc_rgb_table(), capture_gl_rectangle(), Fl_PostScript_Graphics_Driver::circle(), Fl_Graphics_Driver::circle(), Fl_Tabs_Type::click_test(), Fl_PostScript_Graphics_Driver::clip_box(), Fl_Graphics_Driver::clip_box(), Fl_translated_Xlib_Graphics_Driver_::clip_box(), close_read(), close_write(), Fl_RGB_Image::color_average(), Fl_translated_Xlib_Graphics_Driver_::copy_offscreen(), Fl_Graphics_Driver::copy_offscreen(), create_bmp(), Fl_PostScript_Graphics_Driver::curve(), Fl_Graphics_Driver::curve(), dbgCGContextMoveToPoint(), decodeHex(), Fl_RGB_Image::desaturate(), do_cns11643_only_uni2charset(), down_box(), down_frame(), down_round(), Fl_Input_Choice::InputMenuButton::draw(), Fl_File_Icon::draw(), draw(), Fl_PostScript_Graphics_Driver::draw(), Fl_translated_Xlib_Graphics_Driver_::draw(), Fl_Menu_Item::draw(), Fl_Xlib_Graphics_Driver::draw(), draw_barchart(), Fl_Widget::draw_focus(), draw_height(), draw_horbarchart(), Fl_PostScript_Graphics_Driver::draw_image(), Fl_Xlib_Graphics_Driver::draw_image(), draw_image_cb(), Fl_PostScript_Graphics_Driver::draw_image_mono(), Fl_Xlib_Graphics_Driver::draw_image_mono(), draw_linechart(), Fl_Window_Type::draw_overlay(), draw_piechart(), draw_v_arrow(), draw_width(), Fl_Graphics_Driver::end_complex_polygon(), Fl_Graphics_Driver::end_line(), Fl_Graphics_Driver::end_loop(), Fl_Graphics_Driver::end_points(), Fl_Graphics_Driver::end_polygon(), Fl_Tooltip::enter_area(), find_nearby_colors(), fix_group_size(), Fl_Graphics_Driver::fixloop(), fl_add_bitmapbutton(), fl_add_button(), fl_add_frame(), fl_add_free(), fl_add_labelframe(), fl_add_object(), fl_add_pixmapbutton(), fl_arc(), fl_arc_i(), Fl_BMP_Image::Fl_BMP_Image(), fl_circle(), fl_clip_box(), fl_copy_offscreen(), fl_create_alphamask(), fl_diamond_down_box(), fl_diamond_up_box(), fl_down_box(), fl_down_frame(), fl_draw(), fl_draw_box(), fl_draw_pixmap(), fl_draw_symbol(), fl_drawUCS4(), fl_drw_box(), fl_drw_frame(), fl_drw_text(), fl_drw_text_beside(), fl_embossed_box(), fl_embossed_frame(), fl_engraved_box(), fl_engraved_frame(), fl_flat_box(), fl_frame(), fl_frame2(), fl_free_form(), fl_free_object(), fl_get_input_cursorpos(), fl_get_object_geometry(), fl_get_object_position(), fl_line(), fl_loop(), fl_mac_draw(), fl_mult_matrix(), fl_not_clipped(), fl_oval_box(), fl_oval_flat_box(), fl_oval_frame(), fl_oval_shadow_box(), fl_overlay_rect(), fl_parse_color(), fl_pie(), Fl_PNM_Image::Fl_PNM_Image(), fl_point(), fl_polygon(), fl_push_clip(), fl_read_image(), fl_rect(), fl_rectbound(), fl_rectf(), fl_return_arrow(), fl_rflat_box(), fl_round_down_box(), fl_round_up_box(), fl_rounded_box(), fl_rounded_frame(), fl_rshadow_box(), fl_rtl_draw(), fl_scale(), fl_scale_form(), fl_set_choice_fontsize(), fl_set_choice_fontstyle(), fl_set_form_geometry(), fl_set_form_hotspot(), fl_set_form_position(), fl_set_input_cursorpos(), fl_set_input_return(), fl_set_menu_item_mode(), fl_set_object_geometry(), fl_set_object_position(), fl_set_status(), fl_shadow_box(), fl_shadow_frame(), fl_thin_down_box(), fl_thin_down_frame(), fl_thin_up_box(), fl_thin_up_frame(), fl_transform_dx(), fl_transform_dy(), fl_transform_x(), fl_transform_y(), fl_translate(), fl_up_box(), fl_up_frame(), fl_vertex(), fl_vertex_r(), Fl_XPM_Image::Fl_XPM_Image(), fl_xyline(), fl_yxline(), frame_rect(), frame_rect_down(), frame_rect_up(), frame_round(), Fl_Graphics_Driver::gap(), generate_image(), generate_vimage(), getsyscolor(), gl_rectf(), glutPositionWindow(), glutSolidSierpinskiSponge(), glutWireSierpinskiSponge(), glutWireSphere(), gtk_down_box(), gtk_down_frame(), gtk_round_down_box(), gtk_round_up_box(), gtk_thin_down_box(), gtk_thin_down_frame(), gtk_thin_up_box(), gtk_thin_up_frame(), gtk_up_box(), gtk_up_frame(), hexdigit(), icons_to_property(), Fl_Widget_Type::ideal_spacing(), Fl_Tabs_Type::ideal_spacing(), image_to_icon(), innards(), Fl_File_Icon::labeltype(), Fl_Graphics_Driver::line(), Fl_translated_Xlib_Graphics_Driver_::line(), Fl_File_Icon::load_fti(), Fl_File_Icon::load_image(), Fl_Graphics_Driver::loop(), main(), make_widget_browser(), makeform(), Fl_Window_Type::moveallchildren(), Fl_Graphics_Driver::mult_matrix(), multi_labeltype(), narrow_thin_box(), Fl_PostScript_Graphics_Driver::not_clipped(), Fl_Graphics_Driver::not_clipped(), Fl_translated_Xlib_Graphics_Driver_::not_clipped(), Fl_Table_Row::CharVector::operator[](), Fl_Table::IntVector::operator[](), Fl_Paged_Device::origin(), Fl_Printer::origin(), Fl_PostScript_File_Device::origin(), Fl_PostScript_Graphics_Driver::pie(), Fl_Graphics_Driver::pie(), Fl_translated_Xlib_Graphics_Driver_::pie(), Fl_PostScript_Graphics_Driver::point(), Fl_Graphics_Driver::point(), Fl_translated_Xlib_Graphics_Driver_::point(), Fl_Graphics_Driver::polygon(), Fl_Gl_Device_Plugin::print(), Fl_Paged_Device::print_window_part(), Fl_Printer::print_window_part(), Fl_Table_Row::CharVector::push_back(), Fl_Table::IntVector::push_back(), Fl_PostScript_Graphics_Driver::push_clip(), Fl_Graphics_Driver::push_clip(), Fl_translated_Xlib_Graphics_Driver_::push_clip(), rbox(), Fl_Widget_Type::read_fdesign(), Fl_Window_Type::read_fdesign(), read_fdesign_line(), Fl_Widget_Type::read_property(), read_quoted(), read_win_rectangle(), read_word(), rect(), Fl_PostScript_Graphics_Driver::rect(), Fl_Graphics_Driver::rect(), Fl_translated_Xlib_Graphics_Driver_::rect(), rectangle(), Fl_Gl_Device_Plugin::rectangle_capture(), rectf(), Fl_PostScript_Graphics_Driver::rectf(), Fl_Graphics_Driver::rectf(), Fl_translated_Xlib_Graphics_Driver_::rectf(), rectfi(), rectfs(), recti(), rects(), resizeform(), Fl_PostScript_Graphics_Driver::rtl_draw(), Fl_translated_Xlib_Graphics_Driver_::rtl_draw(), Fl_Xlib_Graphics_Driver::rtl_draw(), Fl_Graphics_Driver::scale(), Fl::screen_work_area(), Fl::screen_xywh(), shade_rect(), shade_rect_top_bottom(), shade_rect_top_bottom_down(), shade_rect_top_bottom_up(), shade_round(), Fl_PostScript_Graphics_Driver::start_postscript(), thin_down_box(), thin_up_box(), tohs(), Fl_Graphics_Driver::transform_dx(), Fl_Graphics_Driver::transform_dy(), Fl_Graphics_Driver::transform_x(), Fl_Graphics_Driver::transform_y(), Fl_PostScript_Graphics_Driver::transformed_draw(), Fl_PostScript_Graphics_Driver::transformed_draw_extra(), Fl_PostScript_Graphics_Driver::transformed_vertex(), Fl_Graphics_Driver::transformed_vertex0(), Fl_Xlib_Surface_::translate(), Fl_Printer::translate(), Fl_PostScript_File_Device::translate(), Fl_Graphics_Driver::translate(), traverse_to_gl_subwindows(), up_box(), up_frame(), up_round(), Fl_PostScript_Graphics_Driver::vertex(), Fl_Graphics_Driver::vertex(), Fl_Box_Type::widget(), Fl_Button_Type::widget(), Fl_Return_Button_Type::widget(), Fl_Repeat_Button_Type::widget(), Fl_Light_Button_Type::widget(), Fl_Check_Button_Type::widget(), Fl_Round_Button_Type::widget(), Fl_Browser_Type::widget(), Fl_Check_Browser_Type::widget(), Fl_Tree_Type::widget(), Fl_File_Browser_Type::widget(), Fl_Counter_Type::widget(), Fl_Spinner_Type::widget(), Fl_Input_Type::widget(), Fl_File_Input_Type::widget(), Fl_Text_Display_Type::widget(), Fl_Text_Editor_Type::widget(), Fl_Clock_Type::widget(), Fl_Help_View_Type::widget(), Fl_Progress_Type::widget(), Fl_Adjuster_Type::widget(), Fl_Dial_Type::widget(), Fl_Roller_Type::widget(), Fl_Slider_Type::widget(), Fl_Scrollbar_Type::widget(), Fl_Output_Type::widget(), Fl_Value_Input_Type::widget(), Fl_Value_Output_Type::widget(), Fl_Value_Slider_Type::widget(), write_cb(), write_code(), Fl_Widget_Type::write_properties(), write_strings_cb(), Fl_Widget_Type::write_widget_code(), XRectangleRegion(), XUtf8DrawImageString(), XUtf8DrawRtlString(), XUtf8DrawString(), XUtf8TextWidth(), XUtf8UcsWidth(), Fl_PostScript_Graphics_Driver::xyline(), Fl_Graphics_Driver::xyline(), Fl_translated_Xlib_Graphics_Driver_::xyline(), Fl_PostScript_Graphics_Driver::yxline(), Fl_Graphics_Driver::yxline(), and Fl_translated_Xlib_Graphics_Driver_::yxline().

◆ xim_ic

XIC xim_ic = NULL

Definition at line 69 of file test.c.

Referenced by main().

◆ xim_im

XIM xim_im = NULL

Definition at line 68 of file test.c.

Referenced by fl_handle(), and main().

◆ xim_styles

XIMStyles* xim_styles = NULL
static

Definition at line 70 of file test.c.

Referenced by fl_handle(), fl_init_xim(), fl_new_ic(), and main().

◆ y

int y = 40

Definition at line 74 of file test.c.

Referenced by _fl_hypot(), Fl_File_Icon::add_vertex(), align_cb(), align_position_cb(), align_text_image_cb(), alpha_blend(), Fl_PostScript_Graphics_Driver::arc(), Fl_Graphics_Driver::arc(), Fl_translated_Xlib_Graphics_Driver_::arc(), capture_gl_rectangle(), Fl_PostScript_Graphics_Driver::circle(), Fl_Graphics_Driver::circle(), Fl_Tabs_Type::click_test(), Fl_PostScript_Graphics_Driver::clip_box(), Fl_Graphics_Driver::clip_box(), Fl_translated_Xlib_Graphics_Driver_::clip_box(), Fl_RGB_Image::color_average(), Fl_translated_Xlib_Graphics_Driver_::copy_offscreen(), Fl_Graphics_Driver::copy_offscreen(), create_bmp(), Fl_PostScript_Graphics_Driver::curve(), Fl_Graphics_Driver::curve(), dbgCGContextMoveToPoint(), Fl_RGB_Image::desaturate(), down_box(), down_frame(), down_round(), Fl_Input_Choice::InputMenuButton::draw(), Fl_File_Icon::draw(), draw(), Fl_PostScript_Graphics_Driver::draw(), Fl_translated_Xlib_Graphics_Driver_::draw(), Fl_Menu_Item::draw(), Fl_Xlib_Graphics_Driver::draw(), draw_barchart(), Fl_Widget::draw_focus(), draw_h_arrow(), draw_height(), draw_horbarchart(), Fl_PostScript_Graphics_Driver::draw_image(), Fl_Xlib_Graphics_Driver::draw_image(), draw_image_cb(), Fl_PostScript_Graphics_Driver::draw_image_mono(), Fl_Xlib_Graphics_Driver::draw_image_mono(), draw_linechart(), Fl_Window_Type::draw_overlay(), draw_piechart(), draw_width(), Fl_Graphics_Driver::end_complex_polygon(), Fl_Graphics_Driver::end_line(), Fl_Graphics_Driver::end_loop(), Fl_Graphics_Driver::end_points(), Fl_Graphics_Driver::end_polygon(), Fl_Tooltip::enter_area(), fix_group_size(), Fl_Graphics_Driver::fixloop(), fl_add_bitmapbutton(), fl_add_button(), fl_add_frame(), fl_add_free(), fl_add_labelframe(), fl_add_pixmapbutton(), fl_arc(), fl_arc_i(), Fl_BMP_Image::Fl_BMP_Image(), fl_circle(), fl_clip_box(), fl_copy_offscreen(), fl_create_alphamask(), fl_diamond_down_box(), fl_diamond_up_box(), fl_down_box(), fl_down_frame(), fl_draw(), fl_draw_box(), fl_draw_pixmap(), fl_draw_symbol(), fl_drawUCS4(), fl_drw_box(), fl_drw_frame(), fl_drw_text(), fl_drw_text_beside(), fl_embossed_box(), fl_embossed_frame(), fl_engraved_box(), fl_engraved_frame(), fl_flat_box(), fl_frame(), fl_frame2(), fl_get_input_cursorpos(), fl_get_object_geometry(), fl_get_object_position(), fl_line(), fl_loop(), fl_mac_draw(), fl_mult_matrix(), fl_not_clipped(), fl_oval_box(), fl_oval_flat_box(), fl_oval_frame(), fl_oval_shadow_box(), fl_overlay_rect(), fl_pie(), Fl_PNM_Image::Fl_PNM_Image(), fl_point(), fl_polygon(), fl_push_clip(), fl_read_image(), fl_rect(), fl_rectbound(), fl_rectf(), fl_return_arrow(), fl_rflat_box(), fl_round_down_box(), fl_round_up_box(), fl_rounded_box(), fl_rounded_frame(), fl_rshadow_box(), fl_rtl_draw(), fl_scale(), fl_scale_form(), fl_set_form_geometry(), fl_set_form_hotspot(), fl_set_form_position(), fl_set_object_geometry(), fl_set_object_position(), fl_set_status(), fl_shadow_box(), fl_shadow_frame(), fl_thin_down_box(), fl_thin_down_frame(), fl_thin_up_box(), fl_thin_up_frame(), fl_transform_dx(), fl_transform_dy(), fl_transform_x(), fl_transform_y(), fl_translate(), fl_up_box(), fl_up_frame(), fl_vertex(), fl_vertex_r(), fl_xyline(), fl_yxline(), frame_rect(), frame_rect_down(), frame_rect_up(), frame_round(), Fl_Graphics_Driver::gap(), gl_rectf(), glutPositionWindow(), glutSolidSierpinskiSponge(), glutWireSierpinskiSponge(), glutWireSphere(), gtk_down_box(), gtk_down_frame(), gtk_round_down_box(), gtk_round_up_box(), gtk_thin_down_box(), gtk_thin_down_frame(), gtk_thin_up_box(), gtk_thin_up_frame(), gtk_up_box(), gtk_up_frame(), h2v1_merged_upsample(), h2v2_merged_upsample(), icons_to_property(), Fl_Widget_Type::ideal_spacing(), Fl_Tabs_Type::ideal_spacing(), image_to_icon(), innards(), Fl_File_Icon::labeltype(), Fl_Graphics_Driver::line(), Fl_translated_Xlib_Graphics_Driver_::line(), Fl_File_Icon::load_fti(), Fl_File_Icon::load_image(), Fl_Graphics_Driver::loop(), main(), make_widget_browser(), Fl_Window_Type::moveallchildren(), Fl_Graphics_Driver::mult_matrix(), multi_labeltype(), narrow_thin_box(), Fl_PostScript_Graphics_Driver::not_clipped(), Fl_Graphics_Driver::not_clipped(), Fl_translated_Xlib_Graphics_Driver_::not_clipped(), Fl_Paged_Device::origin(), Fl_Printer::origin(), Fl_PostScript_File_Device::origin(), Fl_PostScript_Graphics_Driver::pie(), Fl_Graphics_Driver::pie(), Fl_translated_Xlib_Graphics_Driver_::pie(), png_create_colormap_entry(), png_image_read_and_map(), png_image_read_background(), png_image_read_colormapped(), png_image_read_composite(), png_image_read_direct(), png_image_write_main(), png_write_image_16bit(), png_write_image_8bit(), Fl_PostScript_Graphics_Driver::point(), Fl_Graphics_Driver::point(), Fl_translated_Xlib_Graphics_Driver_::point(), Fl_Graphics_Driver::polygon(), Fl_Gl_Device_Plugin::print(), Fl_Paged_Device::print_window_part(), Fl_Printer::print_window_part(), Fl_PostScript_Graphics_Driver::push_clip(), Fl_Graphics_Driver::push_clip(), Fl_translated_Xlib_Graphics_Driver_::push_clip(), rbox(), Fl_Widget_Type::read_fdesign(), Fl_Widget_Type::read_property(), read_win_rectangle(), rect(), Fl_PostScript_Graphics_Driver::rect(), Fl_Graphics_Driver::rect(), Fl_translated_Xlib_Graphics_Driver_::rect(), rectangle(), Fl_Gl_Device_Plugin::rectangle_capture(), rectf(), Fl_PostScript_Graphics_Driver::rectf(), Fl_Graphics_Driver::rectf(), Fl_translated_Xlib_Graphics_Driver_::rectf(), rectfi(), rectfs(), recti(), rects(), Fl_PostScript_Graphics_Driver::rtl_draw(), Fl_translated_Xlib_Graphics_Driver_::rtl_draw(), Fl_Xlib_Graphics_Driver::rtl_draw(), Fl_Graphics_Driver::scale(), Fl::screen_work_area(), Fl::screen_xywh(), shade_rect(), shade_rect_top_bottom(), shade_rect_top_bottom_down(), shade_rect_top_bottom_up(), shade_round(), thin_down_box(), thin_up_box(), tohs(), Fl_Graphics_Driver::transform_dx(), Fl_Graphics_Driver::transform_dy(), Fl_Graphics_Driver::transform_x(), Fl_Graphics_Driver::transform_y(), Fl_PostScript_Graphics_Driver::transformed_draw(), Fl_PostScript_Graphics_Driver::transformed_draw_extra(), Fl_PostScript_Graphics_Driver::transformed_vertex(), Fl_Graphics_Driver::transformed_vertex0(), Fl_Xlib_Surface_::translate(), Fl_Printer::translate(), Fl_PostScript_File_Device::translate(), Fl_Graphics_Driver::translate(), traverse_to_gl_subwindows(), up_box(), up_frame(), up_round(), Fl_PostScript_Graphics_Driver::vertex(), Fl_Graphics_Driver::vertex(), Fl_Box_Type::widget(), Fl_Button_Type::widget(), Fl_Return_Button_Type::widget(), Fl_Repeat_Button_Type::widget(), Fl_Light_Button_Type::widget(), Fl_Check_Button_Type::widget(), Fl_Round_Button_Type::widget(), Fl_Browser_Type::widget(), Fl_Check_Browser_Type::widget(), Fl_Tree_Type::widget(), Fl_File_Browser_Type::widget(), Fl_Counter_Type::widget(), Fl_Spinner_Type::widget(), Fl_Input_Type::widget(), Fl_File_Input_Type::widget(), Fl_Text_Display_Type::widget(), Fl_Text_Editor_Type::widget(), Fl_Clock_Type::widget(), Fl_Help_View_Type::widget(), Fl_Progress_Type::widget(), Fl_Adjuster_Type::widget(), Fl_Dial_Type::widget(), Fl_Roller_Type::widget(), Fl_Slider_Type::widget(), Fl_Scrollbar_Type::widget(), Fl_Output_Type::widget(), Fl_Value_Input_Type::widget(), Fl_Value_Output_Type::widget(), Fl_Value_Slider_Type::widget(), write_code(), Fl_Widget_Type::write_properties(), Fl_Widget_Type::write_widget_code(), XRectangleRegion(), XUtf8DrawImageString(), XUtf8DrawRtlString(), XUtf8DrawString(), Fl_PostScript_Graphics_Driver::xyline(), Fl_Graphics_Driver::xyline(), Fl_translated_Xlib_Graphics_Driver_::xyline(), ycc_rgb_convert(), ycck_cmyk_convert(), Fl_PostScript_Graphics_Driver::yxline(), Fl_Graphics_Driver::yxline(), and Fl_translated_Xlib_Graphics_Driver_::yxline().