Commit graph

48 commits

Author SHA1 Message Date
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
av-dx
a643f12eab GUI: Free up original images after loading thumbs 2021-11-12 14:46:34 +01:00
av-dx
bf7c05b265 GUI: Load a placeholder thumb 2021-11-12 14:46:34 +01:00
av-dx
0e71bdc67f GUI: Use grid padding from theme. 2021-11-12 14:46:34 +01:00
av-dx
512105678b GUI: Add responsive handling to tray 2021-11-12 14:46:34 +01:00
av-dx
422b93586c GUI: Implement scroll through scroll bar. 2021-11-12 14:46:34 +01:00
av-dx
68bec2375d GUI: Pass the cmds from tray to launcher dialog 2021-11-12 14:46:34 +01:00
av-dx
ae6835b2f9 GUI: Add tray icons 2021-11-12 14:46:34 +01:00
av-dx
5552454bce GUI: Formatting and documentation of code. 2021-11-12 14:46:34 +01:00
av-dx
aed54e4300 GUI: Add a non-interactive scroll bar 2021-11-12 14:46:34 +01:00
av-dx
fa5e0d5674 GUI: Test out tray dialog to lauch games. 2021-11-12 14:46:34 +01:00
av-dx
4bc9c6165c GUI: Add highlight on hover to grid items 2021-11-12 14:46:34 +01:00
av-dx
58b50c7f96 GUI: Calc idx of first visible entry outside calcVisibleEnties() 2021-11-12 14:46:34 +01:00
av-dx
801fde51c7 GUI: Render flags to represent language 2021-11-12 14:46:34 +01:00
av-dx
0e78cef7a4 GUI: Correct calculation for total number of rows 2021-11-12 14:46:34 +01:00
av-dx
88d2564d4e GUI: Fix wrong position of widgets on resize 2021-11-12 14:46:34 +01:00
av-dx
b24bbbca33 GUI: Shift entire grid while scrolling. 2021-11-12 14:46:34 +01:00
av-dx
5bbcaa534e GUI: Pass the scroll event from GridItem to GridWidget 2021-11-12 14:46:34 +01:00
av-dx
d37086ac56 GUI: Replace GridItem component widgets with drawSurface() 2021-11-12 14:46:34 +01:00
av-dx
585313edd1 GUI: Adjust spacing when resizing to justify items 2021-11-12 14:46:34 +01:00
av-dx
c4fd0220c5 GUI: Read few layout variables from theme 2021-11-12 14:46:34 +01:00
av-dx
6a57173c5a GUI: Moved Grid widgets to separate files. 2021-11-12 14:46:34 +01:00