add vorgabe07
This commit is contained in:
43
c_os/user/VBEdemo.h
Normal file
43
c_os/user/VBEdemo.h
Normal file
@ -0,0 +1,43 @@
|
||||
/*****************************************************************************
|
||||
* *
|
||||
* V B E D E M O *
|
||||
* *
|
||||
*---------------------------------------------------------------------------*
|
||||
* Beschreibung: Demo zu VESA. *
|
||||
* *
|
||||
* Autor: Michael Schoettner, HHU, 26.12.2016 *
|
||||
*****************************************************************************/
|
||||
#ifndef __VBEdemo_include__
|
||||
#define __VBEdemo_include__
|
||||
|
||||
|
||||
#include "kernel/threads/Thread.h"
|
||||
|
||||
|
||||
class VBEdemo : public Thread {
|
||||
|
||||
private:
|
||||
VBEdemo (const VBEdemo ©); // Verhindere Kopieren
|
||||
|
||||
// Hilfsfunktionen fuer drawColors()
|
||||
int linInterPol1D (int x, int xr, int l, int r);
|
||||
int linInterPol2D (int x, int y, int lt, int rt, int lb, int rb);
|
||||
|
||||
public:
|
||||
// Gib dem Anwendungsthread einen Stack.
|
||||
VBEdemo () : Thread () { }
|
||||
|
||||
// Thread-Startmethode
|
||||
void run ();
|
||||
|
||||
// Farbraum ausgeben
|
||||
void drawColors ();
|
||||
|
||||
// Bitmap aus GIMP ausgeben
|
||||
void drawBitmap ();
|
||||
|
||||
// Fonts ausgeben
|
||||
void drawFonts ();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user