Commit Graph

125 Commits

Author SHA1 Message Date
Sergey Isakov
d7e93a96e5 adopt DrawMainMenu to XTheme
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-23 17:51:20 +03:00
Sergey Isakov
ddba966e94 advance menu codes for use xtheme
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-22 13:48:13 +03:00
Sergey Isakov
13667ae8f8 current changes moving to xtheme
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-21 22:52:28 +03:00
Jief L
14cdfe29c7 MemLogf and MemLogfVA. Not used yet in Clover. 2020-03-21 16:12:26 +03:00
Sergey Isakov
38d061d970 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-21 10:34:40 +03:00
Sergey Isakov
9ec0c457f5 some advance in xtheme support
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-21 10:34:28 +03:00
asava
932b218617 strip line endings from .VolumeLabel.txt 2020-03-21 09:02:48 +02:00
Sergey Isakov
f1d136e013 make scrolls for xtheme
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-20 20:48:19 +03:00
jief
255c331069 Fix compilation. 2020-03-18 09:39:11 +03:00
SergeySlice
5ed385d3fa introduce loadImage
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-17 22:43:58 +03:00
Sergey Isakov
0eb9528089 some screen operations for xtheme
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-17 07:25:38 +03:00
SergeySlice
81f2b91b15 clear screen in xtheme
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-16 22:47:02 +03:00
Sergey Isakov
02db12d8c3 fill theme by embedded images
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-16 14:15:25 +03:00
Sergey Isakov
6236f85a79 avoid memset generation
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-16 10:31:59 +03:00
SergeySlice
449fa1c6d1 fix debug-log by tluck
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-15 23:14:33 +03:00
SergeySlice
23fae194bd a step to xtheme
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-15 23:05:59 +03:00
SergeySlice
b6d3ddb28f optimize debug.log
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-15 16:42:45 +03:00
SergeySlice
9ab5a63908 support for VolumeIcon.icns
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-15 14:06:04 +03:00
jief
0484955f0b New platform Posix. Replace strlen, strcmp implementation. 2020-03-13 16:11:58 +03:00
Sergey Isakov
81286c08b1 dont double fonts in chain
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-13 15:13:08 +03:00
Sergey Isakov
07f5c88a8f fix delete fonts
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-13 11:44:45 +03:00
Jief L
a4d07ef335 Even better : a AddMenuInfo_f that takes printf like vararg. That avoid
the allocation of a temporary XStringW !
2020-03-12 21:23:32 +03:00
Jief L
d1a66122d3 Start to switch UTF16 litteral to utf8. 2020-03-12 20:45:28 +03:00
Sergey Isakov
2e1ad593df template for theme class
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-12 12:47:59 +03:00
Sergey Isakov
8d75c1909e update about menu
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-12 12:09:33 +03:00
jief
8a7950d99a Allow NULL title in NewEntry_. 2020-03-11 19:41:20 +03:00
jief
51711c1004 Disable assign & ctor with char* and wchar_t* parameter. 2020-03-10 19:50:55 +03:00
Sergey Isakov
24dec8435c fix svg fonts handling
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 17:05:39 +03:00
Sergey Isakov
48c89ce4d8 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-10 16:00:09 +03:00
Sergey Isakov
d8dfe555d2 separate fonts in fontChain
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 16:00:02 +03:00
jief
7256a868e5 REFIT_ABSTRACT_MENU_ENTRY.Title to XStringW 2020-03-10 14:51:04 +03:00
jief
a33bcb45d3 Switch struct EG_RECT to a class.
Define basic operators.
2020-03-10 13:27:05 +03:00
jief
41c49267a5 Clean the menu item hierarchy. 2020-03-10 12:45:17 +03:00
Sergey Isakov
956009f8ea files for qemu
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 07:32:08 +03:00
jief
1cb7b4e69e Few cleaning in XImage. XPointer improvement.
Renamed some method in XArray XObjArray and XStringW.
2020-03-09 04:12:24 +03:00
Sergey Isakov
c5f8b7df7b update russian localization
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-08 08:09:20 +03:00
Sergey Isakov
aea5deed32 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-06 18:30:12 +03:00
Sergey Isakov
328ede88f0 update About menu
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-06 18:30:07 +03:00
jief
564a3ca06c Make XPointer a shared instance. Fixed some unallocated memory with
XArray.
2020-03-06 10:55:52 +03:00
Sergey Isakov
b5dc9e1b7f testing mouse
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-05 21:23:21 +03:00
Sergey Isakov
797b5638d6 exclude old pointer
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-05 18:58:08 +03:00
Sergey Isakov
b735290ad2 some cleanup
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-05 16:59:17 +03:00
jief
75f33a759b NULL check added. 2020-03-05 10:37:50 +03:00
jief
640da74dd2 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-05 09:44:12 +03:00
jief
f8bf956a39 Check pointer before using it. 2020-03-05 09:42:50 +03:00
SergeySlice
69a65db69b some security checks
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-05 06:37:21 +03:00
jief
c6a59f85f9 Caught few access to address 0 2020-03-05 00:54:59 +03:00
jief
d549733729 A bit of debug code to keep. 2020-03-04 22:19:44 +03:00
jief
6417348844 Fix bad object allocation, remove some REFIT_MENU_SCREEN ctors. 2020-03-04 18:27:41 +03:00
Sergey Isakov
11bf50dc3a eliminate VS2017 warnings
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-04 12:50:43 +03:00