W3C home > Mailing lists > Public > www-amaya-dev@w3.org > January 2000

Re: More configuration issues (buttonbars, title menus, release builds)

From: <Irene.Vatton@inrialpes.fr>
Date: Mon, 10 Jan 2000 10:50:23 +0100
Message-Id: <200001100950.KAA09348@tahiti.inrialpes.fr>
To: David Yang <david@math.edu>
cc: www-amaya-dev@w3.org
In-reply-to: Your message of Sat, 08 Jan 2000 03:46:16 -0600."
             <Pine.LNX.3.96.990924082734.5363A-100000@math.edu> 
> 
> A few more questions and considerations I've run into trying to customize
> Amaya..
> 
> 1.  Thanks Irene for the info on the title TextArea.  When someone changed
> the title in that text area, did it call the function UpdateTitle to
> change the source code?  
> 
> 	
> 	I am asking because I would like to add a dialog that still allws
> the user to update the title but implemented through menu selections
> rather than a text area. 

As you can see the function UpdateTitle updates both the text area and
the window title.

> 	Also, are the way Address and the Text area drawn defined in
> MakeFrame?  Can the font and shading etc. be specially customized? 

They are created by the function TtaAddTextZone.

> 2.  My colleague Tiana and I are still trying to figure out how to add a
> second row of toolbar buttons.  I was looking through the MakeFrame
> function as previously suggested but could not find the Windows
> implementation of where the Toolbar is drawn, only the gnome toolkit one. 
> 

The MakeFrame code differs with the used toolkit. So you have ifdef sections
for Windows, GTK and Motif.
On Windows the button toolbar is created by a callback procedure WndProc.
See Amaya/thotlib/dialogue apply.c

> 	Does adding a second toolbar involve using the amaya resources
> file to add another toolbar or do I just continue to draw buttons and have
> the MakeFrame define where they go? 

Normally yes.

> 3.  Is there a batch program that builds a release version or some make
> utility?  We would like to be able to do some beta testing without having
> to send 100 MBs of .obj files :)

I suggest you to create a new directory Amaya\myproject where you copy all the
.dps files given in Amaya\Windows (don't copy .dsw and .mak files). You also
need a copy of the file Amaya\Widows\amaya\amaya.mkf. There you could build 
and test your own Amaya version.

  Irene.
Received on Monday, 10 January 2000 04:50:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:25:44 UTC