Commit Graph

68 Commits

Author SHA1 Message Date
GaryOderNichts
62e2655b72
GuiSwitch: Do not draw onImg and offImg when not visible (#11)
Co-authored-by: Maschell <Maschell@gmx.de>
2022-02-05 14:50:09 +01:00
Maschell
9c1b9ba442
GuiImageData: Add option to load directly from a file (#19) 2022-02-05 14:47:17 +01:00
Maschell
4a0e27624b Format the code via clang-format 2022-02-05 14:31:43 +01:00
Maschell
7895e05264 Update Dockerfile, use github actions 2022-01-09 13:45:55 +01:00
Maschell
c905f4e361 Fix compiling with latest wut 2022-01-09 13:38:00 +01:00
Maschell
f3a3492fcd Add more checks an mutexes 2020-08-16 14:14:00 +02:00
Maschell
b00fa46da6 [FreeTypeGX] Fix using the corrent font size when caching the glyhData 2020-08-16 11:58:01 +02:00
Maschell
858688704b Fix the text height calculation in FreeTypeGX 2020-08-13 14:21:23 +02:00
Maschell
3530a9bd36 Add mutextes to the FreeTypeGX 2020-08-13 14:20:50 +02:00
Maschell
6f91796cfc Calucate the textWidth by using the CharWidth method in FreeTypeGX 2020-08-13 14:14:26 +02:00
Maschell
92cd5c34fc Fix toUTF8 in FreeTypeGX 2020-08-13 14:13:16 +02:00
Maschell
e6b07f9e67 Fix charToWideChar in FreeTypeGX 2020-08-13 14:13:01 +02:00
Maschell
d89093de78 Gix the alignment in GuiText 2020-08-13 14:12:26 +02:00
Maschell
64e2756b92 Calculate the width and height by the text width/height in GuIText 2020-08-13 14:12:08 +02:00
Maschell
022045a145 Add getLineHeight to GuIText 2020-08-13 14:11:18 +02:00
Maschell
545046971a Add a getTextHeight to the GuiText class 2020-08-13 14:08:23 +02:00
Maschell
85abf9a572 Add a mutex to GuiText 2020-08-13 14:05:28 +02:00
Maschell
d932b58cc3 Remove the getOffset method from FreeTypeGX 2020-08-13 13:48:26 +02:00
Maschell
01d4b80338 Reimplement the method getHeight in FreeTypeGX 2020-08-13 13:46:50 +02:00
Maschell
0e83927d4d Store the font size only once in GuiText 2020-08-13 13:41:03 +02:00
Maschell
427b511cb0 Do not cache the textWidth in GuiText 2020-08-13 13:39:17 +02:00
Maschell
e8ee63068b Use a mutex to lock access to internal ist 2020-08-13 13:27:32 +02:00
Maschell
5b387ffec1 Implement the internal scaling as SSAA 2020-08-13 13:26:45 +02:00
Maschell
9494f515eb Use pragma once in FreeTypeGX instead of ifdef 2020-08-13 13:08:07 +02:00
Maschell
e68bf558fd Add missing forward declaration in GuiTrigger 2020-08-13 13:07:31 +02:00
Maschell
9040d929fd Fix missing import in GuiTrigger 2020-08-13 13:07:16 +02:00
Maschell
482bf28a3a Force braces 2020-08-13 12:58:19 +02:00
Maschell
2b42bbd60f Formatting 2020-08-13 12:38:07 +02:00
Maschell
61917ce2a4 Update the Dockerfile 2020-06-27 12:43:40 +02:00
Maschell
cf34980be5 Update the .gitignore 2020-06-27 12:43:20 +02:00
Maschell
92c50f8a80 Add dependencies to the readme 2020-06-27 12:43:08 +02:00
Maschell
45bad52a0c
Merge pull request #1 from GaryOderNichts/wiiu-env-master
fix state to support all channels
2020-04-24 17:46:57 +02:00
GaryOderNichts
79675c9426 add state support for all 5 channels 2020-04-24 12:32:30 +02:00
GaryOderNichts
3597fdcd22 Use chanIdx instead of chan for State 2020-04-24 12:29:52 +02:00
Maschell
40d4391788 - Move lib from $(DESTDIR)$(DEVKITPRO)/wut/ to $(DESTDIR)$(DEVKITPRO)/wut/usr
- Remove fs dependencies
- Replace CMutex with std::recursive_mutex
- Remove the AsyncDeleter (dependency)
- memoryInitialize was renamed to libgui_memoryInialized and added to this lib (same for memoryRelease)
2020-02-22 23:24:10 +01:00
Maschell
886ae7e19b Fix the Shader3D 2020-02-18 19:48:23 +01:00
Maschell
c9ae9cf218 Allow jpg, bmp and tga files 2020-02-18 00:45:08 +01:00
Maschell
4e23508b0e Fix compiling 2019-11-17 10:31:51 +01:00
orboditilt
9a3811194d Merge branch 'wut'
# Conflicts:
#	.travis.yml
#	README.md
2019-08-14 23:28:23 +02:00
orboditilt
21bb3b0417 Compatible with latest WUT 2019-08-14 23:24:55 +02:00
Maschell
99b87bc3ed Fix travis #2 2019-05-14 22:32:41 +02:00
Maschell
789f441cca Fix travis script 2019-05-14 22:27:05 +02:00
Maschell
1c2c30f1e3 Fix command in readme 2019-05-14 22:26:53 +02:00
Maschell
bb8331e3c5 Get rid of the portlibs.zip 2019-05-14 22:01:01 +02:00
Maschell
f03db948ff Add Dockerfile and update the README 2018-09-22 17:44:39 +02:00
Maschell
03ad816adc Remove libz from portlibs folder
Update readme
Rename library to guiwut
2018-06-23 16:05:07 +02:00
Maschell
5fd8c7c0f6 Fix cmake file to use libutils instead of libutilswut 2018-06-23 13:53:21 +02:00
Maschell
c9fc3c81ae Move defines to wut 2018-06-23 13:52:46 +02:00
Maschell
e8f1942db4 Add first commit on wut branch 2018-06-21 20:44:58 +02:00
Maschell
21d120bc82 [Travis] Only reinstall packages if updated. 2018-05-26 16:28:29 +02:00