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 OUString &, rId, void)
 
 IMPL_LINK (MaskData, CbxHdl, weld::Toggleable &, rCbx, void)
 
 IMPL_LINK (MaskData, CbxTransHdl, weld::Toggleable &, rCbx, void)
 
 IMPL_LINK (MaskData, FocusLbHdl, weld::Widget &, rLb, void)
 
 IMPL_LINK_NOARG (MaskData, ExecHdl, weld::Button &, void)
 

Macro Definition Documentation

◆ OWN_CALLMODE

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

Definition at line 36 of file _bmpmask.cxx.

◆ TEST_COLS

#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.

Function Documentation

◆ IMPL_LINK() [1/4]

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

Definition at line 201 of file _bmpmask.cxx.

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

◆ IMPL_LINK() [2/4]

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

Definition at line 233 of file _bmpmask.cxx.

◆ IMPL_LINK() [3/4]

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

Definition at line 292 of file _bmpmask.cxx.

◆ IMPL_LINK() [4/4]

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

Definition at line 192 of file _bmpmask.cxx.

References OWN_CALLMODE.

◆ IMPL_LINK_NOARG()

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

Definition at line 300 of file _bmpmask.cxx.

References OWN_CALLMODE.