hugin: use command and panoramaChanged() [Re: hugin::Images]

Pablo d'Angelo pablo at mathematik.uni-ulm.de
Thu Jun 12 11:45:39 BST 2003


On Thu, 12 Jun 2003, Kai-Uwe Behrmann wrote:

> >    If one is missing, feel free to create a new one.
> >
> > 2. execute the command using the GlobalCmdHistory singleton.
> >    This will ensure proper undo/redo.
> >
> > 3. never change the GUI view of the panorama (listviews, Control point
> >    display...) directly from the function that issues the command.
> >    You will not know what needs to be updated. Even if you know
> >    everything, some other part of the program will issue the command
> >    and that part will not (and does not want to) know exactly which
> >    control depend on that change.
> 
> This is the case in initial view of CPEditor. I found no way yet to select
> the first tab without selecting a second before. An EVT_TAB_SEL_CHANGED
> event dont compile wich would help solve this. So this is only an - even
> terrible - workarround.

The whole notebook situation is a bit difficult. I'd like to use TabCtrl
instead of wxNotebook, but it is not available in the gtk port :(

> Can You lock the files via cvs to let me know there You are working?

I'm at work right now, so do not have the time to finish my changes.
But I check them in anyway, so that you can see what I was talking
about.

ciao
  Pablo
--
http://wurm.wohnheim.uni-ulm.de/~redman/
Please use PGP


More information about the ptX mailing list