Raphael Coeffic
e7b6fa412c
Apply clipping in BitmapBuffer::invertRect()
2021-05-22 14:25:09 +02:00
Raphael Coeffic
749d7d9037
Added 8bit PNG font loader
2021-05-21 20:59:33 +02:00
Raphael Coeffic
2d6ebc2ec1
Added loading png bitmaps from memory
2021-05-15 11:21:52 +02:00
Raphael Coeffic
f603207a8e
Added 8bit mask loading
2021-05-15 01:09:57 +02:00
Raphael Coeffic
6a492d9777
Silence compiler warnings
2021-05-09 09:29:11 +02:00
Raphael Coeffic
1964d2ae8c
Check boundaries on characters / fonts
2021-05-08 08:37:53 +02:00
Raphael Coeffic
5403ab4b00
Filter out invalid chars to avoid out-of-bounds memory access
2021-05-08 00:21:58 +02:00
Raphael Coeffic
c25d599393
Fixes for new Stb version
...
As it seems, RGB888 bitmap are now declared as ARGB8888, as load_stb() requests 4 bytes / pixel.
Now, real grayscale is used instead of just using "red" as alpha, as was previously done.
2021-05-07 23:58:20 +02:00
Raphael Coeffic
7b63477300
Cleanup notes
2021-05-07 22:41:43 +02:00
Raphael Coeffic
21940b1572
Fixed clipping in drawBitmapPattern()
2021-05-07 22:41:43 +02:00
Raphael Coeffic
76cdb7f527
Cleanup
2021-05-07 22:41:43 +02:00
Raphael Coeffic
a1cfe638b3
WiP: works with radio
2021-05-07 22:41:43 +02:00
Raphael Coeffic
ff71826fbc
Use full range in 8bit encoding
2021-05-07 22:41:43 +02:00
Raphael Coeffic
347bc76b2b
Move some big template methods into .cpp with explicit instantiation
2021-05-07 22:41:43 +02:00
Raphael Coeffic
7510577dfc
Use DMA ops for blending in drawFilledRect()
2021-05-07 22:41:43 +02:00
Raphael Coeffic
596ef31384
ColorEdit shall use it's own color instead of modifying the color table
2021-05-07 22:41:43 +02:00
Raphael Coeffic
d274f6ac7f
Remove the color table
2021-05-07 22:41:43 +02:00
Raphael Coeffic
0faa189984
Fixed 'opacity' default parameters
2021-05-07 22:41:43 +02:00
Raphael Coeffic
7ca1f0d74c
Fix modal window opacity
2021-05-07 22:41:43 +02:00
Raphael Coeffic
e251f63a35
Removed color table and added the list of colors to be defined
2021-05-07 22:41:43 +02:00
Raphael Coeffic
8ec57dd39e
Move opacity in a separate parameter and use true color instead of palette index
2021-05-07 22:41:43 +02:00
Raphael Coeffic
ff2a0754d4
Make setScrollPosition[X/Y]() virtual
...
This allows for effects implemented in a specific window, like a sticky component that follows the screen wherever it goes.
2021-04-16 13:27:52 +02:00
Raphael Coeffic
d1ab02b5c9
MainWindow is a singleton
...
This prevents double instantiation by design rather than by convention.
2021-04-06 08:51:47 +02:00
Raphael Coeffic
791eec0235
fix offset applied twice in drawFilledRect()
...
note: it seems there is no 'x' clipping in drawHorizontalLine(). This should probably be checked.
2021-04-05 14:58:30 +02:00
Raphael Coeffic
8dcc23c205
fixed compiler warnings (clang)
2019-11-10 08:42:05 +01:00