English
Source / code snippets

Farbrahmen, z.B. for Fehlerinfo

 

p.specht

In normalen Programs exists between Text and Fensterrahmen one Respektabstand or. edge, usually ungenutzt. there one User sometimes on particular Situatinen allude must, can one zusätzlicher welt in Signalfarben on Ausnahmesituationen allude, subsequently again deleted go. here my Machwerk moreover.
'Window 0,0-%maxx,%maxy
cls
print " TEXT"

whileloop 5

    frame(5):waitinput 500
    frame(0):waitinput 500

endwhile

waitinput 4000
End

proc Frame

    parameters c%
    var d%=2
    UseBrush 0,0

    Select c%

        Caseof 6:USEP 0,d%,rgb(0,0,0)

        Caseof 5:USEP 0,d%,rgb(255,0,0)

        Caseof 4:USEP 0,d%,rgb(0,255,0)

        Caseof 5:USEP 0,d%,rgb(0,0,255)

        Caseof 2:USEP 0,d%,rgb(255,255,0)

        Caseof 1:USEP 0,d%,rgb(255,0,255)

        Caseof 7:USEP 0,d%,rgb(0,255,255)

        Otherwise
        USEP 0,d%,GetPixel(d%+1,d%+1)
        ' Coordinates on a point with unchanged Backgroundcolor

    EndSelect

    Rectangle d%\2,d%\2 - Width(%hwnd)-d%/2,height(%hwnd)-d%/2

Endproc

 
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
04/15/21  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

558 Views

Untitledvor 0 min.
Gast.081510/03/24
N.Art08/01/21
Glubbfan06/19/21
Uwe ''Pascal'' Niemeier06/13/21
More...

Themeninformationen

this Topic has 1 subscriber:

p.specht (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie