08-13-2012
and also tell us the graphics card or chip you have.
Also how did you try to edit the resolution?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to install a Linux LFS server. I have not been able to figure out how to get the GUI to load up. I'm not even sure if it has been installed. Any information would be greatly appreciatted. (2 Replies)
Discussion started by: tlcrowder
2 Replies
2. UNIX for Dummies Questions & Answers
I just installed Redhat Linux 8.0 and I do not know how to get to my GUI Desktop. Right now I'm just in the shell please help. (2 Replies)
Discussion started by: savagebeast
2 Replies
3. Linux
Hi guys , I have redhat 9 and i have no idea what i'm doing.
This is my first time taking a break from windows and exploring this new OS.
I'm trying to install an External Usrobotic 56K Model Number 5686, after rebooting it was detected.
How can i configure the server so i can call (modem... (1 Reply)
Discussion started by: josramon
1 Replies
4. Ubuntu
Hello all,
I've a very strange thing hapenning in my Sys, I've configured the IP, DNS eveything for my internat connection, but Im only able to browse Redhat.com websites.
I cant open anyother site!!! :eek:
Im sure the internet is configured 'coz it displays the list of avail updates for... (11 Replies)
Discussion started by: AbhijithS
11 Replies
5. UNIX for Dummies Questions & Answers
Not sure if that's the best thread title... anyway, working remotely on a HP-UX machine I often need a GUI window when executing remote software installs, and for this I use Cygwin/X on my Windows laptop which works perfectly. Connect via telnet, set DISPLAY, run installer, GUI appears locally -... (3 Replies)
Discussion started by: stefcha
3 Replies
6. Red Hat
hi
Recently the above option has stopped working all together. On clicking on this option it appears as though the window will open as the outline of the box appears but nothing more.
On running this from a command prompt within the GUI , I get the following error:
The last line... (0 Replies)
Discussion started by: timcs
0 Replies
7. Programming
Hello, I want know about building a product on Sun solaris and Redhat Linux.
Product would contain C,C++, Java, UNIX Shell scripts and so on. It will not be a client server programme.
Thanks!
Shafi (5 Replies)
Discussion started by: shafi2all
5 Replies
8. Emergency UNIX and Linux Support
Hi there
I'm having trouble with a remote Red Hat server. We are busy with an Oracle 11g installation on this box and going through the list of required packages, etc.
The installation required elfutils-libelf-devel-0.148. When I try to install that I get the following error;
rpm -i... (6 Replies)
Discussion started by: notreallyhere
6 Replies
9. Red Hat
Hi Guys
Required help in Redhat 6.1.
After installation of Redhat 6.1 in VMware system is not going in GUI mode.
please to solve the issue...
Thanks... (5 Replies)
Discussion started by: deviltech
5 Replies
10. Red Hat
I wish to install inotify-tools-3.20.1-2.4.x86_64.rpm on Linux and fire inotifywait command.
Initially i was looking for "inotify-tools-3.xx.tar.gz" as instructed here http://jensd.be/248/linux/use-inotify-tools-on-centos-7-or-rhel-7-to-watch-files-and-directories-for-events
I have... (9 Replies)
Discussion started by: mohtashims
9 Replies
LEARN ABOUT CENTOS
gfx_mode_select_filter
gfx_mode_select_filter(3alleg4) Allegro manual gfx_mode_select_filter(3alleg4)
NAME
gfx_mode_select_filter - Even more extended version of the graphics mode selection dialog. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int gfx_mode_select_filter(int *card, int *w, int *h, int *color_depth, int (*filter)(int, int, int, int));
DESCRIPTION
Even more extended version of the graphics mode selection dialog, which allows the programmer to customize the contents of the dialog and
the user to select the color depth as well as the resolution and hardware driver. `filter' will be passed (card, w, h, color_depth)
quadruplets and must return 0 to let the specified quadruplet be added to the list of displayed modes.
As with gfx_mode_select, the values stored at the addresses passed to the function will be used as suggestions for the initial selections
in the dialog, defaulting to the first entry in each list if the values are not found. Initialize the data stored at the addresses passed
to the function to the value of 0 or -1 if you want to ensure that the initial selection for each list will be the first entry.
If the dialog is OK'd, it stores the selections at the addresses passed to the function.
Example usage :
ret = gfx_mode_select_filter(&card, &w, &h, &color_depth, user_filter);
if (ret) {/* User okayed dialog or user_filter removed all modes */
if (card == GFX_NONE) {
// No modes available
*card = 0;/* Make sure not to leave *card == GFX_NONE */
return -1;
}
/* Handle changing to new mode here... */
} else {/* User cancelled dialog or there was an error (unlikely) */
if (card == GFX_NONE) {
/* Error, probably out of memory */
*card = 0;/* Make sure not to leave *card == GFX_NONE */
return -2;
}
/* Carry on in current graphics mode if that is acceptable */
}
RETURN VALUE
Returns zero if the user cancelled the dialog or an error occurred. In the case of an error then *card is assigned the value GFX_NONE. The
functions return non-zero if the user made a selection OR if all the modes were filtered out. In the case that all of the modes were fil-
tered out, then *card is assigned the value GFX_NONE. This means you should NOT initialize the *card to the value of GFX_NONE, as it could
interfere with determining the proper return value.
SEE ALSO
gfx_mode_select(3alleg4), gfx_mode_select_ex(3alleg4), set_color_depth(3alleg4), set_gfx_mode(3alleg4), gui_fg_color(3alleg4)
Allegro version 4.4.2 gfx_mode_select_filter(3alleg4)