Cairo__SurfaceObserverMode.st
author Jan Vrany <jan.vrany@labware.com>
Mon, 15 Jun 2020 15:16:56 +0100
changeset 90 b808c338d5c3
parent 88 9d51db2ba641
permissions -rw-r--r--
Fix `SimpleView >> redrawWithCairoBuffered:...` after an API change ...which happened a loong time ago but went unnoticed.

"
stx:goodies/libcairo - Cairo graphics bindings for Smalltalk/X

Copyright (C) 2008-2019 Jan Vrany

This code is licensed under Creative Commons Attribution-NonCommercial License.
For full text of the license, see file LICENSE.txt
"
"{ Package: 'stx:goodies/libcairo' }"

"{ NameSpace: Cairo }"

SharedPool subclass:#SurfaceObserverMode
	instanceVariableNames:''
	classVariableNames:'CAIRO_SURFACE_OBSERVER_NORMAL
		CAIRO_SURFACE_OBSERVER_RECORD_OPERATIONS'
	poolDictionaries:''
	category:'Cairo-Constants'
!

!SurfaceObserverMode class methodsFor:'documentation'!

copyright
"
stx:goodies/libcairo - Cairo graphics bindings for Smalltalk/X

Copyright (C) 2008-2019 Jan Vrany

This code is licensed under Creative Commons Attribution-NonCommercial License.
For full text of the license, see file LICENSE.txt
"
! !

!SurfaceObserverMode class methodsFor:'initialization'!

initialize

    CAIRO_SURFACE_OBSERVER_NORMAL := 0.
    CAIRO_SURFACE_OBSERVER_RECORD_OPERATIONS := 1.
! !

!SurfaceObserverMode class methodsFor:'constants'!

CAIRO_SURFACE_OBSERVER_NORMAL

    ^CAIRO_SURFACE_OBSERVER_NORMAL
!

CAIRO_SURFACE_OBSERVER_RECORD_OPERATIONS

    ^CAIRO_SURFACE_OBSERVER_RECORD_OPERATIONS
! !


SurfaceObserverMode initialize!