m0j0hn / editor-on-fire

Automatically exported from code.google.com/p/editor-on-fire
Other
0 stars 0 forks source link

Implement a zoom in feature #166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, EOF only zooms out, offering levels such as 1/2, 1/3, etc.

For people that want to work more intimately with the waveform graph (probably 
only useful if they have separated audio), it might be useful for EOF to offer 
the ability to use levels such as x2, x3, etc.

This would probably work the exact way that the zoom level currently works:  
Instead of dividing coordinates by an integer representing the zoom, the 
coordinate would be multiplied instead.

The math involved might not even require an extreme number of changes to EOF's 
current logic.  If a zoom level < 1 was in use (zoom out), then the zoom 
multiplier variable would always be set to 1, so when the coordinate was 
multiplied by it, it would not change the value.  Vice versa, if a a zoom level 
> 1 was in use (zoom in), then the zoom divider variable would always be set to 
1, so when the coordinate was divided by it, it would not change the value.

Original issue reported on code.google.com by raynebc on 20 Sep 2010 at 9:07

GoogleCodeExporter commented 9 years ago
This doesn't make as much sense while 1 millisecond is the smallest timing 
increment used by EOF.  Once delta time is in use, having this feature will 
allow for more precise mouse based manipulations.  Logic that depends on 
millisecond timing (ie. the waveform graph) may need to be radically redesigned.

Original comment by raynebc on 3 Nov 2010 at 10:08

GoogleCodeExporter commented 9 years ago

Original comment by raynebc on 18 May 2012 at 6:09

GoogleCodeExporter commented 9 years ago
By now, a x2 zoom feature has been added, but it does this by scaling the 
rendering of the editor window.  I really don't think higher zoom levels will 
be helpful, as Allegro won't create a program window that is larger than the 
screen, so interested users would require a huge screen resolution to work.  
Lowering the screen resolution to make EOF appear larger is an easy workaround.

Original comment by raynebc on 17 Dec 2014 at 9:25