Enlightenment CVS committal
Author : xenith
Project : misc
Module : envision
Dir : misc/envision/src
Modified Files:
.cvsignore callbacks.c envision.c envision.h
Log Message:
You can now install it. :)
===================================================================
RCS file: /cvsroot/enlightenment/misc/envision/src/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- .cvsignore 8 Aug 2004 23:38:37 -0000 1.1
+++ .cvsignore 9 Aug 2004 07:38:15 -0000 1.2
@@ -4,3 +4,4 @@
Makefile.in
envision
*.o
+*.swp
===================================================================
RCS file: /cvsroot/enlightenment/misc/envision/src/callbacks.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- callbacks.c 8 Aug 2004 23:38:37 -0000 1.1
+++ callbacks.c 9 Aug 2004 07:38:15 -0000 1.2
@@ -136,7 +136,7 @@
Evas_Object * edje = evas_object_name_find(evas, "edje");
ecore_evas_geometry_get(ee, NULL, NULL, &ws, &hs);
- evas_object_resize(edje, (Evas_Coord) ws, (Evas_Coord) hs);
+ evas_object_resize(edje, (Evas_Coord)ws, (Evas_Coord)hs);
}
void
===================================================================
RCS file: /cvsroot/enlightenment/misc/envision/src/envision.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- envision.c 8 Aug 2004 23:38:37 -0000 1.9
+++ envision.c 9 Aug 2004 07:38:15 -0000 1.10
@@ -1,3 +1,4 @@
+#include <config.h>
#include "envision.h"
Envision *
@@ -25,6 +26,7 @@
Envision * e = NULL;
double volume, vid_len;
Evas_Coord minw, minh;
+ int w, h;
e = envision_new();
e->config.width = 400;
@@ -34,7 +36,7 @@
ecore_init();
ecore_evas_init();
edje_init();
-
+
// Setup evas canvas
e->gui.ee = ecore_evas_software_x11_new(NULL, 0, 0, 0, e->config.width,
@@ -48,7 +50,7 @@
// Setup edje objects
e->gui.edje = edje_object_add(e->gui.evas);
- edje_object_file_set(e->gui.edje, "../data/themes/trakvision/trakvision.eet",
+ edje_object_file_set(e->gui.edje, DATA_DIR "/themes/trakvision.eet",
"envision");
evas_object_move(e->gui.edje, 0, 0);
edje_object_size_min_get(e->gui.edje, &minw, &minh);
===================================================================
RCS file: /cvsroot/enlightenment/misc/envision/src/envision.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- envision.h 8 Aug 2004 23:38:37 -0000 1.1
+++ envision.h 9 Aug 2004 07:38:15 -0000 1.2
@@ -6,7 +6,6 @@
#include <Emotion.h>
#include <Edje.h>
-int w, h;
char vol_str[3];
typedef struct {
@@ -30,6 +29,8 @@
// envision.c
Envision * envision_new();
void envision_delete(Envision *e);
+
+// callbacks.c
void quit_edjecallback(void *data, Evas_Object *obj, const char *emission,
const char *source);
void raisevol_edjecallback(void *data, Evas_Object *obj, const char *emission,
@@ -44,12 +45,6 @@
const char *emission, const char *source);
void ecore_resize(Ecore_Evas *ee);
void update_timer(void *data, Evas_Object *obj, void *event_info);
-
-// callbacks.c
-
-// interface.c
-
-// control.c
void pause_callback(void *data, Evas_Object *obj, const char *emission,
const char *source);
void play_callback(void *data, Evas_Object *obj, const char *emission,
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs