1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-15 00:24:19 +00:00

Added colour ids to modify the colours of the TableHeaderComponent

This commit is contained in:
hogliux 2017-08-16 12:35:27 +01:00
parent afada01e41
commit e65708eb4c
5 changed files with 49 additions and 15 deletions

View file

@ -537,7 +537,7 @@ void TableHeaderComponent::paint (Graphics& g)
g.setOrigin (x, 0);
g.reduceClipRegion (0, 0, ci->width, getHeight());
lf.drawTableHeaderColumn (g, ci->name, ci->id, ci->width, getHeight(),
lf.drawTableHeaderColumn (g, *this, ci->name, ci->id, ci->width, getHeight(),
ci->id == columnIdUnderMouse,
ci->id == columnIdUnderMouse && isMouseButtonDown(),
ci->propertyFlags);