SCREEN_W(3alleg4) Allegro manual SCREEN_W(3alleg4)NAME
SCREEN_W, SCREEN_H - Global define to obtain the size of the screen. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
#define SCREEN_W;
#define SCREEN_H;
DESCRIPTION
Global defines that return the width and height of the screen, or zero if the screen has not been initialised yet. Example:
char buf[100];
...
uszprintf(buf, sizeof(buf),
"The screen size is %d x %d pixels",
SCREEN_W, SCREEN_H);
SEE ALSO screen(3alleg4), set_gfx_mode(3alleg4), VIRTUAL_W(3alleg4), VIRTUAL_H(3alleg4)Allegro version 4.4.2 SCREEN_W(3alleg4)
Hello
I want change screen in 7025 F40 with 19 " TFT Currently I have old screen 14 " With Smit I see that the card is GXT120P mga0 and size 330 x 250 mm and type is default.
My question is: The changes are done automatically or I must change some parameters ??? .
The boot is in graphic... (0 Replies)
is it possible to have a small screen pop out on text-unix (no gui unix) and wait for user input?
i have an EOD process that i need to execute, the problem is the developer needs to be properly remove from the system. the problem is, the developer is the boss, you can't force them out of the... (5 Replies)
hello all,
In my script i have written some messages which should come in screen while some background process is going on..
Like for example:
if i want to add 2 numbers a and b ...when the addition is going on in the background i should get "ADDING TWO NUMBERS>>PLEASE WAIT " message on... (3 Replies)
Hi all !
I'm trying to automate an SQL process that is running manually, but it involves in one step the use of an application to run a screen where you have to write some data, is there a way to do this with a shell ?? the application is informix and of course I don't hace the source code... (3 Replies)
:confused:Hi
This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons.
I get a whole bunch of errors when starting the service too:
Tue Feb 23 14:29:45 2010
... (1 Reply)
I'm calling an embedded sql from my shell script file. This sql does simple task of spooling out the contents of the table (see below my sample code) into a spool file that I specify. So far so good, but the problem is that the output is also displayed on screen which I do NOT want.
How can I... (3 Replies)
Hi,
I wrote a program for Windows environment. It shows a menu to choice some operations to do. Once an operation is done, it cleans the screen with a system("cls") call, and the menu is shown again.
I'd like to just clean half screen, so the program doesn't need to call again the print menu... (5 Replies)
I made a screen within a screen.
Is there a way to move the inner screen up one level so that it is at the same level as the first screen running from the shell? (2 Replies)
Hi Team,
I am using one script, It is working fine, the problem is it gives unwanted telnet errors when I am using it.
I just want to remove these unwanted errors/info from my screen.
bash-3.00$ cat raza_site_temp
#!/usr/bin/bash
#rj835b
IFS="|"
REGEX="$*"
echo
snarf2 -c "show... (1 Reply)
Hi Team,
I am using Linux OS. I am using the screen command and I am able to see few lines in the screen. I want to see more line in my screen. I want to use the screen with -h option. Please let me know how to use this command. So that I can see more line in my screen session.
‘-h num'
Set... (1 Reply)
Hi,
I have this Unix script that kills a user session. When I run it, my screen goes blank. How do I prevent the blank screen?
Ex: I open 2 Unix sessions. The main PID for my 1st session is 1234. In the second session I issue a "kill -HUP 1234". The first session gets killed but the second... (5 Replies)
So I have ported a C++ program from windows to linux
and when I run it from terminal all is well. However
when executed from file manager there is no screen output.
The program runs and does what it should, just the problem
of not knowing if there are errors or if its even complete. Is there a... (12 Replies)