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

Constructor & Destructor Documentation

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

Definition at line 1203 of file graphics_abstraction_layer.h.

1203  :
1204  GAL_CONTEXT_LOCKER( aGal )
1205  {
1206  m_gal->beginUpdate();
1207  }
virtual void beginUpdate()
Enables item update mode.
KIGFX::GAL_UPDATE_CONTEXT::~GAL_UPDATE_CONTEXT ( )
inline

Definition at line 1209 of file graphics_abstraction_layer.h.

1210  {
1211  m_gal->endUpdate();
1212  }
virtual void endUpdate()
Disables item update mode.

Member Data Documentation

int KIGFX::GAL_CONTEXT_LOCKER::m_cookie
protectedinherited

Definition at line 1196 of file graphics_abstraction_layer.h.

GAL* KIGFX::GAL_CONTEXT_LOCKER::m_gal
protectedinherited

Definition at line 1195 of file graphics_abstraction_layer.h.


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