1

add vorgabe07

This commit is contained in:
churl
2022-06-17 15:27:48 +02:00
parent 01495fda93
commit d29dc064cb
23 changed files with 19128 additions and 2 deletions

43
c_os/user/VBEdemo.h Normal file
View 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 &copy); // 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