1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-30 02:50:05 +00:00

Added a class Graphics::ScopedSaveState. Fixed a window dragging problem in win32, some VC6 compile errors, and made the jucer makefile builder use the target binary folder.

This commit is contained in:
Julian Storer 2010-12-13 20:06:12 +00:00
parent 76b128d90e
commit a37d5041dd
21 changed files with 167 additions and 125 deletions

View file

@ -543,7 +543,8 @@ void TableHeaderComponent::paint (Graphics& g)
|| dragOverlayComp == 0
|| ! dragOverlayComp->isVisible()))
{
g.saveState();
Graphics::ScopedSaveState ss (g);
g.setOrigin (x, 0);
g.reduceClipRegion (0, 0, ci->width, getHeight());
@ -551,8 +552,6 @@ void TableHeaderComponent::paint (Graphics& g)
ci->id == columnIdUnderMouse,
ci->id == columnIdUnderMouse && isMouseButtonDown(),
ci->propertyFlags);
g.restoreState();
}
x += ci->width;