summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-03-24 03:19:45 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-03-24 03:19:45 +0000
commit596e0cfe2480e5146d0a71b9a3dc17726cd38982 (patch)
tree3b65f53c50ef66d4f8897698fe8286c30ac6b0e3
parentf1c371788c2e8dc61a2230f1f326c54b711eac49 (diff)
hide title etc!
SVN revision: 47410
-rw-r--r--src/bin/ui.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/bin/ui.c b/src/bin/ui.c
index a4879f9..d524021 100644
--- a/src/bin/ui.c
+++ b/src/bin/ui.c
@@ -171,6 +171,8 @@ _ui_all(void)
171 (mi->func == _ui_all)) 171 (mi->func == _ui_all))
172 continue; 172 continue;
173 if (mi->func) mi->func(); 173 if (mi->func) mi->func();
174 evas_object_hide(o_title);
175 evas_object_hide(o_byline);
174 while (p_fps == 0.0) 176 while (p_fps == 0.0)
175 { 177 {
176 engine_loop(); 178 engine_loop();
@@ -191,8 +193,8 @@ _ui_all(void)
191 avgw /= (i - 1); 193 avgw /= (i - 1);
192 if (t_count > 0) 194 if (t_count > 0)
193 { 195 {
194// printf("%4.2f , EVAS SPEED\n", fps / t_count); 196// printf("%5.2f , EVAS SPEED\n", fps / t_count);
195 printf("%4.2f , EVAS SPEED (WEIGHTED)\n", wfps / (t_count * avgw)); 197 printf("%5.2f , EVAS SPEED (WEIGHTED)\n", wfps / (t_count * avgw));
196 } 198 }
197} 199}
198 200
@@ -214,6 +216,8 @@ _ui_num(int n)
214 evas_object_hide(o_menu_icon_sel); 216 evas_object_hide(o_menu_icon_sel);
215 evas_object_hide(o_menu_icon_sel2); 217 evas_object_hide(o_menu_icon_sel2);
216 evas_object_hide(o_menu_text_sel); 218 evas_object_hide(o_menu_text_sel);
219 evas_object_hide(o_title);
220 evas_object_hide(o_byline);
217 mi = eina_list_nth(menu, n); 221 mi = eina_list_nth(menu, n);
218 if (mi) 222 if (mi)
219 { 223 {
@@ -222,6 +226,8 @@ _ui_num(int n)
222 (mi->func == _ui_all)) 226 (mi->func == _ui_all))
223 goto done; 227 goto done;
224 if (mi->func) mi->func(); 228 if (mi->func) mi->func();
229 evas_object_hide(o_title);
230 evas_object_hide(o_byline);
225 while (p_fps == 0.0) 231 while (p_fps == 0.0)
226 { 232 {
227 ui_loop(); 233 ui_loop();
@@ -243,8 +249,8 @@ _ui_num(int n)
243 avgw /= (i - 1); 249 avgw /= (i - 1);
244 if (t_count > 0) 250 if (t_count > 0)
245 { 251 {
246// printf("%4.2f , EVAS SPEED\n", fps / t_count); 252// printf("%5.2f , EVAS SPEED\n", fps / t_count);
247 printf("%4.2f , EVAS SPEED (WEIGHTED)\n", wfps / (t_count * avgw)); 253 printf("%5.2f , EVAS SPEED (WEIGHTED)\n", wfps / (t_count * avgw));
248 } 254 }
249} 255}
250 256
@@ -274,6 +280,8 @@ _ui_select(void)
274 } 280 }
275 menu_active = 0; 281 menu_active = 0;
276 if (func) func(); 282 if (func) func();
283 evas_object_hide(o_title);
284 evas_object_hide(o_byline);
277} 285}
278 286
279static void 287static void