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 1207 of file graphics_abstraction_layer.h.

Constructor & Destructor Documentation

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

Definition at line 1210 of file graphics_abstraction_layer.h.

1210  :
1211  GAL_CONTEXT_LOCKER( aGal )
1212  {
1213  m_gal->beginUpdate();
1214  }
virtual void beginUpdate()
Enables item update mode.
KIGFX::GAL_UPDATE_CONTEXT::~GAL_UPDATE_CONTEXT ( )
inline

Definition at line 1216 of file graphics_abstraction_layer.h.

1217  {
1218  m_gal->endUpdate();
1219  }
virtual void endUpdate()
Disables item update mode.

Member Data Documentation

int KIGFX::GAL_CONTEXT_LOCKER::m_cookie
protectedinherited

Definition at line 1203 of file graphics_abstraction_layer.h.

GAL* KIGFX::GAL_CONTEXT_LOCKER::m_gal
protectedinherited

Definition at line 1202 of file graphics_abstraction_layer.h.


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