LMMS
Loading...
Searching...
No Matches
juce::LinuxComponentPeer::LinuxRepaintManager Class Reference
Inheritance diagram for juce::LinuxComponentPeer::LinuxRepaintManager:
juce::Timer

Public Member Functions

 LinuxRepaintManager (LinuxComponentPeer &p)
void timerCallback () override
void repaint (Rectangle< int > area)
void performAnyPendingRepaintsNow ()
Public Member Functions inherited from juce::Timer
virtual ~Timer ()
void startTimer (int intervalInMilliseconds) noexcept
void startTimerHz (int timerFrequencyHz) noexcept
void stopTimer () noexcept
bool isTimerRunning () const noexcept
int getTimerInterval () const noexcept

Private Types

enum  { repaintTimerPeriod = 1000 / 100 }

Private Attributes

LinuxComponentPeerpeer
const bool isSemiTransparentWindow
Image image
uint32 lastTimeImageUsed = 0
RectangleList< intregionsNeedingRepaint
bool useARGBImagesForRendering = XWindowSystem::getInstance()->canUseARGBImages()

Additional Inherited Members

Static Public Member Functions inherited from juce::Timer
static void JUCE_CALLTYPE callAfterDelay (int milliseconds, std::function< void()> functionToCall)
static void JUCE_CALLTYPE callPendingTimersSynchronously ()
Protected Member Functions inherited from juce::Timer
 Timer () noexcept
 Timer (const Timer &) noexcept

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
repaintTimerPeriod 

Constructor & Destructor Documentation

◆ LinuxRepaintManager()

juce::LinuxComponentPeer::LinuxRepaintManager::LinuxRepaintManager ( LinuxComponentPeer & p)
inline

Member Function Documentation

◆ performAnyPendingRepaintsNow()

void juce::LinuxComponentPeer::LinuxRepaintManager::performAnyPendingRepaintsNow ( )
inline

◆ repaint()

void juce::LinuxComponentPeer::LinuxRepaintManager::repaint ( Rectangle< int > area)
inline

◆ timerCallback()

void juce::LinuxComponentPeer::LinuxRepaintManager::timerCallback ( )
inlineoverridevirtual

The user-defined callback routine that actually gets called periodically.

It's perfectly ok to call startTimer() or stopTimer() from within this callback to change the subsequent intervals.

Implements juce::Timer.

Member Data Documentation

◆ image

Image juce::LinuxComponentPeer::LinuxRepaintManager::image
private

◆ isSemiTransparentWindow

const bool juce::LinuxComponentPeer::LinuxRepaintManager::isSemiTransparentWindow
private

◆ lastTimeImageUsed

uint32 juce::LinuxComponentPeer::LinuxRepaintManager::lastTimeImageUsed = 0
private

◆ peer

LinuxComponentPeer& juce::LinuxComponentPeer::LinuxRepaintManager::peer
private

◆ regionsNeedingRepaint

RectangleList<int> juce::LinuxComponentPeer::LinuxRepaintManager::regionsNeedingRepaint
private

◆ useARGBImagesForRendering

bool juce::LinuxComponentPeer::LinuxRepaintManager::useARGBImagesForRendering = XWindowSystem::getInstance()->canUseARGBImages()
private

The documentation for this class was generated from the following file: