Layoutmanager for PB?

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
FGK
New User
New User
Posts: 4
Joined: Sun Oct 02, 2005 12:04 pm

Layoutmanager for PB?

Post by FGK »

Hi folks,

what's about the idea to integrate layoutmanagers in PB to place
the gadgets with? This would be an nice enhancement for the
gadget library and simplify the GUI handling due the possibility
of resizing and positioning the gadgets on its own.

Whats your opinion?

FGK
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

What are layout managers exactly? Do you mean gui designers?
I may look like a mule, but I'm not a complete ass.
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post by dell_jockey »

srod wrote:What are layout managers exactly? Do you mean gui designers?
layout managers take over the re-shuffling of controls when a user changes his window size. These layout managers contain algorithms that make intelligent decisions about what to resize and where. Some may even adapt the point size of fonts when a window gets resized significantly. A few years back I've seen one in a cross-platform GUI library (WX-something-I-don't-remember-ish...)
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

srod wrote:What are layout managers exactly? Do you mean gui designers?
Layout in java is like docking in other languages. In PB you do the same but manually through moving and resizing the gadgets after the parent window has been resized. It's much more comfortable with docking/layouts. I would like to see this feature.
bye,
Daniel
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post by dell_jockey »

dell_jockey wrote:A few years back I've seen one in a cross-platform GUI library (WX-something-I-don't-remember-ish...)
I now seem to remember that that library was called wxWindows back then. The more recent version of it is called wxWidgets
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Post by Edwin Knoppert »

What a nice image on your website.
Which country is that?
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

This is actually on the list already.

I wrote such a layout engine for the IDE. All its dialogs are sized automatically
from an XML layout to account for the different Font sizes between many Linux systems.

I wanted to turn it into a library for quite a while. I just didn't get around to it yet.
quidquid Latine dictum sit altum videtur
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

Timo, PLEASE PLEASE PLEASE get around to it!!! :D
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Post Reply