Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

screen_h(3alleg4) [mojave 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

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Dummie Question, Can anyone take a screen shot of a UNIX system?

Since i have never seen one of these systems, i am just curious of how it looks. Btw if unix is not a GUI then is it possible to take a screenshots (4 Replies)
Discussion started by: Punk18
4 Replies

2. UNIX for Advanced & Expert Users

GUI Screenshots - HP-UX

How do I capture screenshots on HP-UX and how do I name the files so I can move them to microsoft? (2 Replies)
Discussion started by: jay_mow
2 Replies

3. UNIX for Dummies Questions & Answers

Taking Screenshots in Unix

Hello, I am trying to take screenshots of various windows and dialog boxes in Unix. I am primarily a Windows user and am wondering if Unix has the capability of taking screenshots similar to using "Print Screen" and "Alt+Print Screen" in Windows? If not, then could anyone please suggest a method... (3 Replies)
Discussion started by: Skybum105
3 Replies

4. Linux

Red Hat 9 Login Screen Help

As some users may know, Red Hat 9 uses a graphical login. This works perfectly fine, but one day I had a problem. I logged in as root and changed the resolution of the display. It told me to log out for the changes to take effect. I did...but was faced with my monitor going down to standby. It... (3 Replies)
Discussion started by: Alux
3 Replies

5. OS X (Apple)

Please look at this screen shot: How do I remove this lock icon?!

RESOLVED in the screen shot I'd like to remove the lock sandwiched between the spaces indicator and the monitor icon, how do I get rid of it? It locks the screen and I cannot remember how it came to be http://guptaxpn.com/tmp/lock_icon_screenshot.png Thanks for your help! (3 Replies)
Discussion started by: guptaxpn
3 Replies

6. Programming

C coding for Screenshot capture

Hey guys, I'm for C code that can do screen capture for me. Any help. Thanks. (8 Replies)
Discussion started by: rakesh_01
8 Replies

7. What is on Your Mind?

Movie Screenshot Contest - Bits to be won!

I propose a little game, I post a bunch of images from random movies out there and people try to identify the name of the character and the movie. Each correct answer earns a point, at the end of the contest I'll give some Bits to those with the most points. The rules: I'll post only a few... (35 Replies)
Discussion started by: Smiling Dragon
35 Replies

8. UNIX for Dummies Questions & Answers

Taking Screenshots With the Terminal

Hi, So this is kind of a bizarre request: Is there a way I can get the Terminal to take 30 successive screenshot images over the course of 2 seconds? I figure you can do almost anything through the terminal, so I'm hoping this is possible, too. Truthfully, I don't know that much about Unix,... (1 Reply)
Discussion started by: TranscendArcus
1 Replies

9. UNIX for Dummies Questions & Answers

Using Terminal to Take Screenshots

So I sometimes use the Terminal to take many screenshots in rapid succession. Since I have an interest in animation, I sometimes use this to capture and examine how other animators have drawn certain movements. To take my screenshots, I made a script (at least I think it's a script) with the... (4 Replies)
Discussion started by: TranscendArcus
4 Replies

10. What is on Your Mind?

Post Geeky Screenshots - Just for Fun

Hello All, I have been sitting idle (as usual -- what are scripts for!!) and just thought why can't we have a colorful thread full of screnshots of terminal emulators (PuTTY for example) of admins doing their work. It could be geeky enough and inspiring to those new to UNIX/Linux world. ... (1 Reply)
Discussion started by: admin_xor
1 Replies

11. Shell Programming and Scripting

Shell or Perl Loop Screenshot URLs

I am trying to capture screenshots from a huge list of URLs. I am able to manually capture images of individual pages; that is, I simply run the following command to get a screenshot of Foo.com $ python /path/to/screencapture.sh http://www.foo.com I want to modify the script so that instead of... (2 Replies)
Discussion started by: chipperuga
2 Replies

12. Shell Programming and Scripting

Shell Script to Capture a Screenshot

Hi All, Suppose I want to take a screenshot of a website say Google and save that image. How should I do it? I tried wget with this but of no help. It just makes a particular file in jpeg format but on opening the same it says corrupted. Although I can edit the jpeg as an HTML file. wget... (15 Replies)
Discussion started by: ankur328
15 Replies

13. Shell Programming and Scripting

How to get notified when screenshots are taken?

Hi, I use third-party softwares but like to get notified when screenshots, if any, are taken. Any hints on how to achieve it? Thanks, Riku Linux 3.19.0-56-generic #62~14.04.1-Ubuntu SMP Fri Mar 11 11:03:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Ubuntu 14.04.3 LTS (3 Replies)
Discussion started by: rikuito
3 Replies

14. Shell Programming and Scripting

How to login and screenshots?

Dear All, Is that possible to open a url in chrome and then login with credentials and then click on particular link there ,then taking screenshot of that page via shell script ? I need to open an website like XXXXX.XXXX.XXX.XX:1235 ..there will be two fields for login Username and Password ... (2 Replies)
Discussion started by: onenessboy
2 Replies