Commit graph

71 commits

Author SHA1 Message Date
av-dx
752e4414c8 GUI: Create subdirs for flags and platforms in icon dir 2021-11-12 14:46:34 +01:00
av-dx
c2ebb2b144 GUI: Use transparency for tray button icons 2021-11-12 14:46:34 +01:00
av-dx
627e9457c4 JANITORIAL: Minor formatting fixes 2021-11-12 14:46:34 +01:00
av-dx
c9b8cb1a0e GUI: Replace enum-indexed arrays with HashMaps 2021-11-12 14:46:34 +01:00
av-dx
828361b84d GUI: Store language as Common::Language in GridItemInfo 2021-11-12 14:46:34 +01:00
av-dx
96e563b752 GUI: Load platforms from g_platforms[] list 2021-11-12 14:46:34 +01:00
av-dx
5699eb1e23 GUI: Remove leftover warnings 2021-11-12 14:46:34 +01:00
av-dx
6ca4c3f086 GUI: Fix handling of unavailable platform icons 2021-11-12 14:46:34 +01:00
av-dx
6ce75d06f4 GUI: Add config option for icons' path 2021-11-12 14:46:34 +01:00
av-dx
1754333308 GUI: Replace breakText with Font::wordWrapText() 2021-11-12 14:46:34 +01:00
av-dx
89c589aa11 JANITORIAL: Replace auto keyword with resolved type 2021-11-12 14:46:34 +01:00
av-dx
1f18febade JANITORIAL: Formatting fixes 2021-11-12 14:46:34 +01:00
av-dx
04815382c9 GUI: Add grid specific cmds to LauncherGrid 2021-11-12 14:46:34 +01:00
av-dx
3f1c5dcacc GUI: Pass tray handle() methods to the base Dialog class 2021-11-12 14:46:34 +01:00
av-dx
1684ec092e GUI: Don't send generic cmds from GridWidget 2021-11-12 14:46:34 +01:00
av-dx
228519f805 GUI: Set default selection in grid to -1 2021-11-12 14:46:34 +01:00
av-dx
afad34f767 GUI: Remove entry assignment for invisible items. 2021-11-12 14:46:34 +01:00
av-dx
944fff8574 GUI: Close the tray when mouse navigates away from it. 2021-11-12 14:46:34 +01:00
av-dx
f5ff9f748c GUI: Reload the grid when entry list is updated 2021-11-12 14:46:34 +01:00
av-dx
3b4be43a97 GUI: Add title tooltip on hover 2021-11-12 14:46:34 +01:00
av-dx
6485954a12 GUI: Set selected entry only upon clicking in grid 2021-11-12 14:46:34 +01:00
av-dx
1fd21c7c7d GUI: Center-align titles 2021-11-12 14:46:34 +01:00
av-dx
2a042eb3c2 GUI: Break lines in thumbnail placeholder text 2021-11-12 14:46:34 +01:00
av-dx
304d286443 GUI: Break title by words 2021-11-12 14:46:34 +01:00
av-dx
e32acc5f52 GUI: Add function to break text for 2-line title display 2021-11-12 14:46:34 +01:00
av-dx
ad7f07f919 GUI: Move firstVisibleItem calcn. to calcVisibleEntries() 2021-11-12 14:46:34 +01:00
av-dx
7e63200f78 GUI: Launcher can get the selected entry from the grid 2021-11-12 14:46:34 +01:00
av-dx
638ad5be5d GUI: Hide the topmost offscreen row. 2021-11-12 14:46:34 +01:00
av-dx
db4972c577 GUI: Autoscroll the grid when offscreen entry is selected 2021-11-12 14:46:34 +01:00
av-dx
dda32aadcc GUI: Only visible items are selectable 2021-11-12 14:46:34 +01:00
av-dx
ad73d0088b GUI: Pass handleMouseWheel from grid to the scrollBar 2021-11-12 14:46:34 +01:00
av-dx
84a372e759 GUI: Reload thumbnails if size changes in theme 2021-11-12 14:46:34 +01:00
av-dx
a708bea52a GUI: Display the correct number of entries 2021-11-12 14:46:34 +01:00
av-dx
af36819694 GUI: Set tray height according to line height 2021-11-12 14:46:34 +01:00
av-dx
e9f068f497 GUI: Add option to hide titles in themes 2021-11-12 14:46:34 +01:00
av-dx
4115f4c535 GUI: Load flags using g_languages[] list 2021-11-12 14:46:34 +01:00
av-dx
0c159e3bbf GUI: Revert immediate draw() of grid item on hover 2021-11-12 14:46:34 +01:00
av-dx
32de3d216d GUI: Draw title when thumbnail is missing 2021-11-12 14:46:34 +01:00
av-dx
a13b498922 GUI: Disable scaling on tray buttons 2021-11-12 14:46:34 +01:00
av-dx
3ab7e7f6b5 GUI: Fix width of tray 2021-11-12 14:46:34 +01:00
av-dx
e8f4a6115d GUI: Clear _allEntries when setting entry list. 2021-11-12 14:46:34 +01:00
av-dx
a5d1a5e2ef GUI: Immediately redraw widget on hovering. 2021-11-12 14:46:34 +01:00
av-dx
6e9ed02d79 GUI: Read layout variables on reflow 2021-11-12 14:46:34 +01:00
av-dx
b4ed090482 GUI: Relativise few spacing values 2021-11-12 14:46:34 +01:00
av-dx
598336710b GUI: Add MouseMoved to trigger MouseEntered 2021-11-12 14:46:34 +01:00
av-dx
c58c89b391 GUI: Refactor grid shifting loop into move() 2021-11-12 14:46:34 +01:00
av-dx
5d448016e2 GUI: Read scrollbar width from theme 2021-11-12 14:46:34 +01:00
av-dx
8f28b5f55f GUI: Add GridWidget destructor 2021-11-12 14:46:34 +01:00
av-dx
674e548d1b GUI: #include to resolve forward declaration of SeekableReadStream 2021-11-12 14:46:34 +01:00
av-dx
23ecdf5a54 GUI: Refactor entry assignment into a function 2021-11-12 14:46:34 +01:00