Re: BonoboZoomable - BonoboZoomLevel



Hi Martin,

On 14 Oct 2000, Martin Baulig wrote:
> here's a small patch which changes the type of `BonoboZoomLevel'
> from float into a structure
>    
> ===
> struct ZoomLevel {
>       float zoom_level;
>       string label;
> };
> typedef sequence<ZoomLevel> ZoomLevelList;
> ===
> 
> There's also a new BonoboZoomLevel type
>    
> ===
> typedef struct _BonoboZoomLevel               BonoboZoomLevel;
> 
> struct _BonoboZoomLevel {
>       float                           zoom_level;
>       const gchar                     *label;
> }; 

        Why do we want to do this ? surely the zoom is expressed as a
percentage ? I can't see an application for this, and it seems to
complicate the interface rather, what do you anticipate putting in the    
label apart from 100%, 200%, 300%, 'default [ should be 1.0 ]' etc. ?    
               
        Regards,
  
                Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot





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