Am 20.02.2012 00:45, schrieb Anthony Liguori:
Basic menu items to enter full screen mode and zoom in/out. Unlike SDL, we
don't allow arbitrary scaling based on window resizing. The current
behavior
with SDL causes a lot of problems for me.
Sometimes I accidentally resize the window a tiny bit
On 02/20/2012 01:41 AM, Paolo Bonzini wrote:
On 02/20/2012 12:45 AM, Anthony Liguori wrote:
+static void gd_menu_zoom_in(GtkMenuItem *item, void *opaque)
+{
+GtkDisplayState *s = opaque;
+
+s->scale_x *= 1.25;
+s->scale_y *= 1.25;
+
+gd_resize(s->ds);
+}
+
+static void gd_menu_zo
On 02/20/2012 12:45 AM, Anthony Liguori wrote:
> +static void gd_menu_zoom_in(GtkMenuItem *item, void *opaque)
> +{
> +GtkDisplayState *s = opaque;
> +
> +s->scale_x *= 1.25;
> +s->scale_y *= 1.25;
> +
> +gd_resize(s->ds);
> +}
> +
> +static void gd_menu_zoom_out(GtkMenuItem *item,
Basic menu items to enter full screen mode and zoom in/out. Unlike SDL, we
don't allow arbitrary scaling based on window resizing. The current behavior
with SDL causes a lot of problems for me.
Sometimes I accidentally resize the window a tiny bit while trying to move it
(Ubuntu's 1-pixel window