Ah... sorry.
Try again but now I'm using outlook ..
-----Original Message-----
From: Carsten Haitzler (The Rasterman) [mailto:ras...@rasterman.com]
Sent: Thursday, November 04, 2010 3:21 PM
To: chuneon.p...@samsung.com
Cc: enlightenment-devel@lists.sourceforge.net; tangfeng; ???; ???; ???
Subject: Re: [E-devel] [Patch] Elementary photocam widget patch
On Thu, 04 Nov 2010 06:03:04 +0000 (GMT) ChunEon Park
<chuneon.p...@samsung.com> said:
aaah i go tit - but list didn't get it. reason is this:
Content-Type: application/octet-stream;
name="photocam.patch.txt"
your mail client/server insists on saying its a binary file - sf.net refuses
to
send attachments of this type to filter out viruses for the windows world.
you
might need to zip it gzip it, tar it or something else so the mailer changes
the mimetype to one sf.net allows through.
> Oh sorry. Im trying again.
>
> ------- Original Message -------
> Sender : Carsten Haitzler<ras...@rasterman.com>
> Date : 2010-11-04 14:54 (GMT+09:00)
> Title : Re: [E-devel] [Patch] Elementary photocam widget patch
>
> On Thu, 04 Nov 2010 05:51:10 +0000 (GMT) ChunEon Park
> said:
>
> slight problem- lost the patch. problem with sf.net virus checking. it
will
> not allow "octet/binary" attachments. you need to make sure the mimetype
is
> plain text or another known type (tar.gz, zip, etc. etc.). then it will
get
> through.
>
> >
> > Hello, there.
> >
> >
> > This is a very small patch for Elementary photocam functions.
> >
> > Please review and apply this to upstream.
> >
> > This patch is made by <[1]suxia...@samsung.com>
> >
> >
> > Thanks.
> > [SeenTimeChecker?
> > do=45c6e2150b527b9f229e184d25a3a35d74351a0b012d06226b754d17
> >
d001ca18ba777c355c197185c465c2cf80a2b7ef9aba4bb3b2b5ca43ddd7e184e0604d958075
> > b6b33f32d245b7f8aafe245478a5f1d21d5ebee74427cf878f9a26ce15a0]
> >
> > References
> >
> > 1. mailto:suxia...@samsung.com
>
>
> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler) ras...@rasterman.com
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) ras...@rasterman.com
diff -urN elementary/photocam.patch elementary_photocam/photocam.patch
--- elementary/photocam.patch 1970-01-01 09:00:00.000000000 +0900
+++ elementary_photocam/photocam.patch 2010-11-04 14:22:36.000000000 +0900
@@ -0,0 +1,49 @@
+Binary files elementary/.git/index and elementary-photocam/.git/index differ
+diff -uNr elementary/.git/logs/HEAD elementary-photocam/.git/logs/HEAD
+--- elementary/.git/logs/HEAD 2010-11-03 08:48:52.000000000 +0800
++++ elementary-photocam/.git/logs/HEAD 2010-11-03 08:48:46.000000000 +0800
+@@ -1,4 +1,3 @@
+ 0000000000000000000000000000000000000000
5feea318d05f618e5e08a994948b7029c79bedb0 Li Suxia <suxia...@samsung.com>
1288687410 +0800 clone: from
suxia...@165.213.180.234:/git/slp/pkgs/elementary
+ 5feea318d05f618e5e08a994948b7029c79bedb0
5feea318d05f618e5e08a994948b7029c79bedb0 Li Suxia <suxia...@samsung.com>
1288745114 +0800 checkout: moving from master to master
+ 5feea318d05f618e5e08a994948b7029c79bedb0
32bb175e62ac4b4c475a011deedd05515e7531dc Li Suxia <suxia...@samsung.com>
1288745123 +0800 pull : Fast-forward
+-32bb175e62ac4b4c475a011deedd05515e7531dc
32bb175e62ac4b4c475a011deedd05515e7531dc Li Suxia <suxia...@samsung.com>
1288745332 +0800 checkout: moving from master to master
+diff -uNr elementary/src/lib/Elementary.h.in
elementary-photocam/src/lib/Elementary.h.in
+--- elementary/src/lib/Elementary.h.in 2010-11-03 08:48:52.000000000 +0800
++++ elementary-photocam/src/lib/Elementary.h.in 2010-11-03
08:48:46.000000000 +0800
+@@ -1539,6 +1539,8 @@
+ EAPI void elm_photocam_paused_set(Evas_Object *obj, Eina_Bool
paused);
+ EAPI Eina_Bool elm_photocam_paused_get(const Evas_Object *obj);
+ EAPI Evas_Object *elm_photocam_internal_image_get(const Evas_Object *obj);
++ EAPI void elm_photocam_bounce_allow_set(const Evas_Object *obj, Eina_Bool
horiz, Eina_Bool vert);
++ EAPI void elm_photocam_bounce_allow_get(const Evas_Object *obj, Eina_Bool
*horiz, Eina_Bool *vert);
+
+ /* smart callbacks called:
+ * "clicked" - when image clicked
+diff -uNr elementary/src/lib/elm_photocam.c
elementary-photocam/src/lib/elm_photocam.c
+--- elementary/src/lib/elm_photocam.c 2010-11-03 08:48:52.000000000 +0800
++++ elementary-photocam/src/lib/elm_photocam.c 2010-11-03 08:48:46.000000000
+0800
+@@ -1630,3 +1630,23 @@
+ if (!wd) return NULL;
+ return wd->img;
+ }
++
++EAPI void
++elm_photocam_bounce_allow_set(const Evas_Object *obj, Eina_Bool horiz,
Eina_Bool vert)
++{
++ ELM_CHECK_WIDTYPE(obj, widtype) NULL;
++ Widget_Data *wd = elm_widget_data_get(obj);
++ if (!wd) return NULL;
++
++ elm_smart_scroller_bounce_allow_set(wd->scr, horiz, vert);
++}
++
++EAPI void
++elm_photocam_bounce_allow_get(const Evas_Object *obj, Eina_Bool *horiz,
Eina_Bool *vert)
++{
++ ELM_CHECK_WIDTYPE(obj, widtype) NULL;
++ Widget_Data *wd = elm_widget_data_get(obj);
++ if (!wd) return NULL;
++
++ elm_smart_scroller_bounce_allow_get(wd->scr, horiz, vert);
++}
+\ No newline at end of file
diff -urN elementary/src/lib/Elementary.h.in
elementary_photocam/src/lib/Elementary.h.in
--- elementary/src/lib/Elementary.h.in 2010-11-04 14:18:26.000000000 +0900
+++ elementary_photocam/src/lib/Elementary.h.in 2010-11-04 14:24:36.000000000
+0900
@@ -1845,6 +1845,8 @@
EAPI void elm_photocam_paused_set(Evas_Object *obj, Eina_Bool
paused);
EAPI Eina_Bool elm_photocam_paused_get(const Evas_Object *obj);
EAPI Evas_Object *elm_photocam_internal_image_get(const Evas_Object *obj);
+ EAPI void elm_photocam_bounce_allow_set(const Evas_Object *obj, Eina_Bool
horiz, Eina_Bool vert);
+ EAPI void elm_photocam_bounce_allow_get(const Evas_Object *obj, Eina_Bool
*horiz, Eina_Bool *vert);
/* smart callbacks called:
* "clicked" - when image clicked
diff -urN elementary/src/lib/elm_photocam.c
elementary_photocam/src/lib/elm_photocam.c
--- elementary/src/lib/elm_photocam.c 2010-11-04 14:18:26.000000000 +0900
+++ elementary_photocam/src/lib/elm_photocam.c 2010-11-04 14:26:51.000000000
+0900
@@ -1644,3 +1644,41 @@
if (!wd) return NULL;
return wd->img;
}
+
+/**
+ * Set the photocam scrolling bouncing.
+ *
+ * @param obj The photocam object
+ * @param horiz bouncing for horizontal
+ * @param vert bouncing for vertical
+ * @ingroup Photocam
+ */
+EAPI void
+elm_photocam_bounce_allow_set(const Evas_Object *obj, Eina_Bool horiz,
Eina_Bool vert)
+{
+ ELM_CHECK_WIDTYPE(obj, widtype) NULL;
+ Widget_Data *wd = elm_widget_data_get(obj);
+ if (!wd) return NULL;
+
+ elm_smart_scroller_bounce_allow_set(wd->scr, horiz, vert);
+}
+
+
+/**
+ * Get the photocam scrolling bouncing.
+ *
+ * @param obj The photocam object
+ * @param horiz bouncing for horizontal
+ * @param vert bouncing for vertical
+ * @ingroup Photocam
+ */
+EAPI void
+elm_photocam_bounce_allow_get(const Evas_Object *obj, Eina_Bool *horiz,
Eina_Bool *vert)
+{
+ ELM_CHECK_WIDTYPE(obj, widtype) NULL;
+ Widget_Data *wd = elm_widget_data_get(obj);
+ if (!wd) return NULL;
+
+ elm_smart_scroller_bounce_allow_get(wd->scr, horiz, vert);
+}
+
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel