LibreOffice Module sw (master)  1
Macros | Functions | Variables
blink.cxx File Reference
#include <memory>
#include <viewsh.hxx>
#include <rootfrm.hxx>
#include <txtfrm.hxx>
#include <blink.hxx>
#include "porlin.hxx"
#include "porlay.hxx"
Include dependency graph for blink.cxx:

Go to the source code of this file.

Macros

#define BLINK_ON_TIME   2400
 
#define BLINK_OFF_TIME   800
 

Functions

 IMPL_LINK_NOARG (SwBlink, Blinker, Timer *, void)
 SwBlink::Blinker (timer): Toggle visibility flag Determine the repaint rectangle and invalidate them in their OleShells. More...
 

Variables

SwBlinkpBlink = nullptr
 pBlink points to the instance where blinking portions need to register. More...
 

Macro Definition Documentation

#define BLINK_OFF_TIME   800

Definition at line 31 of file blink.cxx.

Referenced by IMPL_LINK_NOARG().

#define BLINK_ON_TIME   2400

Definition at line 29 of file blink.cxx.

Referenced by IMPL_LINK_NOARG(), and SwBlink::SwBlink().

Function Documentation

IMPL_LINK_NOARG ( SwBlink  ,
Blinker  ,
Timer ,
void   
)

Variable Documentation

SwBlink* pBlink = nullptr

pBlink points to the instance where blinking portions need to register.

If necessary, it needs to be created by SwBlink. They are then triggered rhythmically for a repaint. They can query for being visible or invisible with IsVisible().

Definition at line 39 of file blink.cxx.

Referenced by SwRootFrame::DestroyImpl(), SwTextPaintInfo::DrawText_(), SwTextFrame::Format_(), SwTextFormatter::FormatReset(), SwLineLayout::Insert(), TextFinit(), SwDropPortion::~SwDropPortion(), SwFieldPortion::~SwFieldPortion(), SwLineLayout::~SwLineLayout(), and SwLinePortion::~SwLinePortion().