KiCad PCB EDA Suite
KIGFX::GAL_UPDATE_CONTEXT Class Reference

#include <graphics_abstraction_layer.h>

Inheritance diagram for KIGFX::GAL_UPDATE_CONTEXT:
KIGFX::GAL_CONTEXT_LOCKER

Public Member Functions

 GAL_UPDATE_CONTEXT (GAL *aGal)
 
 ~GAL_UPDATE_CONTEXT ()
 

Protected Attributes

GALm_gal
 
int m_cookie
 

Detailed Description

Definition at line 1191 of file graphics_abstraction_layer.h.

Constructor & Destructor Documentation

◆ GAL_UPDATE_CONTEXT()

KIGFX::GAL_UPDATE_CONTEXT::GAL_UPDATE_CONTEXT ( GAL aGal)
inline

Definition at line 1194 of file graphics_abstraction_layer.h.

1194  :
1195  GAL_CONTEXT_LOCKER( aGal )
1196  {
1197  m_gal->beginUpdate();
1198  }
virtual void beginUpdate()
Enables item update mode.

References KIGFX::GAL::beginUpdate(), and KIGFX::GAL_CONTEXT_LOCKER::m_gal.

◆ ~GAL_UPDATE_CONTEXT()

KIGFX::GAL_UPDATE_CONTEXT::~GAL_UPDATE_CONTEXT ( )
inline

Definition at line 1200 of file graphics_abstraction_layer.h.

1201  {
1202  m_gal->endUpdate();
1203  }
virtual void endUpdate()
Disables item update mode.

References KIGFX::GAL::endUpdate(), and KIGFX::GAL_CONTEXT_LOCKER::m_gal.

Member Data Documentation

◆ m_cookie

int KIGFX::GAL_CONTEXT_LOCKER::m_cookie
protectedinherited

◆ m_gal


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