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 221 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 223 of file view_overlay.cpp.

223  :
224  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 226 of file view_overlay.cpp.

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

227  {
228  aView->GetGAL()->SetIsFill( m_isFill );
229  }

Member Data Documentation

◆ m_isFill

bool KIGFX::VIEW_OVERLAY::COMMAND_SET_FILL::m_isFill

Definition at line 231 of file view_overlay.cpp.

Referenced by Execute().


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