smg

 view release on metacpan or  search on metacpan

smg.pm  view on Meta::CPAN

           loadwin  ($win ,$filespec);
       

B<Parameters:>

=over

I<$filespec:> the specification of the file containing the window saved
              with savewin (wild cards are not allowed).

I<$win:> the window you created with crewin and saved with savwin

=back


=head1 movearea  

         The Move function moves a rectangle of text from one window to 
	 another window. Given two points in opposite corners of the rectangle.
         When $win and $towin are the same windows the intersection between
	 source area and target area may not be what you expect. :-)

B<Syntax:>

           movearea  ($win ,$Y0 ,$X0 ,$Y1 ,$X1, $towin, $toY, $toX, $flags);

       



B<Parameters:>

=over

I<($X0,$Y0) and ($X1,$Y1):> are coordinates of two opposite corners of
the rectangle to move.

I<$toX:> Number of the column where to copy the area

I<$toY:> Number of the line where to copy the area.

I<$flags:> A character string with one character/option:

=over

I<C:> Just copy don't erase text from source window.

I<T:> Move only the text not the video attributes.

=back

I<$win:> the window you created with crewin or loadwin

I<$towin:> another window you created with crewin or loadwin

=back


=head1 movewin  

         The function relocates a window on a
         physical screen and preserves the pasting order.


B<Syntax:>

           movewin  ($win ,$PbId, $Y, $X);

       

B<Parameters:>

=over

I<$X,$Y:>  New position of the window on the physical screen.

I<$PbId:> The physical screen you defined in initscr

I<$win:> the window you created with crewin or loadwin

=back


=head1 nametocode  

         The function translates the
         key name of a key on the keyboard into its associated key code.


B<Syntax:>

           nametocode  ($name ,$code);
       



B<Parameters:>

=over

I<$name:> Ascii String Giving The name of the pressed key.

I<$code:> A 2byte integer number last pressed code; this code is 
           using 0-255 for extended ascii character set, and over for
	   the other keys (ex: F10, PF2, SELECT ...)

=back


=head1 putwin

         The function pastes a window to a
         physical screen.


B<Syntax:>

           putwin($Y,$X,$winId,$PbId);

       



( run in 0.684 second using v1.01-cache-2.11-cpan-5511b514fd6 )