DOSBox-X
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Protected Member Functions
GUI::ScreenRGB32le Class Reference

A 24 bit per pixel RGB framebuffer aligned to 32 bit per pixel. More...

#include <gui_tk.h>

Inheritance diagram for GUI::ScreenRGB32le:
GUI::Screen GUI::Window

List of all members.

Public Member Functions

 ScreenRGB32le (Size width, Size height)
virtual void paint (Drawable &d) const
 Default: clear screen.

Protected Member Functions

virtual void rgbToSurface (RGB color, void **pixel)
 Map a single RGB triple (8 bit each) to a native pixel value.
virtual RGB surfaceToRGB (void *pixel)
 Map a single surface pixel to an RGB value.

Detailed Description

A 24 bit per pixel RGB framebuffer aligned to 32 bit per pixel.

Warning: This framebuffer type varies with CPU endiannes. It is meant as a testing/debugging tool.

Definition at line 811 of file gui_tk.h.


The documentation for this class was generated from the following files: