LibreOffice Module svx (master)  1
Classes | Macros | Functions
_bmpmask.cxx File Reference
#include <vcl/event.hxx>
#include <vcl/metaact.hxx>
#include <vcl/virdev.hxx>
#include <svtools/valueset.hxx>
#include <svl/eitem.hxx>
#include <sfx2/dispatch.hxx>
#include <svtools/colrdlg.hxx>
#include <svx/colorbox.hxx>
#include <svx/dialmgr.hxx>
#include <svx/bmpmask.hxx>
#include <svx/strings.hrc>
#include <svx/svxids.hrc>
#include <memory>
#include <helpids.h>
Include dependency graph for _bmpmask.cxx:

Go to the source code of this file.

Classes

class  BmpColorWindow
 
class  MaskSet
 
class  MaskData
 

Macros

#define OWN_CALLMODE   SfxCallMode::ASYNCHRON | SfxCallMode::RECORD
 
#define TEST_COLS()
 

Functions

 IMPL_LINK (MaskData, PipetteHdl, const OString &, rId, void)
 
 IMPL_LINK (MaskData, CbxHdl, weld::ToggleButton &, rCbx, void)
 
 IMPL_LINK (MaskData, CbxTransHdl, weld::ToggleButton &, rCbx, void)
 
 IMPL_LINK (MaskData, FocusLbHdl, weld::Widget &, rLb, void)
 
 IMPL_LINK_NOARG (MaskData, ExecHdl, weld::Button &, void)
 

Macro Definition Documentation

#define OWN_CALLMODE   SfxCallMode::ASYNCHRON | SfxCallMode::RECORD

Definition at line 36 of file _bmpmask.cxx.

Referenced by SvxBmpMask::Close(), IMPL_LINK(), and IMPL_LINK_NOARG().

#define TEST_COLS ( )
Value:
{ \
nR = aCol.GetRed(); nG = aCol.GetGreen(); nB = aCol.GetBlue(); \
for( i = 0; i < nCount; i++ ) \
{ \
if ( ( pMinR[i] <= nR ) && ( pMaxR[i] >= nR ) && \
( pMinG[i] <= nG ) && ( pMaxG[i] >= nG ) && \
( pMinB[i] <= nB ) && ( pMaxB[i] >= nB ) ) \
{ \
aCol = pDstCols[i]; bReplace = true; break; \
} \
} \
}
int nCount
int i

Definition at line 39 of file _bmpmask.cxx.

Referenced by SvxBmpMask::ImpMask().

Function Documentation

IMPL_LINK ( MaskData  ,
PipetteHdl  ,
const OString &  ,
rId  ,
void   
)

Definition at line 192 of file _bmpmask.cxx.

References OWN_CALLMODE.

IMPL_LINK ( MaskData  ,
CbxHdl  ,
weld::ToggleButton ,
rCbx  ,
void   
)

Definition at line 201 of file _bmpmask.cxx.

References MaskSet::Select(), and ValueSet::SelectItem().

IMPL_LINK ( MaskData  ,
CbxTransHdl  ,
weld::ToggleButton ,
rCbx  ,
void   
)

Definition at line 233 of file _bmpmask.cxx.

IMPL_LINK ( MaskData  ,
FocusLbHdl  ,
weld::Widget ,
rLb  ,
void   
)

Definition at line 292 of file _bmpmask.cxx.

IMPL_LINK_NOARG ( MaskData  ,
ExecHdl  ,
weld::Button ,
void   
)

Definition at line 300 of file _bmpmask.cxx.

References OWN_CALLMODE.