Tgif Home
----
About Tgif
Current Release & Download
FAQ
Copyright Info
A Screendump of Tgif
Release History
Tools That Tgif Uses
Tools That Work with Tgif
Author of Tgif
Miscellaneous Info
----
 
Return to Tgif's Home Page
William Chia-Wei Cheng
(bill.cheng@usc.edu)

Tgif - Version 4.1 Patchlevel 5 Release Notes

Version 4.1 Patchlevel 5 Added Features/Bug Fixes
  1. Fix bugs with breaking multiple text objects. Thanks to Kouya SHIMURA <kouya@flab.fujitsu.co.jp> for the patch.

  2. Add NLS support for menus (can be turned on by the _ENABLE_NLS compiler define). A new X default, Tgif.MenuFontSet is added to have menus in a native language. A new X default, Tgif.LocaleDir, is added to override the compile time locale directory specified in Tgif.tmpl. Japanese menu support is provided in the po/ja subdirectory. Thanks to Jun Nishii <jun@flatout.org> for the patch. Please see po/README for more information about the tgifintl release.

  3. Fix bugs with overthespot for the xim input method. Thanks to Shoji Matsumoto <shom@i.h.kyoto-u.ac.jp> for the patch.

  4. Open/Save/Import gzipped obj files. Add Tgif.GUnZipCmd and Tgif.GZipCmd X defaults so that the user can override the default "gunzip -c" and "gzip -c" commands.

  5. Add the following internal commands to make it a little easier for third party code to drive tgif. Please see the updated man pages for the details of these commands. "Testdrive.c" is updated to show how some of these internal commands can be used to create and manipulate objects from the test driver when Animate() is selected from the Return Submenu of the File Menu.
        select_top_obj()
        delete_selected_obj()
        set_selected_obj_rcb_radius(<rcb_radius>)
        set_selected_text_vspace(<vspace>)
        set_selected_text_just(<justification>)
        set_selected_text_font(<ps_font_name>)
        set_selected_text_size(<size>)
        set_selected_text_underline(<underline>)
        copy_string_to_cut_buffer(<string>)
        delete_attr_from_selected_obj(<attr_name>)
        select_from_ini_section(<attr_name>,<title>,<section>,<ini_path>)
        create_text_obj(<abs_x>,<abs_baseline_y>,<string>)
        create_box_obj(<abs_ltx>,<abs_lty>,<abs_rbx>,<abs_rby>)
        create_corner_oval_obj(<abs_ltx>,<abs_lty>,<abs_rbx>,<abs_rby>)
        create_center_oval_obj(<abs_x>,<abs_y>,<radius>)
        create_edge_oval_obj(<abs_ltx>,<abs_lty>,<abs_rbx>,<abs_rby>)
        create_rcbox_obj(<abs_ltx>,<abs_lty>,<abs_rbx>,<abs_rby>)
        create_arc_obj(<abs_x>,<abs_y>,<radius>,<dir>,<angle1>,<angle2>)
        create_first_vertex(<abs_x>,<abs_y>)
        create_next_vertex(<abs_x>,<abs_y>)
        create_poly_obj()
        create_polygon_obj()
        start_create_group_obj()
        create_group_obj()