mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
GTableView: Allow changing sort options by clicking column headers.
Also paint the sorted column slightly differently to indicate what's up.
This commit is contained in:
parent
7d1142c7d9
commit
3681a402ba
Notes:
sideshowbarker
2024-07-19 15:06:51 +09:00
Author: https://github.com/awesomekling
Commit: 3681a402ba
2 changed files with 40 additions and 0 deletions
|
@ -40,6 +40,8 @@ private:
|
|||
void update_scrollbar_ranges();
|
||||
int item_count() const;
|
||||
Rect row_rect(int item_index) const;
|
||||
Rect header_rect(int) const;
|
||||
int column_width(int) const;
|
||||
|
||||
GScrollBar* m_vertical_scrollbar { nullptr };
|
||||
GScrollBar* m_horizontal_scrollbar { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue