This shows you the differences between two versions of the page.
Link to this comparison view
zeolite:types:colourpixel [2011/01/13 03:29] 127.0.0.1 external edit |
zeolite:types:colourpixel [2017/08/31 07:12] (current) |
| ===== Description ===== | | ===== Description ===== |
| | | |
- | ColourPixel is both the the map pixel data type for maps initialised as MAP_24bit, as well as the data type used to represent RGB colour in Zeolite variables initialised as VarID_colour. | + | ''ColourPixel'' is both the the map pixel data type for maps initialised as ''MAP_24bit'', as well as the data type used to represent RGB colour in Zeolite variables initialised as ''VarID_colour''. |
| | | |
| ===== Definition ===== | | ===== Definition ===== |
| | | |
- | //In ExtAPI_defines.h: // | + | //In Zeolite_defines.h: // |
| | | |
| <code="C"> | | <code="C"> |
| | | |
| ^ Member name ^ Type ^ Comments ^ | | ^ Member name ^ Type ^ Comments ^ |
- | | //r// | unsigned char | The red component of the colour (0...255). | | + | | //r// | ''unsigned char'' | The red component of the colour (0...255). | |
- | | //g// | unsigned char | The green component of the colour (0...255). | | + | | //g// | ''unsigned char'' | The green component of the colour (0...255). | |
- | | //b// | unsigned char | The blue component of the colour (0...255). | | + | | //b// | ''unsigned char'' | The blue component of the colour (0...255). | |
| | | |
| ===== Type identifiers ===== | | ===== Type identifiers ===== |