Commit Graph

31 Commits

Author SHA1 Message Date
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
482bf28a3a Force braces 2020-08-13 12:58:19 +02:00
Maschell
2b42bbd60f Formatting 2020-08-13 12:38:07 +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
21bb3b0417 Compatible with latest WUT 2019-08-14 23:24:55 +02:00
Maschell
e8f1942db4 Add first commit on wut branch 2018-06-21 20:44:58 +02:00
Maschell
90ff87fd12 Removed some hardcoded frm the GuiParticleImage 2017-11-11 13:38:50 +01:00
Maschell
b783255b2d Removed hardcoded values from the GuiSrollbar class 2017-10-31 19:48:27 +01:00
Maschell
2db871522d Some small tweaks 2017-10-31 17:18:42 +01:00
Maschell
9c4efe8b71 Remove hardcoded values from the GuiSelectBox Class 2017-10-29 16:03:33 +01:00
Maschell
345bb53c6a First commit, have fun! 2017-10-29 10:28:14 +01:00