Commit Graph

25 Commits

Author SHA1 Message Date
GoUn Lee 05b41d2469 From: GoUn Lee <gouni.lee@samsung.com>
Subject: [E-devel] [Patch]New feature in Multibuttonentry widget
(input panel handles manually)

I've added patch for a new feature in Multibuttonentry widget.
When Multibuttonenetry gets/lost a focus, it shows input panel(virtual
keyboard) using elm_entry_input_panel_show/hide() function.
A multibuttonenetry manually handles input panel.
The reason why it handles manually input panel even though it has entry,
the multibuttonentry must show input panel when entry lost focus and
multibuttonentry widget is focused.
Such as item(button) is clicked.

So I've added this feature.
Please review this patch.



SVN revision: 68688
2012-03-05 09:58:38 +00:00
Daniel Juyung Seo 4f9b433c22 elm multibuttonentry: Revised codes.
1. fixed formatting.
2. renamed smart callback "shrank" -> "contracted"
I just renamed this smart callback without backport because multibuttonentry committed recently and backport will be removed in a couple of days (elm 1.0 api freeze)
Signed-off-by: Daniel Juyung Seo <seojuyung@gmail.com>

SVN revision: 68639
2012-03-03 06:11:50 +00:00
Daniel Juyung Seo 448157e020 elm multibuttonentry: Reviewed some parts of multibuttonentry.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68627
2012-03-02 12:43:02 +00:00
Carsten Haitzler e7af5e0e91 warn--
SVN revision: 68430
2012-02-25 05:11:59 +00:00
ChunEon Park c5232c4741 elementary - removed unnecessary checkings
SVN revision: 68393
2012-02-24 08:53:01 +00:00
ChunEon Park fcc6192848 elementary - modified item_del_pre_hook function prototype.
Now it returns the bool value to free the widget item.

Some widget items(i,e genlist) should not be deleted directly when elm_object_item_del is called.
So, if the pre_hook function returns EINA_FALSE, then the widget item will not be deleted.



SVN revision: 67565
2012-01-27 11:56:14 +00:00
Hyoyoung Chang c575025a4a From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elc_multibuttonentry - checking focus
before elm_widget_show_region_set

In elc_multibuttonentry, there're some elm_widget_show_region_set callings.
However it's not checking whether it got focused or not,
sometimes it's bugging users when the user's trying to move scroller.
So I changed to check focused.



SVN revision: 67285
2012-01-18 03:53:02 +00:00
ChunEon Park 56a881bd35 elementary/menu, ctxpopup, index, segment_control, diskselector, multibuttonentry, toolbar, naviframe, slideshow, hoversel, filpselector - deprecated xxxx_item_del() APIs.
But instead,  made to use the elm_object_item_del() APIs
for this, elm_widget_item needed to provide elm_widget_item_del_pre_hook.




SVN revision: 67010
2012-01-10 05:02:11 +00:00
ChunEon Park 5f1c8f6107 elementary/multibuttonentry - deprecated APIs. Now, let's use elm_common APIs.
elm_multibuttonentry_label_set()
elm_multibuttonentry_label_get()
elm_multibuttonentry_item_label_set()
elm_multibuttonentry_item_label_get()



SVN revision: 66739
2012-01-02 10:40:17 +00:00
ChunEon Park ab3198151c elementary/multibuttonentry - Elm_Multibuttonentry_Item -> Elm_Object_Item
SVN revision: 66737
2012-01-02 10:10:23 +00:00
ChunEon Park 3369d06ed0 elementary/multibuttonentry - refactoring.
removed unnecessary lines and made more proper as a elm_widget_item type.



SVN revision: 66736
2012-01-02 09:03:02 +00:00
ChunEon Park 161ad1d51f elementry/multibuttonentry - need to use ELM_WIDGET_ITEM internally.
SVN revision: 66735
2012-01-02 09:00:33 +00:00
ChunEon Park dc09132dd4 elementary/multibuttonentry - oops. i removed history. reverted!
SVN revision: 66734
2012-01-02 08:58:55 +00:00
ChunEon Park 58dcd21bf7 elementry/multibuttonentry - need to use ELM_WIDGET_ITEM internally.
SVN revision: 66732
2012-01-02 08:29:59 +00:00
Carsten Haitzler f6a3fc40e1 stop using deprecated calls.
SVN revision: 66681
2011-12-30 10:02:19 +00:00
Hyoyoung Chang defb09803a From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elc_multibuttonentry - clean unused vars

