Andreas Kling
ac53af6b7b
LibGUI: Mouse events didn't hit table headers when vertically scrolled
...
Only take the horizontal scroll into account when hit testing the
table view headers.
2020-02-25 23:06:40 +01:00
DAlperin
8e1645423f
LibGUI: Make descendants of AbstractView define their own select_all() ( #1201 )
...
AbstractView does not know which column it's displaying which makes it
impossible to implement the select_all functionality up there. Now
descendants override the pure virtual select_all method and implement
it themselves.
2020-02-25 16:03:15 +01:00
Andreas Kling
ceec1a7d38
AK: Make Vector use size_t for its size and capacity
2020-02-25 14:52:35 +01:00
Andreas Kling
c5d913970a
LibGUI: Remove parent parameter to GUI::Widget constructor
2020-02-23 12:27:53 +01:00
Andreas Kling
bfd86c4631
LibGUI: Make GUI::Frame have the 2px sunken container look by default
...
The overwhelming majority of GUI::Frame users set the same appearance,
so let's just make it the default.
2020-02-23 11:10:52 +01:00
Andreas Kling
a406a8c7d2
LibGUI: Remove debug spam when resizing table columns
2020-02-22 21:27:08 +01:00
Andreas Kling
99978b771d
LibGUI: Take scroll offset into account when manipulating table headers
...
Fixes #1271 .
2020-02-22 15:04:02 +01:00
Andreas Kling
2143da6434
LibGUI: Add forwarding header
...
This patch adds <LibGUI/Forward.h> and uses it a bunch.
It also dragged various header dependency reduction changes into it.
2020-02-16 09:41:56 +01:00
Andreas Kling
9e83bbe1cd
LibGUI: Reduce header dependencies of GUI::Action
2020-02-15 01:34:00 +01:00
Andreas Kling
0cdf68f668
LibGUI: Always unhighlight table view column headers when cursor leaves
...
If the cursor left a table view column header while also pressing it,
we would keep the header highlighted. This was not consistent with how
regular buttons behaved.
2020-02-12 19:35:25 +01:00
Andreas Kling
6a9cc66b97
LibGUI: Remove leading G from filenames
2020-02-06 20:33:02 +01:00