Commit graph

4564 commits

Author SHA1 Message Date
av-dx
01030ab10f GUI: Add variables for grid padding 2021-11-12 14:46:34 +01:00
av-dx
4674cfa838 GUI: Move tray icon assignment to reflowLayout() 2021-11-12 14:46:34 +01:00
av-dx
677a752709 JANITORIAL: Fix build errors on --disable-c++11 2021-11-12 14:46:34 +01:00
av-dx
4fb800b591 JANITORIAL: Formatting fixes 2021-11-12 14:46:34 +01:00
av-dx
6f4c26061b GUI: Directly get fontHeight from g_gui.getFontHeight() 2021-11-12 14:46:34 +01:00
av-dx
4559ad8f90 GUI: Move variable declaration to the initialization 2021-11-12 14:46:34 +01:00
av-dx
0d954b5680 JANITORIAL: Remove debug warnings 2021-11-12 14:46:34 +01:00
av-dx
08b442aa76 GUI: Get rid of placeholder for fold indicator 2021-11-12 14:46:34 +01:00
av-dx
142759bf31 GUI: Dynamic height of grid entries based on title size 2021-11-12 14:46:34 +01:00
av-dx
79a8ca9710 GUI: Move calculation of entry sizes into a function 2021-11-12 14:46:34 +01:00
av-dx
c9c212ab9a GUI: Fix wrong comparison of _entriesPerPage 2021-11-12 14:46:34 +01:00
av-dx
72db693a3d GUI: Draw group headers in the grid as highlighted 2021-11-12 14:46:34 +01:00
av-dx
477407f14c JANITORIAL: Formatting fixes 2021-11-12 14:46:34 +01:00
av-dx
0ef92b04bb GUI: Fix multiline title display 2021-11-12 14:46:34 +01:00
av-dx
cb96b2da1c GUI: Initialise _itemsPerRow as 0 2021-11-12 14:46:34 +01:00
av-dx
a6928f6baf GUI: Add toggleGroups() and call it on clicking headers 2021-11-12 14:46:34 +01:00
av-dx
fb9c232f25 GUI: Get size and position of grid item from GridItemInfo 2021-11-12 14:46:34 +01:00
av-dx
6c2fdec8a8 GUI: Test grouping (not rendered) 2021-11-12 14:46:34 +01:00
av-dx
24e82ddd42 GUI: Change _visibleEntries into a list of pointers 2021-11-12 14:46:34 +01:00
av-dx
18066e3f77 GUI: Change _selectedEntry from int to GridItemInfo * 2021-11-12 14:46:34 +01:00
av-dx
7de105b3f8 GUI: Make use of layout variables for scrollbar size 2021-11-12 14:46:34 +01:00
av-dx
5eafa9d562 GUI: Partially revert 86564c8 2021-11-12 14:46:34 +01:00
av-dx
2942c54abe GUI: Add isHeader bool to GridItemInfo 2021-11-12 14:46:34 +01:00
av-dx
7fc050a084 GUI: Fix unnecessary negation of _scrollPos 2021-11-12 14:46:34 +01:00
av-dx
8796b88251 JANITORIAL: Minor whitespace formatting fix 2021-11-12 14:46:34 +01:00
av-dx
b5146d814b GUI: Use "iconspath" config instead of "iconpath"
"iconspath" was already being used by the taskbar to display icons.
2021-11-12 14:46:34 +01:00
av-dx
7375af8c59 GUI: Remove placeholder values in scrollbar initialization 2021-11-12 14:46:34 +01:00
av-dx
6d256a4b44 GUI: Don't continue when PNGDecoder fails to load file 2021-11-12 14:46:34 +01:00
av-dx
dda3c8f342 JANITORIAL: Improve readability of code in GridItemTray() 2021-11-12 14:46:34 +01:00
av-dx
4ab39e81b1 JANITORIAL: Improve readability of code in drawWidget() 2021-11-12 14:46:34 +01:00
av-dx
8805365b59 GUI: Removed unnecessary variable assignments 2021-11-12 14:46:34 +01:00
av-dx
dac2f68e2f GUI: Add comments 2021-11-12 14:46:34 +01:00
av-dx
33f4293528 GUI: Remove unnecessary preprocessor directives 2021-11-12 14:46:34 +01:00
av-dx
33b5694a4e JANITORIAL: Formatting fixes 2021-11-12 14:46:34 +01:00
av-dx
85fa7a26ff JANITORIAL: Protected few GridWidget members as appropriate 2021-11-12 14:46:34 +01:00
av-dx
cdc62b6aca GUI: Don't attempt to start if group header is selected 2021-11-12 14:46:34 +01:00
av-dx
7fd536db4f GUI: Fix signed comparison in for loops 2021-11-12 14:46:34 +01:00
av-dx
cdeb79c13e GUI: Don't carry over selection if it's a header 2021-11-12 14:46:34 +01:00
av-dx
444d16383d JANITORIAL: Improve readability of few calculations 2021-11-12 14:46:34 +01:00
av-dx
4f97262dd9 JANITORIAL: Removed unused enum 2021-11-12 14:46:34 +01:00
av-dx
1046af5cf2 GUI: Make selection carry over between group methods 2021-11-12 14:46:34 +01:00
av-dx
16cb024950 GUI: Select the correct element on clicking the List 2021-11-12 14:46:34 +01:00
av-dx
d8d257770d GUI: setSelected() in ListWidget acc. to idx not pos 2021-11-12 14:46:34 +01:00
av-dx
499dab438f GUI: Test PopupWidget for grouping method selection 2021-11-12 14:46:34 +01:00
av-dx
7d3d4a76e5 GUI: Add multiple grouping methods 2021-11-12 14:46:34 +01:00
av-dx
c3dd558044 GUI: Separate function to set the attribute list 2021-11-12 14:46:34 +01:00
av-dx
777ae61dfa GUI: Restore placeholder symbols for fold indicator
This will be replaced with triangle drawing when #3178 is merged.
2021-11-12 14:46:34 +01:00
av-dx
4bba4cbee2 GUI: Add header prefix and suffix for formatting 2021-11-12 14:46:34 +01:00
av-dx
825709e7ba GUI: Add ascending sort to group headers 2021-11-12 14:46:34 +01:00
av-dx
0095088ead JANITORIAL: Address unsigned int comparison warning 2021-11-12 14:46:34 +01:00