33 static Image createIconForFile (
const File& file);
36 static bool isEmbeddedInForegroundProcess (
Component* c);
37 static bool isWindowOnCurrentVirtualDesktop (
void*);
39 static bool isEmbeddedInForegroundProcess (
Component*) {
return false; }
40 static bool isWindowOnCurrentVirtualDesktop (
void*) {
return true; }
51 template <
typename Value>
Specifies a set of gaps to be left around the sides of a rectangle.
ValueType getTop() const noexcept
Returns the gap that should be left at the top of the region.
ValueType getLeft() const noexcept
Returns the gap that should be left at the left of the region.
ValueType getRight() const noexcept
Returns the gap that should be left at the right of the region.
ValueType getBottom() const noexcept
Returns the gap that should be left at the bottom of the region.
The base class for all JUCE user-interface objects.
Represents a local file or directory.
Holds a fixed-size bitmap.
static bool JUCE_CALLTYPE isForegroundProcess()
Returns true if this application process is the one that the user is currently using.
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...
int roundToInt(const FloatType value) noexcept
Fast floating-point-to-integer conversion.