[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: Random comments consolidated



Hi PeterC,

[snip]
>Ok, I'm not clear if requirement #1 also means "no gtk / gdk calls in
>libgeda". I guess it doesn't, IIRC there is some drawing code in there?

	No it doesn't.	What it means is not initializing any gui elements
when not running with a gui.

	The gtk/gdk code in libgeda is part of that fuzzy line between
libgeda and gschem.  Even though there is some of that in libgeda, 
gnetlist doesn't need or use it at all.


>I would love to see libgeda able to provide a preview / schematic widget
>which can be used in other programs, e.g. a library / parts manager?
>(This isn't yet on my todo list).

	What would this interface look like?  Like a GtkWidget?  Is this
really useful to other people?   How/where would it be used? 
	

[snip]
>My changes seperate the drawing contexts and backing stores from the
>TOPLEVEL structure. As I have it at the moment (may well change), there
>is one per PAGE structure. My intention is to perhaps have one per
>"VIEW" structure.
>
>All graphics operations were / are currently passed a TOPLEVEL
>structure, and as the first tentative step to a working compile again, I
>changed TOPLEVEL->backingstore (etc..) to
>TOPLEVEL->page_current->backinstore (etc..)
>
>This is not without difficulty, as (for example), when instanciating a
>new GtkNotebook page, the "configure" event is fired for the new gui
>object, and associated PAGE structure. The code would then zoom and pan
>the TOPLEVEL->page_current schematic rather than the new one.

	Okay. I understand now.

[snip]
>I don't have a concrete plan yet, as I've been holding back the desire
>to get a particular data-structure in my head. I very much wanted to
>throw ideas about with people, such that we can get this done in a way
>which suits the "grand plan" for gschem / geda, and where it will be
>going in the future.

	Okay. 
 

[snip]
>Sounds good.
>
>I'm working on this full time (with the exception of the next two weeks
>when I'm doing some machinery commissioning, 4th -> 18th Aug), but I
>will likely be available in the evenings. Peter Brett is also working in
>the same office full time.
>
>I'm not claiming that I have all the answers, but just wanted to note
>that I may have the time to do the "leg work" if we can collectively
>come up with a design.
>

	Yeah, that's the tricky part, getting everybody to agree.


								-Ales


_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev