Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

screen_w(3alleg4) [plan9 man page]

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)

Check Out this Related Man Page

exflip(3alleg4) 						  Allegro manual						   exflip(3alleg4)

NAME
exflip - Comparison of double buffering and page flipping. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example exflip DESCRIPTION
This program moves a circle across the screen, first with a double buffer and then using page flips. SEE ALSO
BITMAP(3alleg4), END_OF_MAIN(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_mes- sage(3alleg4), blit(3alleg4), circlefill(3alleg4), clear_keybuf(3alleg4), clear_to_color(3alleg4), create_bitmap(3alleg4), cre- ate_video_bitmap(3alleg4), desktop_palette(3alleg4), destroy_bitmap(3alleg4), font(3alleg4), install_keyboard(3alleg4), install_timer(3alleg4), keypressed(3alleg4), makecol(3alleg4), retrace_count(3alleg4), screen(3alleg4), set_gfx_mode(3alleg4), set_pal- ette(3alleg4), show_video_bitmap(3alleg4), textprintf_ex(3alleg4) Allegro version 4.4.2 exflip(3alleg4)
Man Page

13 More Discussions You Might Find Interesting

1. AIX

Replace Screen With Model Tft Under Aix 5.1

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)
Discussion started by: bustaf
0 Replies

2. Shell Programming and Scripting

pop out screen with user input

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)
Discussion started by: venerayan
5 Replies

3. Shell Programming and Scripting

printing messages on the screen when background process is going on!

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)
Discussion started by: smarty86
3 Replies

4. Shell Programming and Scripting

Automate screen with shell

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)
Discussion started by: nzq71k
3 Replies

5. UNIX for Dummies Questions & Answers

Windows to Linux remote console using VNC brings up blank console screen with only mouse pointer

: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)
Discussion started by: wbdevilliers
1 Replies

6. UNIX for Dummies Questions & Answers

Prints to screen when background process finishes

If I run "sleep 10&".. when that background process is done, is there a way for unix to print to screen to let me know? Thanks. (1 Reply)
Discussion started by: jmelai
1 Replies

7. Shell Programming and Scripting

Help supressing spool output from screen when calling sqlplus from script

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)
Discussion started by: MxC
3 Replies

8. Programming

[C] Is there a way to clean half screen?

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)
Discussion started by: Luke Bonham
5 Replies

9. UNIX for Dummies Questions & Answers

Accidentally made a screen within a screen - how to move it up one level?

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)
Discussion started by: phpchick
2 Replies

10. Shell Programming and Scripting

Telnet errors coming on screen while using snarf command.

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)
Discussion started by: Raza Ali
1 Replies

11. UNIX for Advanced & Expert Users

Syntax for screen with -h option

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)
Discussion started by: Mukharam Khan
1 Replies

12. HP-UX

Get blank screen when killing a UNIX session on HP-UX

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)
Discussion started by: rm-r
5 Replies

13. Programming

No output screen when run from file manager

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)
Discussion started by: pinbot
12 Replies