GUI screen pack pure MMBasic


Author Message
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2171
Posted: 07:03am 24 Mar 2021      

  lizby said  Playing with the test program a little bit on an F4 with SSD1963_4_16, and I like it--very clean-looking.

One thing I notice--perhaps it is because the the radio buttons are themselves red, green, and blue, but it's difficult to tell which one is selected.

Very nice work on the FruitOfTheShed documentation, too.


The "dot" inside the button can be any colour you like.

Looking at the demo code, see the lines:
res=GUIObjDef(40,2,170,100,,,"Red",1,&hff0000)
res=GUIObjDef(41,2,170,120,,,"Green",1,&hff00)
res=GUIObjDef(42,2,170,140,,,"Blue",1,&hff)


last property is the hex for RRGGBB so if you want a black dot, use 0, if you want white use &hffffff or any combination for any colour you like.

Selected buttons are "depressed". perhaps could make the line a bit wider. I will play