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

Fix for AU bundle paths; added column width access to TableHeaderComponent, made FileBasedDocument do extra checking about file overwriting

This commit is contained in:
Julian Storer 2009-10-21 19:31:46 +01:00
parent 1c01e897d9
commit 7e56a7514c
7 changed files with 345 additions and 352 deletions

View file

@ -191,6 +191,12 @@ void TableHeaderComponent::moveColumn (const int columnId, int newIndex)
}
}
int TableHeaderComponent::getColumnWidth (const int columnId) const throw()
{
const ColumnInfo* const ci = getInfoForId (columnId);
return ci != 0 ? ci->width : 0;
}
void TableHeaderComponent::setColumnWidth (const int columnId, const int newWidth)
{
ColumnInfo* const ci = getInfoForId (columnId);