Sponsored Content
The Lounge What is on Your Mind? New 'member_project' tag with DarkGreen (was Magenta) Color Post 303039663 by Neo on Friday 11th of October 2019 10:09:53 AM
Old 10-11-2019
I am thinking to find a less "bright and sunny" color....

Any suggestions?? Smilie
 

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to change the background color in the init 3 mode(not line color)

Hello, I am using RHEL 6.1 on VMware I am searching for a way to change background color (not line by line color wich one can using tput command) basically changing the color of the whole screen to white instead of the default black and changing font color to black and alos would like to... (2 Replies)
Discussion started by: Dexobox
2 Replies

2. Shell Programming and Scripting

To search for a particular tag in xml and collate all similar tag values and display them count

I want to basically do the below thing. Suppose there is a tag called object1. I want to display an output for all similar tag values under heading of Object 1 and the count of the xmls. Please help File: <xml><object1>house</object1><object2>child</object2>... (9 Replies)
Discussion started by: srkmish
9 Replies
bitmap_mask_color(3alleg4)					  Allegro manual					bitmap_mask_color(3alleg4)

NAME
bitmap_mask_color - Returns the mask color of the specified bitmap. Allegro game programming library. SYNOPSIS
#include <allegro.h> int bitmap_mask_color(BITMAP *bmp); DESCRIPTION
Returns the mask color for the specified bitmap (the value which is skipped when drawing sprites). For 256-color bitmaps this is zero, and for truecolor bitmaps it is bright pink (maximum red and blue, zero green). A frequent use of this function is to clear a bitmap with the mask color so you can later use this bitmap with masked_blit() or draw_sprite() after drawing other stuff on it. Example: /* Replace mask color with another color. */ for (y = 0; y h; y++) for (x = 0; x w; x++) if (getpixel(bmp, x, y) == bitmap_mask_color(bmp)) putpixel(bmp, x, y, another_color); SEE ALSO
MASK_COLOR_8(3alleg4), set_color_depth(3alleg4), bitmap_color_depth(3alleg4), ex3d(3alleg4), exmouse(3alleg4), expat(3alleg4) Allegro version 4.4.2 bitmap_mask_color(3alleg4)
All times are GMT -4. The time now is 02:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy