Commit Graph

66 Commits

Author SHA1 Message Date
asava
2c65cd53f7 Restructuring of GetIcon/GetIconAlt/FillByDir, hopefully cover all cases now 2020-04-21 21:41:35 +03:00
SergeySlice
d91781b79e repaired NonSelectedGray and inline badges
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-21 18:57:47 +03:00
asava
2aca7f3ec3 Correct getting of embedded icons in case icon not loaded 2020-04-21 03:39:49 +03:00
asava
2ec6b3f905 Correct background on resolution change & eliminate redundant calls 2020-04-20 03:55:35 +03:00
asava
73f5205891 Another fail-safe check 2020-04-18 22:11:50 +03:00
asava
ea58107509 Add some fail-safe checks to XImage and XTheme 2020-04-18 12:46:52 +03:00
Sergey Isakov
1248bf2c71 use embedded icon with same id if theme native absent
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-18 09:39:47 +03:00
Sergey Isakov
79af8de0a0 separated EG_IMAGE to exclude them
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-16 14:42:14 +03:00
asava
f86e36a7e5 Correct theme Daylight, DarkEmbedded, some other theme issues 2020-04-16 14:04:24 +03:00
asava
6e1f5206b8 Correct theme change, correct vector theme assignment 2020-04-15 23:12:43 +03:00
Sergey Isakov
631a024373 refactoring anime into xcinema
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-15 19:30:39 +03:00
Sergey Isakov
c32de7f2d2 draft xcinema to be replacement for GUI_ANIME
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-14 19:52:13 +03:00
jief
807e36c427 GetIcon memory leak. 2020-04-14 10:33:02 +03:00
Sergey Isakov
12990aacd1 repair background scaling
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-12 21:53:27 +03:00
Sergey Isakov
de181aecfb change background of embedded theme
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-11 23:08:03 +03:00
Sergey Isakov
ba80bb4f4d use embedded logo, drive image priorities changed
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-10 22:29:51 +03:00
Sergey Isakov
3ef56cd78d improve smbios information
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-10 17:35:24 +03:00
Sergey Isakov
84a320ba5d big cleanup to XTHEME
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-10 13:04:21 +03:00
Sergey Isakov
fd2547c281 safe draw
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-09 21:04:35 +03:00
Sergey Isakov
790fedbdc6 initial support for cinema
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-09 09:04:21 +03:00
Sergey Isakov
13588fb67c allow triple os name like chrome,grub,linux
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-09 06:32:57 +03:00
Sergey Isakov
4be33ca401 correct codepage for help screen
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-08 12:45:36 +03:00
Sergey Isakov
91ba53fd1c fix compose, fix badge position
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-08 10:32:26 +03:00
Sergey Isakov
75427f2d83 refactoring text handling
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-07 22:48:36 +03:00
Sergey Isakov
7635c0ca3b cache embedded images
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-06 15:26:16 +03:00
Sergey Isakov
3ba2ecd0fc use builtin icons when not theme provided
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-06 12:15:36 +03:00
Sergey Isakov
2971779ddf load os icons for legacy
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-06 00:14:27 +03:00
Sergey Isakov
4d9c1efd0c take optional os icons
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-05 18:54:10 +03:00
Sergey Isakov
1c69fccb7a exclude InitSelection as it done during theme init
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-05 17:04:39 +03:00
Jief L
b8bb76d51e Refactor LoadOptions as XString. 2020-04-05 15:25:39 +03:00
Sergey Isakov
dc558d04aa resolve conflict between menu and menu
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-05 06:44:27 +03:00
Jief L
3cac160b6d Put functions back in menu.cpp 2020-04-04 15:27:02 +03:00
Sergey Isakov
f638ad999a correct add legacy entry
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-04 06:46:41 +03:00
Sergey Isakov
8b5ec83c6a refactoring menu entries
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-03 23:00:42 +03:00
Jief L
418b4f4cc3 Get SelectionImage to work. 2020-04-02 22:27:10 +03:00
Sergey Isakov
ddccb001e6 repair scroll position
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-02 17:03:58 +03:00
Sergey Isakov
5b84f64f61 pixel operations
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-01 20:07:57 +03:00
Sergey Isakov
5f037cc29a correct ximage compose
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-01 17:59:58 +03:00
Sergey Isakov
f70c4e14d2 refactoring DrawText and Pixels
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-01 15:57:32 +03:00
Jief L
0b19538bee Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-31 18:59:42 +03:00
Jief L
23b45d569a Get rid of XStringWP + few cleanings. 2020-03-31 18:59:35 +03:00
Sergey Isakov
a37196ab8c repair background draw
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-31 17:25:07 +03:00
Sergey Isakov
0c62865b22 eliminate mouse edge effect
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-31 15:35:04 +03:00
Sergey Isakov
6dc43d9d8e a possibility to use wchar in icon names
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-30 18:31:52 +03:00
Sergey Isakov
941244d894 merge conflict
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-29 19:19:08 +03:00
Sergey Isakov
4a541a5469 include parseXthem to xtheme class
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-29 19:17:27 +03:00
Jief L
e734530b9b Get rid of AsciiSPrint. 2020-03-29 16:44:08 +03:00
Jief L
22b9a6013b Fix compilation of getIcon methods 2020-03-29 13:19:05 +03:00
Sergey Isakov
e59f205afc some comments around vector theme
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-29 08:42:33 +03:00
SergeySlice
cf61a01b03 parse svg xtheme, not verified
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-28 21:34:23 +03:00