I guess if its moved to the end border it shouldn't be visible as such...
You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296
See here for more information viewtopic.php?f=20&t=7296
DO NOT USE MOBILE / CGNAT DEVICES WHERE THE IP CHANGES CONSTANTLY!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!
Please make sure you are logged in for at least 2 hours
to make sure your IP is added into the firewall whitelist, thanks
to make sure your IP is added into the firewall whitelist, thanks
exxos blog - random goings on
Re: exxos blog - random goings on
Next problem is width=0 still shows a single black pixel line, even with no border 
I guess if its moved to the end border it shouldn't be visible as such...
I guess if its moved to the end border it shouldn't be visible as such...
Re: exxos blog - random goings on
More investigation with widths.
WIDTH=0
WIDTH = 1
WIDTH = -1
WIDTH = 2
So WIDTH = 0 is actually 2 pixels wide

So using WIDTH=1 and moving it to the right border..
Now means the black bar is now hidden as I wanted!
I see this "trick" might not work with the red bar when I need to hide it though
I guess I only need 1 box, if I can make it red or black "on the fly" then I wouldn't need to mess about as much.
WIDTH=0
WIDTH = 1
WIDTH = -1
WIDTH = 2
So WIDTH = 0 is actually 2 pixels wide
So using WIDTH=1 and moving it to the right border..
Now means the black bar is now hidden as I wanted!
I see this "trick" might not work with the red bar when I need to hide it though
I guess I only need 1 box, if I can make it red or black "on the fly" then I wouldn't need to mess about as much.
Re: exxos blog - random goings on
Ahhhh
I just debugged the red and black boxes and got this.
So as RED and BLACK are only 1 number different it tallies. So I can in fact do away with having separate red and black boxes!
I just debugged the red and black boxes and got this.
Code: Select all
4594
4593Re: exxos blog - random goings on
Anyone work this one out, It worked in GB6, but converting to the new routines I have confused myself
There is basically two sets of calculations. Want to draw the red bar which will always be smaller than 100%.
Where X is the width of the boxing pixels. And R is the result which would be 50% for example. I think that works fine...
I have the problem of when it is higher than 100%. IE 400%
So the calculation I had is:
So 30 been the difference is probably about right I think. However the calculation should really be outputting the opposite like 70. 
EDIT:
Think it's supposed to be more like this.
EDIT2:
Yep that looks more realistic now .
There is basically two sets of calculations. Want to draw the red bar which will always be smaller than 100%.
Code: Select all
x=120 /100 * RI have the problem of when it is higher than 100%. IE 400%
So the calculation I had is:
Code: Select all
x=100 / 400 * 120 = 30EDIT:
Think it's supposed to be more like this.
Code: Select all
x=100 / r& * 120
xx=120 - xYep that looks more realistic now .
Re: exxos blog - random goings on
Now the red is behaving now as well.
Code: Select all
x=120 /100 * r&
xx=120 - xRe: exxos blog - random goings on
So no more VDI box drawing calls
Re: exxos blog - random goings on
Next problem is that objects do not scale automatically
I'm sure I read something about drawing modes and scaling somewhere one of these books the other day.
But saying that why can't other objects affected
I'm sure I read something about drawing modes and scaling somewhere one of these books the other day.
Re: exxos blog - random goings on
Hi @exxos, so would you like to automatically resize and fit all your work to the set resolution? If so, I guess you have to do it by hand, calculating the right proportions (for the objects) for each resolution. For the most part, when I got into VDI calls and so on, I didn't see any handy feature that would allow me to rework objects other than resizing them one by one.exxos wrote: Mon Jan 02, 2023 5:01 pm Next problem is that objects do not scale automatically![]()
I'm sure I read something about drawing modes and scaling somewhere one of these books the other day.But saying that why can't other objects affected
![]()
Then I advise you to use interface v2.30 for managing the drop-down menus and managing the graphical GUI. It seems to me the only one reliable enough with less bugs.
Re: exxos blog - random goings on
I think you're supposed to have different RSC files for medium and high resolution for example. But as the main window seems to be basically okay then I am not too worried about it.Roberto wrote: Mon Jan 02, 2023 5:12 pm Hi @exxos, so would you like to automatically resize and fit all your work to the set resolution? If so, I guess you have to do it by hand, calculating the right proportions (for the objects) for each resolution. For the most part, when I got into VDI calls and so on, I didn't see any handy feature that would allow me to rework objects other than resizing them one by one.
I may have to just bodge the box sizes based on the vertical resolution or something.
I do use interface 2.30. It is a bit more user-friendly than WERKS. However interface tends to crash a lot and seems to be some mutant version between German and English.Roberto wrote: Mon Jan 02, 2023 5:12 pm Then I advise you to use interface v2.30 for managing the drop-down menus and managing the graphical GUI. It seems to me the only one reliable enough with less bugs.
Re: exxos blog - random goings on
Yes, a .RSC should be done for each resolution, if you are expecting windows or object sizes that won't fit for each resolution.exxos wrote: Mon Jan 02, 2023 5:57 pm
I think you're supposed to have different RSC files for medium and high resolution for example. But as the main window seems to be basically okay then I am not too worried about it.
I may have to just bodge the box sizes based on the vertical resolution or something.
I tried WERCS and RCP program but they don't work well at all, both on Hatari and on real machines. Let's say Interface is the least worstexxos wrote: Mon Jan 02, 2023 5:57 pm I do use interface 2.30. It is a bit more user-friendly than WERKS. However interface tends to crash a lot and seems to be some mutant version between German and English.
I haven't found many C sources for Atari (which have a GUI part) around, other than Peter P.
If it's convenient for you, I'll leave you a source code written in Lattice C that I wrote at the beginning of last year. Maybe you find something interesting that you can adapt to your work (I see you are struggling with how to make an object child of a particular window). There is also the program already compiled.
