English
Experimente

keyboard over 9 Oktaven present (Snippet without Sound output)

 

p.specht


Window Title "Klaviatur"
declare x1&,y1&,x2&,y2&,sc&,breite&,spalt&,wlaenge&,slaenge&,yy&
Cls rgb(0,0,90)
sc&=30
breite&=sc&
wlaenge&=sc&*4
slaenge&=sc&*3
spalt&=sc&/4

WHILELOOP 0,2:yy&=&Loop*sc&*4.5

    WhileLoop 0,20

        USEP 1,5,rgb(100,100,100):UseBrush 1,rgb(100,100,100)
        Roundrect &Loop*breite&+1, (10+wlaenge&+yy&) - ((&Loop+1)*breite&-spalt&-1), 14+wlaenge&+yy&;sc&/6;sc&/6
        USEP 1,5,rgb(255,255,255):UseBrush 1,rgb(255,255,255)
        Roundrect &Loop*breite&,10+yy& - ((&Loop+1)*breite&-spalt&),10+wlaenge&+yy&;sc&/6;sc&/6

    EndWhile

    WhileLoop 0,20

        select &Loop

            caseof 0,1,3,4,5,7,8,10,11,12,14,15,17,18,19

            USEP 1,5,rgb(0,0,0):UseBrush 1,rgb(40,40,100)
            Roundrect &Loop*breite&+breite&/2+spalt&/2,5+yy& - ((&Loop+1)*breite&+breite&/7),5+slaenge&+yy&;sc&/6;sc&/6
            USEP 1,3,rgb(0,0,0+4*&Loop):UseBrush 1,rgb(50,50,50)
            Roundrect &Loop*breite&+breite&/2+spalt&/2 , 5+slaenge&*32/40+yy& - ((&Loop+1)*breite&+breite&/7),5+slaenge&+yy&;sc&/6;sc&/6
            USEP 0,2,rgb(220,220,200)
            Line &Loop*breite&+breite&/2+spalt&/2, 5+yy& - (&Loop*breite&+breite&/2+spalt&/2),(5+slaenge&*4/5+yy&)

        endselect

    EndWhile

ENDWHILE

WaitInput
End
 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
05/01/21  
 



Zum Experiment


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

442 Views

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