NoBackground.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 08 Dec 2017 09:10:33 +0000
branchjv
changeset 8232 ddbaa22b9352
parent 5681 a4f3846a0fc1
child 7945 f448366bc702
permissions -rw-r--r--
Issue #186: Win32: use inline C in `#setForegroundWindow:` ...rather than FFI. It's much faster and uses lot less stack. The latter is also important since `#setForegroundWindow:` is called when opening debugger. In case a debugger is opened due to a recursion interrupt, stack space is very limited so better save every byte. https://swing.fit.cvut.cz/projects/stx-jv/ticket/186

"
 COPYRIGHT (c) 2009 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
"{ Package: 'stx:libview' }"

AbstractBackground subclass:#NoBackground
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Graphics-Support'
!

!NoBackground class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2009 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
! !

!NoBackground methodsFor:'drawing'!

fillRectangleX:x y:y width:w height:h in:aView
    "/ intentionally left blank

    "Created: / 23-01-2011 / 01:59:29 / cg"
! !

!NoBackground class methodsFor:'documentation'!

version_CVS
    ^ '$Header: /cvs/stx/stx/libview/NoBackground.st,v 1.3 2011-01-23 01:42:51 cg Exp $'
! !