Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2003:
[Freeciv-Dev] (PR#3623) new window/dialog code
Home

[Freeciv-Dev] (PR#3623) new window/dialog code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#3623) new window/dialog code
From: "Rafa³ Bursig" <bursig@xxxxxxxxx>
Date: Wed, 5 Mar 2003 17:09:09 -0800
Reply-to: rt@xxxxxxxxxxxxxx

Hi All

   This is secound revolution/mess/useless/... code patch and contains :

        WINDOW WIDGED MENAGMENT SYSTEM (window menager)

This is last puzzel to basic MDI in SDLClient. Idea is simple, each 
window/dialog has own buffer layer ( size of screen ) which is draw in 
screen with flush operations. This code consume lots of memory but is 
extremly effecive.

Implementation :
Each widget get "dst" parm. which define destination buffer layer and 
is set during creation of this widget. Only "create_window(...)" 
fuction can allocate new buffers, rest of create widgets functions must 
get existing "dst" buffers. Popdown_dialogs function will free "dst" 
buffers.

This patch is big ( again ) becouse it change GUI widget API.

This code have additional some fixes and cleans + drawing goto/patrol 
lines.

I plan commit it tomorow then any critic will be welcome :)

Rafal

----------------------------------------------------------------------
Podwojne ZWYCIESTWO... >>> http://link.interia.pl/f16e7

Attachment: wm.diff.bz2
Description: wm.diff.bz2


[Prev in Thread] Current Thread [Next in Thread]