I just clean unused vars of elc_multibuttonentry.
It made that gcc complains :P



SVN revision: 66504
2011-12-26 04:01:31 +00:00
Hyoyoung Chang 83638390fe From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elc_multibuttonentry - delayed reset string

I was sent email about elc_multibuttonentry's bug. It reviewed by seoz.
And he found some path can make segfault.
So I changed reset string position in the widget.

I patched resetting internal entry's position, before that some label
are broken by too early resetting.




SVN revision: 66461
2011-12-22 07:56:01 +00:00
Carsten Haitzler e551940b11 oops - unpatch - wrong attribution!
SVN revision: 66460
2011-12-22 07:55:35 +00:00
Bluezery b5eba2f735 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel]  [Patch][elm_map] Mouse wheel bug fix

There is mouse wheel bug. Actually I have made it in previous patch :p

When using mouse wheel, tile size was changed between 0.5 ~ 2.0 before
zoom level is changed. But actually it should be changed between
1.0 ~ 2.0. I have fixed it. If tile size is below 1.0,  it does zoom-out. 
And if tile size is above 2.0, it does zoom-in.



SVN revision: 66458
2011-12-22 07:48:51 +00:00
Mike McCormack 969eef895a elementary: Tweak multibuttonentry spacing
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65565
2011-11-24 08:34:47 +00:00
Mike McCormack 25708dfb05 elementary: Avoid fixed length static buffers
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65564
2011-11-24 08:34:37 +00:00
Mike McCormack 8b310f0c48 elementary: Fix style issues in multibuttonentry
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65563
2011-11-24 08:34:26 +00:00
Mike McCormack 0a6442fc26 elementary: Formatting tweaks
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65556
2011-11-24 04:02:09 +00:00
Mike McCormack b3e0c80cfa elementary: Fix warnings in multibuttonentry
CC     libelementary_la-elc_multibuttonentry.lo
elc_multibuttonentry.c: In function ‘_set_vis_guidetext’:
elc_multibuttonentry.c:309:20: warning: unused variable ‘en_width’
elc_multibuttonentry.c: In function ‘_resize_button’:
elc_multibuttonentry.c:741:16: warning: unused variable ‘button_text’
elc_multibuttonentry.c: In function ‘_add_button_item’:
elc_multibuttonentry.c:772:40: warning: unused variable ‘h_btn’
elc_multibuttonentry.c: In function ‘_entry_resized_cb’:
elc_multibuttonentry.c:1064:86: warning: unused parameter ‘event_info’
elc_multibuttonentry.c: In function ‘elm_multibuttonentry_item_select’:
elc_multibuttonentry.c:1531:12: warning: suggest explicit braces to avoid ambiguous ‘else’
elc_multibuttonentry.c: In function ‘_resize_button’:
elc_multibuttonentry.c:747:37: warning: ‘padding_inner’ is used uninitialized in this function
^Cmake: *** [libelementary_la-elc_multibuttonentry.lo] Error 1

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65550
2011-11-24 01:06:45 +00:00
이고은 6824852f0c elementary: Add multibuttonentry widget
---------------------------------------------------

Dear Developers,

I added a new widget called “Multibuttonentry" which could be used as contact button in App
This widget allows a user to insert a text button.
text button is inserted by pressing the "Enter key"
If there is no space in the current row, the new button is entered in the next row. If the button is clicked, it will become focused.
And focused button can be removed by pressing the "backspace" key.
when items are added over 1 lines, if Multibuttonentry lost focus, it becase shrink mode (made it as 1 line)

Please review it's APIs and functionalities.

Thank you,
Goun

---------------------------------------------------

Widget was originally written by Hyunsil Park <hyunsil.park@samsung.com>.
It has been contributed to by the following people:
 * Jihoon Kim <jihoon48.kim@samsung.com>
 * WooHyun Jung <wh0705.jung@samsung.com>
 * deasung.kim <deasung.kim@samsung.com>
 * Myungjae Lee <mjae.lee@samsung.com>
 * Goun Lee <gouni.lee@samsung.com>
 * Mike McCormack <mj.mccormack@samsung.com>
 * Daniel Juyung Seo <juyung.seo@samsung.com>
 * Seunggyun Kim <sgyun.kim@samsung.com>
 * sanghoon80.cho <sanghoon80.cho@samsung.com>

Signed-off-by: 이고은 <gouni.lee@samsung.com>
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65548
2011-11-24 01:06:26 +00:00