Jump to content

Text Interface/2 Functions: Difference between revisions

From EDM2
Ak120 (talk | contribs)
m dots are gay
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 27: Line 27:
*explode
*explode
*fill
*fill
*slide  
*slide
*read_attr  
*read_attr
*read_char  
*read_char
*read_char_and_attr  
*read_char_and_attr
*rj_printf  
*rj_printf
*text_background  
*text_background
*text_color  
*text_color
*text_height  
*text_height
*text_width  
*text_width
*text_x_relative  
*text_x_relative
*text_y_relative  
*text_y_relative
*title_change  
*title_change
*title_textbackground  
*title_textbackground
*title_textcolor  
*title_textcolor
*unhide  
*unhide
*vscroll_create  
*vscroll_create
*vscroll_destroy  
*vscroll_destroy
*vscroll_down  
*vscroll_down
*vscroll_mouse_move  
*vscroll_mouse_move
*vscroll_up  
*vscroll_up
*vscroll_update_cur  
*vscroll_update_cur
*vscroll_update_cur_and_max  
*vscroll_update_cur_and_max
*where_win_x  
*where_win_x
*where_win_y  
*where_win_y
*where_x
*where_x
*where_y
*where_y
Line 61: Line 61:


==Window Class Input Functions==
==Window Class Input Functions==
*input_4d_addr  
*input_4d_addr
*input_byte  
*input_byte
*input_frmt_string  
*input_frmt_string
*input_hhmmss  
*input_hhmmss
*input_init  
*input_init
*input_string  
*input_string
*input_toggle_uchar_bit_yes_no  
*input_toggle_uchar_bit_yes_no
*input_toggle_uchar_yes_no  
*input_toggle_uchar_yes_no
*input_toggle_ulong_bit_yes_no  
*input_toggle_ulong_bit_yes_no
*input_toggle_ushort_bit_yes_no  
*input_toggle_ushort_bit_yes_no
*input_ulong  
*input_ulong
*input_upcase_string
*input_upcase_string
*input_ushort
*input_ushort
Line 89: Line 89:


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



Latest revision as of 07:12, 7 January 2024

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
  • 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
  • setvar
  • string_colors

Mouse FUNCTIONS

  • mouse_deinit
  • mouse_init
  • mouse_off
  • mouse_on
  • mouse_read_event

Time Slice Functions

  • init_timeslice
  • timeslice