English
Source / code snippets

lines

 

CompileMarkSeparation
var C&=0
var OC&=0
RANDOMIZE
CLS
SETINNERSIZE 640,480
MCLS 640,480
DECLARE X&[]
DECLARE Y&[]
DECLARE XX&[]
DECLARE YY&[]
STARTPAINT -1

WHILELOOP 170

    X&[&LOOP]=RND(640)
    XX&[&LOOP]=RND(640)
    Y&[&LOOP]=RND(480)
    YY&[&LOOP]=RND(480)
    USEPEN 0,10,$777777+&LOOP
    LINE X&[&LOOP],Y&[&LOOP] - XX&[&LOOP],YY&[&LOOP]

ENDWHILE

WHILELOOP 170

    USEPEN 0,2,&LOOP
    LINE X&[&LOOP],Y&[&LOOP] - XX&[&LOOP],YY&[&LOOP]

ENDWHILE

ENDPAINT
USEPEN 0,0,0

WHILELOOP 170

    LINE X&[&LOOP],Y&[&LOOP] - XX&[&LOOP],YY&[&LOOP]

ENDWHILE

USERMESSAGES $0200

WHILE 1

    WAITINPUT

    SELECT %UMESSAGE

        CASEOF $0200

        STARTPAINT -1
        C&=GETPIXEL(LOWORD(&ULPARAM),HIWORD(&ULPARAM))
        ENDPAINT

        SELECT C&

            CASEOF 0,$FFFFFF

            IF OC&

                USEPEN 0,0,0
                LINE X&[OC&],Y&[OC&] - XX&[OC&],YY&[OC&]
                OC&=0

            ENDIF

            OTHERWISE

            IF C&>$777777

                DEC C&,$777777

            ENDIF

            IFNOT OC&=C&

                IF OC&

                    USEPEN 0,0,0
                    LINE X&[OC&],Y&[OC&] - XX&[OC&],YY&[OC&]

                ENDIF

                USEPEN 0,0,$0000FF
                LINE X&[C&],Y&[C&] - XX&[C&],YY&[C&]
                OC&=C&

            ENDIF

        ENDSELECT

    ENDSELECT

ENDWHILE

proc SETINNERSIZE

    PARAMETERS X&,Y&
    SETWINDOWPOS %HWND=%WINLEFT,%WINTOP - ((%WINRIGHT-%WINLEFT)-(WIDTH(%HWND)-X&)),((%WINBOTTOM-%WINTOP)-(HEIGHT(%HWND)-Y&));<
lass=s2>0 endproc

CompileMarkSeparation

314 kB
Hochgeladen:09/10/09
Downloadcounter108
Download
313 kB
Hochgeladen:09/11/09
Downloadcounter296
Download
 
09/10/09  
 




Thomas
Zielinski
Tja one ought to not everything blind testing. Zumindist Have I now a Sanduhr behind my Cursor and none grabbed More on the Desktop. time abgesehn of it that I not time in the Taskmanager find circa it again To terminate.
NACHTRAG: my Rechener needed only EWIG circa me To ask whether I the Program (because it Yes from the internet comes) really started would like.
otherwise shining it To gehn.

Greeting Thomas
 
XProfan X4; Win10 x64
Der Kuchen ist eine lüge!
09/10/09  
 



on which place klemmts because, has still otherwise none "beschwehrt"?!
 
09/10/09  
 




Thomas
Zielinski
Thomas Zielinski, Beitrag=54225, Zeitpunkt=10.09.2009
NACHTRAG: my Rechener needed only EWIG circa me To ask whether I the Program (because it Yes from the internet comes) really started would like.
otherwise shining it To gehn.


 
XProfan X4; Win10 x64
Der Kuchen ist eine lüge!
09/10/09  
 




Rolf
Koch
by me correct without Problems
 
09/10/09  
 



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

2.196 Views

Untitledvor 0 min.
Frank04/16/21
Klaus Ernst04/20/16
Ernst05/26/14
iF04/15/13
More...

Themeninformationen

this Topic has 3 subscriber:

iF (2x)
Thomas Zielinski (2x)
Rolf Koch (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