[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] Re: I am taking upon the task as to redesign the map e
From: |
Stéphane Magnenat |
Subject: |
Re: [glob2-devel] Re: I am taking upon the task as to redesign the map editor |
Date: |
Mon, 17 Apr 2006 11:17:59 +0200 |
User-agent: |
KMail/1.9.1 |
> Then it should be important to draw the line between "drawing" and
> "user interface" now, if we intend to not use libgag, at the very
> least. This is quite troublesome, because "drawing" is part of the
> user interface, so should our "Drawing" class truly handle the user
> interface? Like button clicks? It seems not, but then so, what should
> our "Drawing" class do?
>
> One idea is to have the Drawing class plain and simply draw things,
> and nothing else. Then have the MapEditor and GameGUI decide what is
> to be drawn and handle the user interface appropriettly, but this
> seems strangely like we could do this with libgag, having the
> "widgets" do drawing of individual parts for their oversear, MapEditor
> and GameGUI.
I think that's right. The Drawer helper class only draws. Then the widget
which will contain an instance of this drawer and manage the user feedback
(like scrolling, selecting units, ...)
Steph
- Re: [glob2-devel] Re: I am taking upon the task as to redesign the map editor, Bradley Arsenault, 2006/04/04
- Re: [glob2-devel] Re: I am taking upon the task as to redesign the map editor, Bradley Arsenault, 2006/04/14
- Re: [glob2-devel] Re: I am taking upon the task as to redesign the map editor, Stéphane Magnenat, 2006/04/14
- Re: [glob2-devel] Re: I am taking upon the task as to redesign the map editor, Bradley Arsenault, 2006/04/15
- Re: [glob2-devel] Re: I am taking upon the task as to redesign the map editor, Bradley Arsenault, 2006/04/15
- Re: [glob2-devel] Re: I am taking upon the task as to redesign the map editor, Bradley Arsenault, 2006/04/15
- Re: [glob2-devel] Re: I am taking upon the task as to redesign the map editor, Stéphane Magnenat, 2006/04/17
- Re: [glob2-devel] Re: I am taking upon the task as to redesign the map editor, Stéphane Magnenat, 2006/04/17