[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ngl-devel] Big changes in NUI
From: |
Sebastien Metrot |
Subject: |
[ngl-devel] Big changes in NUI |
Date: |
Sat, 04 Oct 2003 01:25:16 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 |
Hi all!
I've pretty silent in the last 4 months or so, mainly for personal
reasons. I started to work on nui again some weeks ago and I almost
finished a BIG change in the way the widget tree works:
nuiMainWindow have been broken down in 3 classes:
nuiTopLevel
nuiWindowManager (+ nuiWindowDecoration)
nuiMainWindow (no inherits from nuiTopLevel and nglWindow).
nuiWindow have changed a lot (a lot of code moved from it to
nuiWindowDecoration and nuiWindowManager).
The nuiWindowManager class is the one that now handles all the
overlapped window behaviour. This is where we will be able to implement
docking, mosaic, tilling, etc. in the future. nuiWindowDecoration is a
way to have the window decoration separated from the nuiWindow which now
represents only the client area (removed most of the hacks that where
needed to make it stand alone).
Of course some features have been broken in this first implementation:
D'n'Drop is one of them (mostly because windows don't move by themselves
anymore now).
What you need to do to adapt an existing nui application:
if you used nuiDragAndDrop: it's broken so look at the code and help me
fix it! ;).
if you used ovelapped windows: create an nuiWindowManager as the main
widget in your nuiMainWindow and put windows in it just as you did
before with nuiMainWindow. Notice that nuiWindowManager is a basic
container widget so you could actually create MDI interfaces, windows
inside windows, etc...
if you haven't used any of these: let me know if you find some strange
behaviours in the way you app works now, some stuff may be broken now!
These changes will go in the CVS very soon (I still have one or two
stupid bugs to nail down...).
Have fun and let me now if there is any problem!
Sebastien
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [ngl-devel] Big changes in NUI,
Sebastien Metrot <=