08-03-2019
Yes it does ...
Mobile and desktop !
5 More Discussions You Might Find Interesting
1. News, Links, Events and Announcements
Note the new feature on UNIX.COM, many thread at the bottom of the page have a new feature:
Similiar Threads
Here is an example on one of Perderabo's posts:
https://www.unix.com/showthread.php?t=16337
Kudos to the vB folks for this built-in feature!!
Neo (0 Replies)
Discussion started by: Neo
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am trying to quickly learn Unix because I am going to be using HP-UX soon.
Problem is I can't find download HP-UX.
Does anyone know a Unix OS I can download that is more like HP-UX?
I'm running windows vista at the moment. (3 Replies)
Discussion started by: budz
3 Replies
3. Programming
Hi,
I am windows programer. I have very basic knowledge of Unix OS.
I have written an application in Windows which consists of Win32 API namely WideCharToMultiByte(..) and MultiByteToWideChar(..).
I am interested to deploy my application in unix platform henceforth I need to know IS... (1 Reply)
Discussion started by: dayakarr
1 Replies
4. What is on Your Mind?
Today I change the DB and the PHP code and rebuilt the database for similar threads at the end of each post, increasing from a max of 5 to a max of 10 similar threads per post:
More UNIX and Linux Forum Topics You Might Find Helpful
It was quite easy to do:
1. Increased the max size of... (17 Replies)
Discussion started by: Neo
17 Replies
5. What is on Your Mind?
FYI,
I have been quietly updating the man page database adding "similar threads" for man pages.
STEP 1: Full Text MySQL DB Search Matches
The first step, after creating the DB columns, was to process each of the nearly 400K man pages and do a full text mysql search, match and score... (10 Replies)
Discussion started by: Neo
10 Replies
LEARN ABOUT DEBIAN
desktop_color_depth
desktop_color_depth(3alleg4) Allegro manual desktop_color_depth(3alleg4)
NAME
desktop_color_depth - Finds out the desktop color depth. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int desktop_color_depth();
DESCRIPTION
Finds out the currently selected desktop color depth. You can use this information to make your program use the same color depth as the
desktop, which will likely make it run faster because the graphic driver won't be doing unnecessary color conversions behind your back.
Under some OSes, switching to a full screen graphics mode may automatically change the desktop color depth. You have, therefore, to call
this function before setting any graphics mode in order to retrieve the real desktop color depth. Example:
allegro_init();
...
if ((depth = desktop_color_depth()) != 0) {
set_color_depth(depth);
}
RETURN VALUE
Returns the color depth or zero on platforms where this information is not available or does not apply.
SEE ALSO
get_desktop_resolution(3alleg4), set_color_depth(3alleg4), set_gfx_mode(3alleg4)
Allegro version 4.4.2 desktop_color_depth(3alleg4)