SRL Archive - OSR Help

How can i make a paint progrie not using the simba rs client ?


marc2333

2012-11-04 01:55:42

Is there any way i can make a nice little paint on a normal script ? If yes, is there any tutorial on the forum to teach me how ? I dont want a progrie that will use writeln(' ') to write the progrie, i want one that will show up like we can make in the simba's rs client.

Thanks

Rezozo

2012-11-04 01:08:32

The title says:
not using the simba rs client


The actual post says:
we can make in the simba's rs client


Probably just me. Please explain properly what you mean.

marc2333

2012-11-04 04:05:54

Well, something that i could use to make something like this, but without being in the simba client..

procedure SmartProggy;
var
text,text2:String;
begin
text:= 'hey'
text2:= 'hi'
SMART_DrawText(0,0,LoginChars,text2,clTeal);
SMART_DrawText(0,20,LoginChars,text2,clTeal);
end;

Flight

2012-11-04 04:22:02

I assume by saying "simba client" you're referring to SMART? They are quite different, Simba does not require SMART to run scripts. As far as painting a progress report, first of all you'll to have a canvas to paint on; SMART (NOT Simba) by default has it's own canvas, thus making it simple to paint on. Otherwise, you'll have to make your own, probably via a Form.

marc2333

2012-11-04 04:31:29

Yea, painting things while i am not in SMART

Markus

2012-11-04 04:34:56

Not possible. Simba wouldn't be able to see 'through' the painting then so everything would mess up.
Ok, if you're willing to put in a LOT of work you might be able to do something with a transparent form exactly alligned @ rs client, but no one ever did that as it's a billion times more work than it's worth.

marc2333

2012-11-04 04:37:01

Or it could be placed somewhere i dont dont need ? Example the chatbox.

riwu

2012-11-04 04:39:07

You can draw into Simba's DebugImgForm? Saves the need to do any extra work to make your own form etc.

Swifte

2012-11-04 06:02:36

From: marc2333
Is there any way i can make a nice little paint on a normal shit script ? If yes, is there any tutorial on the forum to teach me how ? I dont want a progrie that will use writeln(' ') to write the progrie, i want one that will show up like we can make in the simba's rs client.

Thanks


Their function is to display the numbers… Not to give your eyes a fantastical view.

Mark

2012-11-04 06:57:09

Like mentions by markus and flight is very possible but much easier to use SMART and save losing control over you mouse also