>       I have the loonely knight, fighting all the evil ghost of the past ( read
> latexdel insets) while you are having all the fun discussing the scripting
> language...

Poor you.

>       Now I need help because I'm not able to advance on my own (at least on a
> reasonable time).
> 
>       I need to do two things, both related with the GUI.
> 
>       1) change the popup related with the reference creation to have an extra
> text field. We need to change the function create_form_form_ref inside
> lyx.C.

I don't recall whether this form has a fd-file or not.
If it does, this task involves use "fdesign" on the file,
add the field, and then save it.
Now, you have to use the fd-file-clean-up script which
will internationalize it and make it conformant with XForms 0.81.

I don't recall how to invoke this script, but I think you
can do something with "make" in the fd-directory.
Check the README, or the Makefile.

The appropriate make command will install the file as a
.C file in the src directory (I think), and then you just
need to add the hooks for handling it in the code.

To learn how to do this, read some of the code that handles
the existing code for another simple dialog that has the
same kind of control.  It's really simple.

Then, recompile and you should be flying.

>       2) create from scratch a new form to read the two parameter for url and
> htmlurl.

Similar to above:  Add the form to one of the existing
fd-files, and follow the same procedure.

You might want to read "development/Coding_rules/popups" that
contains some hints for dialog design.

Greets,

Asger

Reply via email to