Krita Source Code Documentation
Loading...
Searching...
No Matches
MoveSelectionStrokeStrategy::ShowSelectionData Struct Reference

#include <move_selection_stroke_strategy.h>

+ Inheritance diagram for MoveSelectionStrokeStrategy::ShowSelectionData:

Public Member Functions

KisStrokeJobDatacreateLodClone (int levelOfDetail) override
 
 ShowSelectionData (bool _showSelection)
 
- Public Member Functions inherited from KisStrokeJobData
Exclusivity exclusivity ()
 
bool isBarrier () const
 
bool isCancellable () const
 
bool isExclusive () const
 
bool isSequential () const
 
 KisStrokeJobData (Sequentiality sequentiality=SEQUENTIAL, Exclusivity exclusivity=NORMAL)
 
int levelOfDetailOverride () const
 
Sequentiality sequentiality ()
 
void setCancellable (bool value)
 
void setLevelOfDetailOverride (int value)
 
virtual ~KisStrokeJobData ()
 

Public Attributes

bool showSelection = false
 

Protected Member Functions

 ShowSelectionData (const ShowSelectionData &rhs, int levelOfDetail)
 
- Protected Member Functions inherited from KisStrokeJobData
 KisStrokeJobData (const KisStrokeJobData &rhs)
 

Additional Inherited Members

- Public Types inherited from KisStrokeJobData
enum  Exclusivity { NORMAL , EXCLUSIVE }
 
enum  Sequentiality { CONCURRENT , SEQUENTIAL , BARRIER , UNIQUELY_CONCURRENT }
 

Detailed Description

Definition at line 24 of file move_selection_stroke_strategy.h.

Constructor & Destructor Documentation

◆ ShowSelectionData() [1/2]

MoveSelectionStrokeStrategy::ShowSelectionData::ShowSelectionData ( bool _showSelection)
inline

Definition at line 26 of file move_selection_stroke_strategy.h.

28 showSelection(_showSelection)
29 {}
KisStrokeJobData(Sequentiality sequentiality=SEQUENTIAL, Exclusivity exclusivity=NORMAL)

◆ ShowSelectionData() [2/2]

MoveSelectionStrokeStrategy::ShowSelectionData::ShowSelectionData ( const ShowSelectionData & rhs,
int levelOfDetail )
protected

Definition at line 218 of file move_selection_stroke_strategy.cpp.

219 : KisStrokeJobData(rhs),
220 showSelection(rhs.showSelection)
221{
222}

Member Function Documentation

◆ createLodClone()

KisStrokeJobData * MoveSelectionStrokeStrategy::ShowSelectionData::createLodClone ( int levelOfDetail)
overridevirtual

Reimplemented from KisStrokeJobData.

Definition at line 213 of file move_selection_stroke_strategy.cpp.

214{
215 return new ShowSelectionData(*this, levelOfDetail);
216}

References ShowSelectionData().

Member Data Documentation

◆ showSelection

bool MoveSelectionStrokeStrategy::ShowSelectionData::showSelection = false

Definition at line 33 of file move_selection_stroke_strategy.h.


The documentation for this struct was generated from the following files: