diff options
Diffstat (limited to 'fake_packages/Curses/UI.pm')
-rw-r--r-- | fake_packages/Curses/UI.pm | 551 |
1 files changed, 498 insertions, 53 deletions
diff --git a/fake_packages/Curses/UI.pm b/fake_packages/Curses/UI.pm index d9530a3..2a62470 100644 --- a/fake_packages/Curses/UI.pm +++ b/fake_packages/Curses/UI.pm @@ -1,77 +1,522 @@ -package Curses::UI; +package Curses::UI; our @ISA = qw(); +sub add() { my ($_o_args) = @_ } +sub add_callback() {} +sub calendardialog() {} +sub clear_on_exit(;$) {} +sub color() {} +sub compat(;$) {} +sub cursor_mode(;$) {} +sub debug(;$) {} +sub delete_callback() {} +sub delete_timer($;) { my ($_self, $_o_id) = @_ } +sub dialog() {} +sub dirbrowser() {} +sub disable_timer($;) { my ($_self, $_o_id) = @_ } +sub do_one_event(;$) {} +sub do_timer() {} +sub draw() {} +sub enable_timer($;) { my ($_self, $_o_id) = @_ } +sub error() {} +sub fatalerror($$;$) {} +sub feedkey() {} +sub filebrowser() {} +sub flushkeys() {} +sub focus_path() {} +sub handle_gpm_mouse_event() {} +sub handle_mouse_event() {} +sub keydelay() {} +sub lang(;$) {} +sub layout { my ($_o_self) = @_ } +sub layout_new() {} +sub leave_curses() {} +sub loadfilebrowser() {} +sub mainloop { my ($_o_self) = @_ } +sub mainloopExit{() {} +sub new { my ($_class, $_o_userargs) = @_ } +sub noprogress() {} +sub nostatus() {} +sub object_at_xy($$;$) {} +sub overlapping(;$) {} +sub process_args() {} +sub progress() { my ($_o_args) = @_ } +sub question() {} +sub reset_curses() {} +sub savefilebrowser() {} +sub schedule_event { my ($_self, $_o_code) = @_ } +sub set_color() {} +sub set_read_timeout() {} +sub set_timer($$;) {} +sub setprogress($;$) {} +sub status($;) {} +sub tempdialog() { my ($_o_args) = @_ } +sub usemodule($;) {} +sub userdata() {} -sub new { my ($_class, %_userargs) = @_ } -sub leave_curses { my ($_this) = @_ } -sub mainloop { my ($_this) = @_ } -sub modalfocus { my ($_this) = @_ } -sub nostatus { my ($_this) = @_ } -sub reset_curses { my ($_this) = @_ } - - -package Curses::UI::Widget; - +package Curses::UI::Buttonbox; +our @ISA = qw(); +sub compute_buttonheight($;) {} +sub compute_buttonwidth($;) {} +sub draw(;$) {} +sub focus_shift() {} +sub get() {} +sub get_selected_button() {} +sub layout() {} +sub mouse_button1($$$$;) {} +sub new { my ($_o_userargs) = @_ } +sub next_button() {} +sub press_button() {} +sub previous_button() {} +sub process_buttondefs() {} +sub shortcut() {} + +package Curses::UI::Calendar; our @ISA = qw(); +sub build_month() {} +sub date_delta_days($;) {} +sub date_nextday() {} +sub date_nextmonth() {} +sub date_nextweek() {} +sub date_nextyear() {} +sub date_prevday() {} +sub date_prevmonth() {} +sub date_prevweek() {} +sub date_prevyear() {} +sub date_select() {} +sub date_selected() {} +sub date_today() {} +sub day($;) {} +sub day_of_week($$$;) {} +sub days_in_month($$;) {} +sub draw(;$) {} +sub get() {} +sub is_julian { my ($_year, $_o_month) = @_ } +sub is_leap_year($;) {} +sub layout() {} +sub make_sane_date() {} +sub month($;) {} +sub mouse_button($$$$;) {} +sub new { my ($_o_userargs) = @_ } +sub onChange(;$) {} +sub setdate($;$) {} +sub year($;) {} + +package Curses::UI::Checkbox; +our @ISA = qw(); +sub check() {} +sub draw(;$) {} +sub event_onblur() {} +sub get() {} +sub layout() {} +sub mouse_button1($$$$;) {} +sub new { my ($_o_userargs) = @_ } +sub onChange(;$) {} +sub toggle() {} +sub uncheck() {} + +package Curses::UI::Color; +our @ISA = qw(); +sub colors() {} +sub define_color { my ($_r, $_g, $_o_b) = @_ } +sub get_color_pair() {} +sub get_colors() {} +sub new { my ($_o_userargs) = @_ } -sub draw { my ($_this, $_b_no_doupdate) = @_ } -sub focus { my ($_this) = @_ } -sub focusable { my ($_this, $_b_focusable) = @_ } -sub intellidraw { my ($_this) = @_ } -sub set_binding { my ($_this, $_routine, $_key, @_other_keys) = @_ } +package Curses::UI::Common; +our @ISA = qw(); +sub CUI_ESCAPE() {} +sub CUI_SPACE() {} +sub CUI_TAB() {} +sub NO_WORDWRAP() {} +sub WORDWRAP() {} +sub accessor($;$) {} +sub char_read(;$) {} +sub get_key(;$) {} +sub key_to_ascii($;) {} +sub keys_to_lowercase($;) {} +sub parent() {} +sub root() {} +sub scrlength($;) {} +sub split_to_lines($;) {} +sub text_chop { my ($_text, $_o_max_length) = @_ } +sub text_dimension() {} +sub text_draw($$;) { my ($_y, $_x, $_o_text) = @_ } +sub text_length { my ($_o_text) = @_ } +sub text_tokenize { my ($_o_text) = @_ } +sub text_wrap($$;) { my ($_line, $_maxlen, $_o_wordwrap) = @_ } +package Curses::UI::Container; +our @ISA = qw(); +sub add($@) { my ($_o_args) = @_ } +sub base_id2idx($;) {} +sub delete(;$) {} +sub delete_subwindows() {} +sub draw(;$) {} +sub draworder_id2idx($;) {} +sub event_keypress($;) {} +sub event_onblur() {} +sub event_onfocus() {} +sub focus(;$$$) {} +sub focus_next() {} +sub focus_prev() {} +sub focusorder_id2idx($;) {} +sub getfocusobj() {} +sub getobj($;) {} +sub hasa($;) {} +sub layout() {} +sub layout_contained_objects() {} +sub new() { my ($_o_userargs) = @_ } +sub set_draworder(@) { my ($_o_order) = @_ } +sub set_focusorder(@) { my ($_o_order) = @_ } +sub window_is_ontop($;) {} + +package Curses::UI::ContainerWidget; +our @ISA = qw(); +sub new() {} -package Curses::UI::Listbox; +package Curses::UI::Dialog::Basic; +our @ISA = qw(); +sub get() {} +sub layout() {} +sub new { my ($_o_userargs) = @_ } -our @ISA = qw(Curses::UI::Widget); +package Curses::UI::Dialog::Calendar; +our @ISA = qw(); +sub get() {} +sub layout() {} +sub new { my ($_o_userargs) = @_ } +sub press_button_callback() {} -sub id { my ($_this) = @_ } -sub get { my ($_this) = @_ } -sub get_active_id { my ($_this) = @_ } -sub set_active_id { my ($_this, $_id) = @_ } -sub set_selection { my ($_this, $_id) = @_ } +package Curses::UI::Dialog::Dirbrowser; +our @ISA = qw(); +sub dirselect() {} +sub draw(;$) {} +sub get() {} +sub get_dir() {} +sub goto_homedirectory() {} +sub layout() {} +sub maskbox_onchange() {} +sub new { my ($_o_userargs) = @_ } +sub press_button_callback() {} +sub select_homedirectory() {} + +package Curses::UI::Dialog::Error; +our @ISA = qw(); +sub draw(;$) {} +sub new { my ($_o_userargs) = @_ } +package Curses::UI::Dialog::Filebrowser; +our @ISA = qw(); +sub dirselect() {} +sub draw(;$) {} +sub fileselect() {} +sub get() {} +sub get_dir() {} +sub goto_homedirectory() {} +sub layout() {} +sub maskbox_onchange() {} +sub new { my ($_o_userargs) = @_ } +sub press_button_callback() {} +sub select_homedirectory() {} -package Curses::UI::TextEditor; +package Curses::UI::Dialog::Progress; +our @ISA = qw(); +sub focus() {} +sub layout() {} +sub message() {} +sub new { my ($_o_userargs) = @_ } +sub pos($;) {} -our @ISA = qw(Curses::UI::Widget); +package Curses::UI::Dialog::Question; +our @ISA = qw(); +sub get() {} +sub layout() {} +sub new { my ($_o_userargs) = @_ } -sub get { my ($_this) = @_ } -sub text { my ($_this, $_o_text) = @_ } +package Curses::UI::Dialog::Status; +our @ISA = qw(); +sub focus() {} +sub layout() {} +sub message($;) {} +sub new { my ($_o_userargs) = @_ } +package Curses::UI::Label; +our @ISA = qw(); +sub blink() {} +sub bold() {} +sub compute_xpos() {} +sub dim() {} +sub draw(;$) {} +sub get() {} +sub layout() {} +sub new { my ($_o_userargs) = @_ } +sub reverse() {} +sub set_attribute($$;) {} +sub text($;$) {} +sub textalignment($;) {} +sub underline() {} + +package Curses::UI::Language; +our @ISA = qw(); +sub get($;) {} +sub getarray($;) {} +sub loadlanguage($;) {} +sub new() {} +sub store($$;) {} -package Curses::UI::Buttonbox; +package Curses::UI::Listbox; +our @ISA = qw(); +sub add_labels(;$) {} +sub clear_selection() {} +sub draw(;$) {} +sub get() {} +sub get_active_id($;) {} +sub get_active_value($;) {} +sub get_selectedlabel() {} +sub getlabel($;) {} +sub getline_at_ypos($;) {} +sub id() {} +sub insert_at() {} +sub labels(;$) {} +sub layout() {} +sub layout_content() {} +sub maxlabelwidth(@) { my ($_o_args) = @_ } +sub mouse_button1($$$;) {} +sub new { my ($_o_userargs) = @_ } +sub number_of_lines() {} +sub onChange(;$) {} +sub onSelectionChange(;$) {} +sub option_check() {} +sub option_first() {} +sub option_last() {} +sub option_next() {} +sub option_nextpage() {} +sub option_prev() {} +sub option_prevpage() {} +sub option_select() {} +sub option_uncheck() {} +sub set_color_bg() {} +sub set_color_fg() {} +sub set_selection() {} +sub values(;$) {} + +package Curses::UI::MenuListbox; +our @ISA = qw(); +sub active_item() {} +sub cursor_left() {} +sub cursor_right() {} +sub escape_key() {} +sub mouse_button1() {} +sub new() { my ($_o_userargs) = @_ } +sub option_select() {} + +package Curses::UI::Menubar; +our @ISA = qw(); +sub draw() {} +sub escape() {} +sub event_onblur() {} +sub event_onfocus() {} +sub layout() {} +sub loose_focus() {} +sub menu_left() {} +sub menu_right() {} +sub menuoption_selected() {} +sub mouse_button1() {} +sub new { my ($_o_userargs) = @_ } +sub pulldown() {} + +package Curses::UI::Notebook; +our @ISA = qw(); +sub activate_page($$) {} +sub active_page($) {} +sub add_page($$;) { my ($_o_userargs) = @_ } +sub debug_msg(;$) {} +sub delete_page($$) {} +sub draw($;$) {} +sub first_page($) {} +sub intellidraw(;$) {} +sub last_page($) {} +sub layout($) {} +sub mouse_button1($$$$) {} +sub new($;) { my ($_o_userargs) = @_ } +sub next_page($) {} +sub prev_page($) {} + +package Curses::UI::PasswordEntry; +our @ISA = qw(); +sub new { my ($_o_userargs) = @_ } -our @ISA = qw(Curses::UI::Widget); +package Curses::UI::Popupmenu; +our @ISA = qw(); +sub draw(;$) {} +sub get() {} +sub layout() {} +sub mouse_button1($$$;) {} +sub new { my ($_o_userargs) = @_ } +sub onChange(;$) {} +sub open_popup() {} +sub select_next() {} +sub select_prev() {} + +package Curses::UI::PopupmenuListbox; +our @ISA = qw(); +sub new() {} +sub option_select() {} -sub get { my ($_this) = @_ } -sub set_label { my ($_this, $_id, $_text) = @_ } +package Curses::UI::Progressbar; +our @ISA = qw(); +sub draw(;$) {} +sub get() {} +sub new { my ($_o_userargs) = @_ } +sub pos(;$) {} +package Curses::UI::Radiobuttonbox; +our @ISA = qw(); +sub new { my ($_o_userargs) = @_ } -package Curses::UI::Container; +package Curses::UI::SearchEntry; +our @ISA = qw(); +sub entry_loose_focus() {} +sub event_keypress($;) {} +sub get() {} +sub new() { my ($_o_userargs) = @_ } +sub pos(;$) {} +sub prompt(;$) {} +sub text(;$) {} + +package Curses::UI::Searchable; +our @ISA = qw(); +sub change_canvasheight($;) {} +sub search() {} +sub search_backward() {} +sub search_forward() {} +sub search_get($$;) {} +sub search_next($$;) {} -our @ISA = qw(Curses::UI::Widget); +package Curses::UI::TextEditor; +our @ISA = qw(); +sub add_string($;) {} +sub add_to_pastebuffer($;) {} +sub backspace() {} +sub clear_line() {} +sub clear_pastebuffer() {} +sub cursor_down($;) {} +sub cursor_left() {} +sub cursor_pagedown() {} +sub cursor_pageup() {} +sub cursor_right() {} +sub cursor_to_curxpos() {} +sub cursor_to_end() {} +sub cursor_to_home() {} +sub cursor_to_linestart() {} +sub cursor_to_scrlineend() {} +sub cursor_to_scrlinestart() {} +sub cursor_up(;$) {} +sub delete_character() {} +sub delete_line() {} +sub delete_till_eol() {} +sub didsetundo() {} +sub do_new_pastebuffer(;$) {} +sub draw(;$) {} +sub draw_text(;$) {} +sub event_keypress() {} +sub event_onblur() {} +sub get() {} +sub getline_at_ypos($;) {} +sub getrealxpos() {} +sub layout() {} +sub layout_content() {} +sub mouse_button1($$$$;) {} +sub new { my ($_o_userargs) = @_ } +sub newline() {} +sub number_of_columns() {} +sub number_of_lines() {} +sub onChange(;$) {} +sub paste() {} +sub pos(;$) {} +sub readonly($;) {} +sub resetsetundo() {} +sub set_color_bg() {} +sub set_color_fg() {} +sub set_curxpos() {} +sub set_password_char { my ($_this, $_o_char) = @_ } +sub set_undoinfo() {} +sub text(;$) {} +sub toggle_showhardreturns() {} +sub toggle_showoverflow() {} +sub toggle_wrapping() {} +sub undo() {} + +package Curses::UI::TextEntry; +our @ISA = qw(); +sub new { my ($_o_userargs) = @_ } -sub add { my ($_this, $_name, $_type, %_para) = @_ } -sub delete_object { my ($_this, $_object) = @_ } -sub focus { my ($_this, $_focus_to, $_b_forced, $_b_direction) = @_ } +package Curses::UI::TextViewer; +our @ISA = qw(); +sub new { my ($_o_userargs) = @_ } +package Curses::UI::Widget; +our @ISA = qw(); +sub DESTROY() {} +sub beep_off() {} +sub beep_on() {} +sub borderheight() {} +sub borderwidth() {} +sub canvasheight() {} +sub canvaswidth() {} +sub clear_binding($;) {} +sub clear_event($;) {} +sub delete_subwindows() {} +sub do_routine($;$) { my ($_o_arguments) = @_ } +sub dobeep() {} +sub draw(;$) {} +sub draw_scrollbars() {} +sub event_keypress($;) {} +sub event_mouse($;) {} +sub event_onblur() {} +sub event_onfocus() {} +sub focus() {} +sub focusable(;$) {} +sub height() {} +sub height_by_windowscrheight($@) { my ($_o_args) = @_ } +sub hidden() {} +sub hide() {} +sub in_topwindow() {} +sub intellidraw(;$) {} +sub layout() {} +sub loose_focus() {} +sub lose_focus() {} +sub modalfocus() {} +sub mouse_button1($$$$;) {} +sub new { my ($_o_userargs) = @_ } +sub onBlur($;$) {} +sub onFocus($;$) {} +sub parentwindow() {} +sub process_bindings($;$@) { my ($_o_extra) = @_ } +sub process_padding($;) {} +sub run_event($;) {} +sub schedule_draw(;$) {} +sub set_binding($@) { my ($_o_keys) = @_ } +sub set_color_bbg{() {} +sub set_color_bfg{() {} +sub set_color_bg{() {} +sub set_color_fg{() {} +sub set_color_sbg{() {} +sub set_color_sfg{() {} +sub set_color_tbg{() {} +sub set_color_tfg{() {} +sub set_event($;$) {} +sub set_mouse_binding($@) { my ($_o_mouse_events) = @_ } +sub set_routine($$;) {} +sub show() {} +sub title() {} +sub userdata() {} +sub width() {} +sub width_by_windowscrwidth($@) { my ($_o_args) = @_ } +sub windowparameters() {} package Curses::UI::Window; - -our @ISA = qw(Curses::UI::Container); - - -package Curses::UI::Dialog::Progress; - -our @ISA = qw(Curses::UI::Window); - -sub pos { my ($_this, $_pos) = @_ } -sub message { my ($_this, $_msg) = @_ } - - - -package Curses; - -sub KEY_LEFT() {} -sub KEY_RIGHT() {} +our @ISA = qw(); +sub layout() {} +sub new { my ($_o_userargs) = @_ } |