Remove hhu bmp
This commit is contained in:
@ -2,7 +2,6 @@ cmake_minimum_required(VERSION 3.14)
|
|||||||
|
|
||||||
target_sources(lib PUBLIC
|
target_sources(lib PUBLIC
|
||||||
${CHURLOS_SRC_DIR}/lib/demo/ArrayDemo.cc
|
${CHURLOS_SRC_DIR}/lib/demo/ArrayDemo.cc
|
||||||
${CHURLOS_SRC_DIR}/lib/demo/bmp_hhu.cc
|
|
||||||
${CHURLOS_SRC_DIR}/lib/demo/HeapDemo.cc
|
${CHURLOS_SRC_DIR}/lib/demo/HeapDemo.cc
|
||||||
${CHURLOS_SRC_DIR}/lib/demo/KeyboardDemo.cc
|
${CHURLOS_SRC_DIR}/lib/demo/KeyboardDemo.cc
|
||||||
${CHURLOS_SRC_DIR}/lib/demo/MainMenu.cc
|
${CHURLOS_SRC_DIR}/lib/demo/MainMenu.cc
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#include "VBEdemo.h"
|
#include "VBEdemo.h"
|
||||||
#include "bmp_hhu.cc"
|
|
||||||
#include "kernel/system/System.h"
|
#include "kernel/system/System.h"
|
||||||
#include "kernel/service/SchedulerService.h"
|
#include "kernel/service/SchedulerService.h"
|
||||||
|
|
||||||
@ -51,22 +50,6 @@ void VBEdemo::drawColors() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************
|
|
||||||
* Methode: VBEdemo::drawBitmap *
|
|
||||||
*---------------------------------------------------------------------------*
|
|
||||||
* Beschreibung: Bitmap aus GIMP ausgeben. *
|
|
||||||
*****************************************************************************/
|
|
||||||
void VBEdemo::drawBitmap() {
|
|
||||||
unsigned int sprite_width = hhu.width;
|
|
||||||
unsigned int sprite_height = hhu.height;
|
|
||||||
unsigned int sprite_bpp = hhu.bytes_per_pixel;
|
|
||||||
const uint8_t *sprite_pixel = reinterpret_cast<const uint8_t *>(hhu.pixel_data);
|
|
||||||
|
|
||||||
/* Hier muss Code eingefuegt werden */
|
|
||||||
|
|
||||||
Kernel::vesa.drawSprite(sprite_width, sprite_height, sprite_bpp, sprite_pixel);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Methode: VBEdemo::drawFonts *
|
* Methode: VBEdemo::drawFonts *
|
||||||
*---------------------------------------------------------------------------*
|
*---------------------------------------------------------------------------*
|
||||||
@ -96,7 +79,6 @@ void VBEdemo::run() {
|
|||||||
|
|
||||||
/* Hier muss Code eingefuegt werden */
|
/* Hier muss Code eingefuegt werden */
|
||||||
Kernel::vesa.drawRectangle(100, 100, 300, 300, 0);
|
Kernel::vesa.drawRectangle(100, 100, 300, 300, 0);
|
||||||
drawBitmap();
|
|
||||||
drawFonts();
|
drawFonts();
|
||||||
|
|
||||||
while (running) {}
|
while (running) {}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user