[dia] Sample using embedded image and alpha rendering (integrated UI)



commit ece69949882011f475b4c695954ada9bd1ee0f31
Author: Hans Breuer <hans breuer org>
Date:   Sun Apr 17 13:49:26 2011 +0200

    Sample using embedded image and alpha rendering (integrated UI)
    
    There is quites some code duplication between integrated and
    standard UI. The diagram is trying to identify areas (widgets)
    which should be improved before further implementations of the
    integrated UI functionality should take place.
    
    Some of the widgets are only existing conceptually, so added a
    comment to make grep find them.

 app/menus.c                  |    1 +
 samples/Self/iui-widgets.dia |  Bin 0 -> 51968 bytes
 2 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/menus.c b/app/menus.c
index 1293a6f..36b2a12 100644
--- a/app/menus.c
+++ b/app/menus.c
@@ -465,6 +465,7 @@ integrated_ui_toolbar_zoom_activate (GtkWidget *item,
     }
 }
 
+/* "DiaZoomCombo" probably could work for both UI cases */
 static void
 integrated_ui_toolbar_zoom_combo_selection_changed (GtkComboBox *combo,
                                                     gpointer     user_data)
diff --git a/samples/Self/iui-widgets.dia b/samples/Self/iui-widgets.dia
new file mode 100644
index 0000000..4252ed5
Binary files /dev/null and b/samples/Self/iui-widgets.dia differ



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