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

Added a few methods to Range, and used Ranges internally in Slider. Cleaned up a few files.

This commit is contained in:
Julian Storer 2010-03-30 15:23:53 +01:00
parent 8de537e52c
commit 8532475b9c
29 changed files with 381 additions and 308 deletions

View file

@ -47,7 +47,7 @@ public:
DirectoryContentsList* const parentContentsList_,
const int indexInContentsList_,
const File& file_,
TimeSliceThread& thread_) throw()
TimeSliceThread& thread_)
: file (file_),
owner (owner_),
parentContentsList (parentContentsList_),
@ -72,7 +72,7 @@ public:
}
}
~FileListTreeItem() throw()
~FileListTreeItem()
{
thread.removeTimeSliceClient (this);
@ -116,7 +116,7 @@ public:
}
}
void setSubContentsList (DirectoryContentsList* newList) throw()
void setSubContentsList (DirectoryContentsList* newList)
{
jassert (subContentsList == 0);
subContentsList = newList;
@ -203,7 +203,7 @@ private:
String fileSize;
String modTime;
void updateIcon (const bool onlyUpdateIfCached) throw()
void updateIcon (const bool onlyUpdateIfCached)
{
if (icon == 0)
{
@ -261,7 +261,7 @@ void FileTreeComponent::scrollToTop()
getViewport()->getVerticalScrollBar()->setCurrentRangeStart (0);
}
void FileTreeComponent::setDragAndDropDescription (const String& description) throw()
void FileTreeComponent::setDragAndDropDescription (const String& description)
{
dragAndDropDescription = description;
}