mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 17:50:04 +01:00
TODOs
This commit is contained in:
committed by
EmilieNumworks
parent
50031c4836
commit
652d2e6bac
@@ -195,6 +195,7 @@ Event getPlatformEvent() {
|
||||
break;
|
||||
}
|
||||
#if !EPSILON_SDL_SCREEN_ONLY
|
||||
// This works but it is selected right after. We should highlight on mouse movement?
|
||||
if (event.type == SDL_MOUSEBUTTONUP) {
|
||||
Simulator::Layout::unhighlightKey();
|
||||
}
|
||||
|
||||
@@ -246,6 +246,7 @@ SDL_PixelFormat * sRgbaPixelFormat = SDL_AllocFormat(SDL_PIXELFORMAT_RGBA32);
|
||||
static constexpr size_t k_maxKeyLayoutSize = 130*130;
|
||||
static constexpr uint8_t k_blendingRatio = 0x44;
|
||||
|
||||
// TODO: use a "native" image decompressor instead of LZ4
|
||||
void fillRGBABufferWithImage(Uint32 * buffer, const Image * img) {
|
||||
KDColor pixelBuffer[k_maxKeyLayoutSize];
|
||||
Ion::decompress(
|
||||
|
||||
Reference in New Issue
Block a user