xforms-development
[Top][All Lists]
Advanced

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

Re: [XForms] Pre-release xforms-1.2.5pre1


From: Jens Thoms Toerring
Subject: Re: [XForms] Pre-release xforms-1.2.5pre1
Date: Wed, 24 Feb 2016 12:57:25 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hello Serge,

On Tue, Feb 23, 2016 at 07:32:08PM -0500, Serge Bromow wrote:
> Well, I tested the latest release and so far so swimmingly.

That's good to hear!

> The only additions I made were to the forms.h file as follows;
> 
> *extern  void fli_set_form_icon_data(FL_FORM * form, char *data[]); ,*
> 
> required to declare set pixmap from file on iconify.
> 
> And for backwards compatibility I added;
> 
> *#define fl_set_form_icon_data(a, b) fli_set_form_icon_data(a, b)*
> 
> I'll remove the later once I locate all instances of the old naming
> convention.
> 
> I understand why*'fli_set_form_icon_data*' is not declared in
> forms.h since it is an internal routine but I would think others
> could benefit from it. Perhaps it's time for this routine to come
> out of the closet? lol...

Once upon a time (before I started messing things up;-) this
function was defined as fl_set_from_icon_data(). But there
were a lot of functions with names starting with 'fl_' and
declared in forms.h, which obviously were of no interest except
for internal use and which also weren't documented. Thus I
renamed all functions (or at least all I noticed) that were
not documented to names starting with 'fli_' and moved their
declarations from forms.h to flinternals.h (which is only used
when building the library). fl_set_form_icon_data() was one of
them.

But as it seems to be a useful function I'll put it back into
the stuff exported from the library and write some documenta-
tion for it. So it's coming back out of the closet;-)

                           Best regards, Jens
-- 
  \   Jens Thoms Toerring  ________      address@hidden
   \_______________________________      http://toerring.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]