scroll_screen(3alleg4) Allegro manual scroll_screen(3alleg4)NAME
scroll_screen - Requests a hardware scroll request. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int scroll_screen(int x, int y);
DESCRIPTION
Attempts to scroll the hardware screen to display a different part of the virtual screen (initially it will be positioned at 0, 0, which is
the top left corner). You can use this to move the screen display around in a large virtual screen space, or to page flip back and forth
between two non-overlapping areas of the virtual screen. Note that to draw outside the original position in the screen bitmap you will have
to alter the clipping rectangle with set_clip_rect().
Mode-X scrolling is reliable and will work on any card, other drivers may not work or not work reliably. See the platform-specific section
of the docs for more information.
Allegro will handle any necessary vertical retrace synchronisation when scrolling the screen, so you don't need to call vsync() before it.
This means that scroll_screen() has the same time delay effects as vsync().
RETURN VALUE
Returns zero on success. Returns non-zero if the graphics driver can't handle hardware scrolling or the virtual screen is not large enough.
SEE ALSO set_gfx_mode(3alleg4), show_video_bitmap(3alleg4), request_scroll(3alleg4), request_video_bitmap(3alleg4), exscroll(3alleg4)Allegro version 4.4.2 scroll_screen(3alleg4)
Check Out this Related Man Page
scroll_screen(3alleg4) Allegro manual scroll_screen(3alleg4)NAME
scroll_screen - Requests a hardware scroll request. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int scroll_screen(int x, int y);
DESCRIPTION
Attempts to scroll the hardware screen to display a different part of the virtual screen (initially it will be positioned at 0, 0, which is
the top left corner). You can use this to move the screen display around in a large virtual screen space, or to page flip back and forth
between two non-overlapping areas of the virtual screen. Note that to draw outside the original position in the screen bitmap you will have
to alter the clipping rectangle with set_clip_rect().
Mode-X scrolling is reliable and will work on any card, other drivers may not work or not work reliably. See the platform-specific section
of the docs for more information.
Allegro will handle any necessary vertical retrace synchronisation when scrolling the screen, so you don't need to call vsync() before it.
This means that scroll_screen() has the same time delay effects as vsync().
RETURN VALUE
Returns zero on success. Returns non-zero if the graphics driver can't handle hardware scrolling or the virtual screen is not large enough.
SEE ALSO set_gfx_mode(3alleg4), show_video_bitmap(3alleg4), request_scroll(3alleg4), request_video_bitmap(3alleg4), exscroll(3alleg4)Allegro version 4.4.2 scroll_screen(3alleg4)
Hi! Is there is any way to divide the screen when I use UNIX shells (I have RedHat 7.1)? I have to see the command promt and process some data from very long file at the same time (I work with PThreads). Some "pseudo-windows" in text mode, huh? =) Thanks in advance and don't be angry =) (4 Replies)
How can I control the screen output when trying to read a large file onto the screen x number of lines at a time. I'm trying to use this is a bourne shell script. I want to display 10 lines of a file, pause the screen so that a user can read the file, and then display the next 10 lines of the file,... (6 Replies)
HI ,
I forgot to redirect my op to a file.The op which is quite huge , thus printed on the screen.However bcoz of the limited viewing in the screenI can not see the whole of the output..
Is there anyway I can see the full op.My run takes half a day for finnishing ..So I am refraining... (1 Reply)
Hi again:
I have this code which gives an large output(several screens), and I want to display on screen at a time (like more does)....how can I do this?
echo
echo "Los roles en el sistema son:"
echo
lsrole -a dfltmsg ALL|sed 's/dfltmsg=/Descripcion=/'
thanks
Israel. (4 Replies)
Hi,
I use putty and vncviewer on XP to get screen form the RH Enterprise ws 6.0 . Although it has high quality of graphics scrolling down leads to blinks on screen which is annoying while using EDA design tools.
Is there anyway to utilize putty (with some extra tool) so that EDA design tool... (2 Replies)
Hi,
I've been using the following commands in my automated scripts, to ensure that all text output is sent to a log file instead of to the screen:
exec 1>>$SCRIPT_LOG_FILE
exec 2>>$SCRIPT_LOG_FILE
However, I've now discovered that the system used for automating the script executions... (4 Replies)
Experts,
When doing large calculation the digits in the screen are limiting to 68 digit and then with a \ ( backspace) next line comes.
example:
ubuntu# echo "123456789 ^ 50 " | bc
37648602365872212683379005814670372328125515868188009630652959693316\... (4 Replies)
Hi, this is my first post here.
I wanto make a screencasting program. I want to make a screen part selection to grab coordinates of the screen location.
I found a nice prototype
#include <X11/Xlib.h>
//#include <X11/Xresource.h>
#include <stdlib.h>
#include <stdio.h>
#include... (0 Replies)