KiCad PCB EDA Suite
KIGFX::VIEW_OVERLAY::COMMAND_SET_FILL Struct Reference
Inheritance diagram for KIGFX::VIEW_OVERLAY::COMMAND_SET_FILL:
KIGFX::VIEW_OVERLAY::COMMAND

Public Member Functions

 COMMAND_SET_FILL (bool aIsFill)
 
virtual void Execute (VIEW *aView) const override
 

Public Attributes

bool m_isFill
 

Detailed Description

Definition at line 174 of file view_overlay.cpp.

Constructor & Destructor Documentation

◆ COMMAND_SET_FILL()

KIGFX::VIEW_OVERLAY::COMMAND_SET_FILL::COMMAND_SET_FILL ( bool  aIsFill)
inline

Definition at line 176 of file view_overlay.cpp.

176  :
177  m_isFill( aIsFill ) {}

Member Function Documentation

◆ Execute()

virtual void KIGFX::VIEW_OVERLAY::COMMAND_SET_FILL::Execute ( VIEW aView) const
inlineoverridevirtual

Implements KIGFX::VIEW_OVERLAY::COMMAND.

Definition at line 179 of file view_overlay.cpp.

180  {
181  aView->GetGAL()->SetIsFill( m_isFill );
182  }

References KIGFX::VIEW::GetGAL(), m_isFill, and KIGFX::GAL::SetIsFill().

Member Data Documentation

◆ m_isFill

bool KIGFX::VIEW_OVERLAY::COMMAND_SET_FILL::m_isFill

Definition at line 184 of file view_overlay.cpp.

Referenced by Execute().


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