Search found 519 matches

by Olliv
Tue May 26, 2020 8:10 pm
Forum: Tricks 'n' Tips
Topic: Debugger font change
Replies: 4
Views: 1862

Debugger font change

Sometimes I prefer the debugger aligns the characters output as the IDE does... So : For I = 0 To 3 X.U = I << 14 Debug PeekS(@X, 1, #PB_Unicode) Debug "Hello !" Debug "1234567" Next Simple way : Define U.U = $3000 Debug PeekS(@U, 1) Back to normal font : Define U.U = $80 Debug P...
by Olliv
Wed May 20, 2020 2:47 pm
Forum: Tricks 'n' Tips
Topic: Vector Curve Designer (RAD Tool)
Replies: 96
Views: 27326

Re: Vector Curve Designer (RAD Tool)

Small remark : I completely forgot this documentation page.

I apologize their author which made a good help.
by Olliv
Tue May 19, 2020 5:07 am
Forum: Tricks 'n' Tips
Topic: Vector Curve Designer (RAD Tool)
Replies: 96
Views: 27326

Re: Vector Curve Designer (RAD Tool)

I don't know that one, could you post a short sample snippet? Maybe a good way consists to you in building the zoom tool, and add a temporary zoom button. I say this because I can imagine three ways to execute a positive zoom (equ to go to front) : 1) classical : all the points go away from the cen...
by Olliv
Mon May 18, 2020 2:44 pm
Forum: Tricks 'n' Tips
Topic: Vector Curve Designer (RAD Tool)
Replies: 96
Views: 27326

Re: Vector Curve Designer (RAD Tool)

@HeXor

Excellent way I understand. It's different when we are beginners...

This does not remove permanent problems, that the installing of a new tool can reserve : in example, there is no map about the shortcuts already used.
by Olliv
Mon May 18, 2020 12:25 pm
Forum: Tricks 'n' Tips
Topic: Vector Curve Designer (RAD Tool)
Replies: 96
Views: 27326

Re: Vector Curve Designer (RAD Tool)

You can note this code line :

Code: Select all

SetClipboardText("%FILE %CURSOR")
This is specific tl this subject. There are more options available, and I did not make a request to include them...

Note too that my grammar is ever so surprising...
And I did not work a lot for the design...

Apologize ! :D
by Olliv
Mon May 18, 2020 12:15 pm
Forum: Tricks 'n' Tips
Topic: Vector Curve Designer (RAD Tool)
Replies: 96
Views: 27326

Re: Vector Curve Designer (RAD Tool)

Here is the all-in-one 'HowTo' procedure to compile and install a new tool... ;*****************************************************************************************************************************************************************************************************************************...
by Olliv
Mon May 18, 2020 11:15 am
Forum: Tricks 'n' Tips
Topic: Vector Curve Designer (RAD Tool)
Replies: 96
Views: 27326

Re: Vector Curve Designer (RAD Tool)

I am making the "How to..." procedure. a) make room in the ide at the caret position and b) insert the generated code. If anyone can help me out on that it's appreciated. A factice source file must be created and recorded. This factice source file will be the file which will be treated by ...
by Olliv
Sun May 17, 2020 11:04 pm
Forum: Tricks 'n' Tips
Topic: Vector Curve Designer (RAD Tool)
Replies: 96
Views: 27326

Re: Vector Curve Designer (RAD Tool)

Once this is firmed up I'd like to compile it and run it as an external tool from the IDE. Then another feature could be a button "Insert into code". I can configure it as a tool but I don't have the skills to a) make room in the ide at the caret position and b) insert the generated code....
by Olliv
Sun May 17, 2020 9:45 pm
Forum: Tricks 'n' Tips
Topic: Vector Curve Designer (RAD Tool)
Replies: 96
Views: 27326

Re: Vector Curve Designer (RAD Tool)

Ok : for the first problem. It is in the CanvasHandler() procedure. Original template : If newcurve ... code block #1 Else ... code block #2 Endif New temporary template : If newcurve ... code block #1 Else If LastElement(curves() ) ; I finally just prefixed by If ... code block #2 Else Debug "...
by Olliv
Sun May 17, 2020 9:24 pm
Forum: Tricks 'n' Tips
Topic: Vector Curve Designer (RAD Tool)
Replies: 96
Views: 27326

Re: Vector Curve Designer (RAD Tool)

@NetMaestro My first problem is, that I downloaded your source code by the clipboard of my smartphone, and it has removed all the empty lines apparently... I will search the procedure name... I did not reproduce the problem for this time. But I meet a second problem : I loose the editing act. Again,...
by Olliv
Sun May 17, 2020 1:40 pm
Forum: Tricks 'n' Tips
Topic: Vector Curve Designer (RAD Tool)
Replies: 96
Views: 27326

Re: Vector Curve Designer (RAD Tool)

@NetMaestro You have a block code (between a 'Else' and a 'EndIf') between near line 573 and near line 594 : I nested this block in a security condition : ... Else If ListSize(Curves() ) ; condition inserted ... EndIf ; end condition inserted EndIf Because it crashes meaning me there were not curre...
by Olliv
Sun May 17, 2020 6:24 am
Forum: Tricks 'n' Tips
Topic: Vector Curve Designer (RAD Tool)
Replies: 96
Views: 27326

Re: Vector Curve Designer (RAD Tool)

I have implemented Undo/Redo, code is updated in the first post. It is very early in the process so do try and see if it will do something unexpected. I've been playing with it and it seems ok but that's one person only and not a lot of tries. One thing though, if you undo a curve that's not commit...
by Olliv
Sun May 17, 2020 5:55 am
Forum: Coding Questions
Topic: transparent sprite
Replies: 8
Views: 2373

Re: transparent sprite

You cannot use other thing that these 4 options in the pre-draw : 1. DrawingMode(#PB_2DDrawing_AllChannels) 2. DrawingMode(#PB_2DDrawing_Alphablend) 3. DrawingMode(#PB_2DDrawing_Alphaclip) 4. DrawingMode(#PB_2DDrawing_Alphachannel) XOR blend op is enabled only on the fly by handling SpriteBlendingMo...
by Olliv
Sat May 16, 2020 11:08 pm
Forum: Tricks 'n' Tips
Topic: Vector Curve Designer (RAD Tool)
Replies: 96
Views: 27326

Re: Vector Curve Designer (RAD Tool)

It is ever a pleasure to read such a code. Thank you !
by Olliv
Sat May 16, 2020 7:33 pm
Forum: Coding Questions
Topic: transparent sprite
Replies: 8
Views: 2373

Re: transparent sprite

Fig has been quicker ! (Saki too !!) A "home made" transparent sprite : (from smartphone, not tested : the colors should be very ugly !) ;*********************************************************************************************************** ;- init ExamineDesktops() InitSprite() OpenS...