Jump to content

Text Interface/2 Functions: Difference between revisions

From EDM2
Line 12: Line 12:
* form_set_default_colors
* form_set_default_colors


==WINDOW CLASS FUNCTIONS==
==Window Class Functions==
            center ............................................
* center
            clr_eoc ...........................................
* clr_eoc
            clr_eol ...........................................
* clr_eol
            clr_region ........................................
* clr_region
            clr_scr ...........................................
* clr_scr
            cntr_printf .......................................
* cntr_printf
            col_cntr_printf ...................................
* col_cntr_printf
            create ............................................
* create
            cursor_off ........................................
* cursor_off
            cursor_on .........................................
* cursor_on
            def_create ........................................
* def_create
            destroy ...........................................
* destroy
            explode ...........................................
* explode
            fill ..............................................
* fill
             fill_col ..........................................
             fill_col
             fill_row ..........................................
             fill_row ..........................................
             frame_change ......................................
             frame_change ......................................
Line 98: Line 98:
             where_y ...........................................
             where_y ...........................................
             width_printf ......................................
             width_printf ......................................
            wprintf ...........................................
* wprintf
            wputch ............................................
* wputch
            wputctrlch ........................................
* wputctrlch
            wputs .............................................
* wputs
            write_text_to_file ................................
* write_text_to_file
 
==WINDOW CLASS INPUT FUNCTIONS==
==WINDOW CLASS INPUT FUNCTIONS==
             input_4d_addr .....................................
             input_4d_addr .....................................

Revision as of 17:04, 19 August 2016

This is the Text Interface/2 API:

Mandatory Functions and Header Files

  • win_init
  • win_deinit

Other Non-Class Functions

  • win_redraw_all
  • win_set_default_colors
  • win_text_mode
  • menu_set_default_colors
  • form_set_default_colors

Window Class Functions

  • center
  • clr_eoc
  • clr_eol
  • clr_region
  • clr_scr
  • cntr_printf
  • col_cntr_printf
  • create
  • cursor_off
  • cursor_on
  • def_create
  • destroy
  • explode
  • fill
           fill_col
           fill_row ..........................................
           frame_change ......................................
           frame_textbackground ..............................
           frame_textcolor ...................................
           frame_x_relative ..................................
           frame_y_relative ..................................
           get_attr ..........................................
           goto_xy ...........................................
           hide ..............................................
           hscroll_create ....................................
           hscroll_destroy ...................................
           hscroll_left ......................................
           hscroll_mouse_move ................................
           hscroll_right .....................................
           hscroll_update_cur ................................
           hscroll_update_cur_and_max ........................
           implode ...........................................
           make_normal .......................................
           make_seethru ......................................
           move ..............................................
           nd_clr_region .....................................
           nd_printf .........................................
           nd_putch ..........................................
           nd_putctrlch ......................................
           nd_puts ...........................................
           nd_width_printf ...................................
           nd_width_puts .....................................
           popup .............................................
           redisplay .........................................
           redisplay_text ....................................
           resize ............................................
           scroll_down .......................................
           scroll_left .......................................
           scroll_off ........................................
           scroll_on .........................................
           scroll_part_down ..................................
           scroll_part_left ..................................
           scroll_part_right .................................
           scroll_part_up ....................................
           scroll_right ......................................
           scroll_up .........................................
           set_attr ..........................................
           set_pos ...........................................
           slide .............................................
           read_attr .........................................
           read_char .........................................
           read_char_and_attr ................................
           rj_printf .........................................
           text_background ...................................
           text_color ........................................
           text_height .......................................
           text_width ........................................
           text_x_relative ...................................
           text_y_relative ...................................
           title_change ......................................
           title_textbackground ..............................
           title_textcolor ...................................
           unhide ............................................
           vscroll_create ....................................
           vscroll_destroy ...................................
           vscroll_down ......................................
           vscroll_mouse_move ................................
           vscroll_up ........................................
           vscroll_update_cur ................................
           vscroll_update_cur_and_max ........................
           where_win_x .......................................
           where_win_y .......................................
           where_x ...........................................
           where_y ...........................................
           width_printf ......................................
  • wprintf
  • wputch
  • wputctrlch
  • wputs
  • write_text_to_file

WINDOW CLASS INPUT FUNCTIONS

           input_4d_addr .....................................
           input_byte ........................................
           input_frmt_string .................................
           input_hhmmss ......................................
           input_init ........................................
           input_string ......................................
           input_toggle_uchar_bit_yes_no .....................
           input_toggle_uchar_yes_no .........................
           input_toggle_ulong_bit_yes_no .....................
           input_toggle_ushort_bit_yes_no ....................
           input_ulong .......................................
           input_upcase_string ...............................
           input_ushort ......................................

MENU CLASS FUNCTIONS

           add_menucmd_func ..................................
           add_menucmd_seperator .............................
           add_menucmd_submenu ...............................
           add_submenu .......................................
           create ............................................
           destroy ...........................................
           load ..............................................
           menucmd_active ....................................
           menucmd_inactive ..................................
           submenu_active ....................................
           submenu_inactive ..................................

FORM CLASS FUNCTIONS

           add_4d_addr .......................................
           add_button ........................................
           add_byte ..........................................
           add_char ..........................................
           add_checkbox ......................................
           add_checkbox_entry ................................
           add_control_string ................................
           add_format_string .................................
           add_hhmmss ........................................
           add_int ...........................................
           add_listbox .......................................
           add_listbox_entry .................................
           add_long ..........................................
           add_mmddyyyy ......................................
           add_radiobutton ...................................
           add_radiobutton_entry .............................
           add_string ........................................
           add_toggle_uchar ..................................
           add_toggle_uchar_bit ..............................
           add_toggle_ushort_bit .............................
           add_ulong .........................................
           add_upcase_string .................................
           add_user_def_char .................................
           add_ushort ........................................
           button_colors .....................................
           checkbox_colors ...................................
           create ............................................
           destroy ...........................................
           display ...........................................
           field_colors ......................................
           get_cur_field .....................................
           get_listbox_entry .................................
           load ..............................................
           number_colors .....................................
           radiobutton_colors ................................
           radiobutton_status ................................
           set...var .........................................
           string_colors .....................................

MOUSE FUNCTIONS

  • mouse_deinit
  • mouse_init
  • mouse_off
  • mouse_on
  • mouse_read_event

TIME SLICE FUNCTIONS

  • init_timeslice
  • timeslice