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

Re: Reread file option for "image" standard object



On Wed, 7 Aug 2002, Cyrille Chepelov wrote:
> Le Wed, Aug 07, 2002, à 08:37:35AM -0300, Dolores Alia de Saravia a
> écrit:
> 
>> I'm sending  the output which I called  "diferencias". Is this  one 
>> Lars and Cyrille are talking about?
> 
> Exactly (I've not looked at the contents yet, but the form is right).
> 
>>  static real image_distance_from(Image *image, Point *point);
>>  static void image_select(Image *image, Point *clicked_point,
>> @@ -131,6 +133,8 @@
>>      N_("Draw border"), NULL, NULL},
>>    { "keep_aspect", PROP_TYPE_BOOL, PROP_FLAG_VISIBLE,
>>      N_("Keep aspect ratio"), NULL, NULL},
>> +  { "re_read_file", PROP_TYPE_BOOL, PROP_FLAG_VISIBLE,
>> +    N_("Reread image file"), NULL, NULL},
> 
> why not use a PROP_TYPE_BUTTON and put a trigger on that ?
> 
> (granted, the code behind PROP_TYPE_BUTTON is not much tested, even less
> documented. I believe there is still an object with an example in #ifdef
> 0 shackles, somewhere in the objects/ tree. Grep...)

For the curious, it's objects/SADT/annotation.c, but I still recommend
against an explicit button, just like Horkan said.  This isn't something
the user should have to do.  We should figure out exactly where to put it
so that it updates frequently enough without slowing things down (NFS is
the problem child here).

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK