Commit graph

20 commits

Author SHA1 Message Date
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
ed88761ecc Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h. 2020-09-29 15:51:51 +02:00
Henrik Rydgård
bf72f746ea Remove base/logging.h from a whole bunch of files in native 2020-08-15 19:09:00 +02:00
Unknown W. Brackets
08a6047768 PPGe: Show ellipsis for overly long lines.
To match PPGE_LINE_USE_ELLIPSIS when using TextDrawer.
2020-03-10 21:30:53 -07:00
Unknown W. Brackets
6652fe261f PPGe: Use TextDrawer for save UI if available.
This should result in better spacing for non-Latin characters, and less
missing letters.  Basically the same benefits as for the UI.
2020-03-10 21:30:53 -07:00
Unknown W. Brackets
fbf4769ea6 PPGe: Support 8-bit text bitmaps from TextDrawer. 2020-03-10 21:30:50 -07:00
Unknown W. Brackets
85d2702304 UI: Refactor TextDrawer to provide bitmaps too. 2020-03-10 21:28:46 -07:00
Henrik Rydgård
4d6a4beae1 Text drawing fixes 2019-10-24 23:07:57 +02:00
Henrik Rydgård
46447c9e90 Correct the wrong GL DataFormat enums 2019-10-24 23:01:45 +02:00
Unknown W. Brackets
99d16b2202 Vulkan: Add tags to UI textures too. 2018-04-06 21:43:18 -07:00
Henrik Rydgård
7761d2366b Android: Prevent a text bitmap size from becoming 0 on '\r\n'. Fixes #10764 (unless there are more platforms where it's broken...) 2018-03-23 10:48:54 +01:00
Henrik Rydgård
fb798cf6b2 Win32 textdrawer: Fix rare crash affecting Patapon 2 in savedata manager. See 10764. 2018-03-23 10:27:08 +01:00
Unknown W. Brackets
bab66e8542 Windows: Fix UI text measurements with &.
These APIs don't take into account &&, which caused Homebrew && Demos to
be too wide.
2017-12-10 14:57:54 -08:00
Unknown W. Brackets
3431653791 UI: Draw actual, not aligned, text width.
No need to overdraw.
2017-11-23 09:05:17 -08:00
Unknown W. Brackets
826e9d2ee1 UI: Clear font bitmap after aligning size.
Otherwise we get remnants from previous draws, oops.
2017-11-23 09:04:15 -08:00
Henrik Rydgård
3ecd7b4c02 Get rid of collision-prone font cache keys. Stress the font cache a little less on slider dialogs. 2017-11-22 22:44:34 +01:00
Henrik Rydgård
d1d1e1f742 Fix issue with caret position in text boxes caused by a bad hash function. Fletcher is 2-bytes-at-a-time and thus very inappropriate for short strings. 2017-10-24 22:45:27 +02:00
Henrik Rydgård
6e98dbb574 Split out the Qt font drawer in its own file. 2017-06-04 11:52:14 +02:00
Henrik Rydgård
8d3b18478c Split out DrawTextWin32 into its own file, to be further split later. 2017-06-04 11:52:12 +02:00