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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)