ToggleGadget and ColorButton [Module] All OS - DPI aware

Share your advanced PureBasic knowledge/code with the community.
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

ToggleGadget and ColorButton [Module] All OS - DPI aware

Post by Saki »

Code obsolete, removed
Last edited by Saki on Fri Aug 28, 2020 9:41 am, edited 14 times in total.
地球上の平和
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: ToggleGadget - All OS - Automatic textsize - DPI aware

Post by IdeasVacuum »

Phew - a lot of code! 8)

As an individual gadget, perhaps it should not be DPI aware - that's something to apply to the whole GUI - after all, no other gadgets are DPI aware.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: ToggleGadget - All OS - Automatic textsize - DPI aware

Post by Saki »

Hi, IdeasVacuum, many thanks for your friendly comment.

Yes, DPI aware is gruel, but, it looks very clear.

Unfortunately you cannot make this gadget DPI aware afterwards.

It works with and without DPI aware compiler option, at the same.

Best Regards Saki
地球上の平和
BarryG
Addict
Addict
Posts: 3331
Joined: Thu Apr 18, 2019 8:17 am

Re: ToggleGadget - All OS - Automatic textsize - DPI aware

Post by BarryG »

Reminds me of this on/off gadget -> viewtopic.php?p=427927#p427927
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5357
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: ToggleGadget [Module] All OS - DPI aware

Post by Kwai chang caine »

The last button change of size when i click other it, i don't know if it's normal :oops:
So thanks for sharing 8)
ImageThe happiness is a road...
Not a destination
Post Reply