Commit Graph

66 Commits

Author SHA1 Message Date
Carsten Haitzler 4d9e5f3b5c and move bitfileds around and name enum typedefs better
SVN revision: 68681
2012-03-05 08:34:56 +00:00
Carsten Haitzler 7beae4b4f8 fix warnings from 김대성<ad960009@naver.com>'s patch.
SVN revision: 68680
2012-03-05 08:31:58 +00:00
WooHyun Jung fcffc57076 [elementary/entry] Add elm_entry_markup_filter_append/prepend/remove
and make elm_entry_text_filter_append/prepend/remove be deprecated. In
a filter function appended by elm_entry_text_filter_append, the type of text can
be format, text, or markup. So correct filtering is impossible. But
with elm_entry_markup_filter_append, the type is always markup.


SVN revision: 67747
2012-02-08 07:23:08 +00:00
ChunEon Park 0640b3d90b elementary/entry - more deprecated APIs
elm_entry_icon_set/get/unset
elm_entry_end_set/get/unset



SVN revision: 66991
2012-01-09 10:33:59 +00:00
Carsten Haitzler f6a3fc40e1 stop using deprecated calls.
SVN revision: 66681
2011-12-30 10:02:19 +00:00
Carsten Haitzler c44f45485f big move forward. scrolled entry and entry merge into entry. entry now
can be scrollable or not. scrolled entry now just calls entry calls
and is marked as dperecated to be killed off in the future so no need
to document it etc. edje external also goes.



SVN revision: 60438
2011-06-17 09:44:31 +00:00
Tom Hacohen 156d94de65 Elm scrollend_entry: Fix group of elm_scrolled_entry_is_empty.
Patch by Jihoon Kim.

SVN revision: 60373
2011-06-16 06:19:15 +00:00
Tom Hacohen 9b3ec1000e Elm entry/scrolled_enry: Added *_entry_append API.
This is very useful when you want to feed an entry from a socket for example
and you don't want to wait until all the information is received

SVN revision: 60267
2011-06-13 11:07:43 +00:00
Tom Hacohen 9466cbcea3 Elementary: Use an enum for selecting line-wrap method.
BREAKS API - discussed in ML before.

SVN revision: 59115
2011-05-02 10:56:16 +00:00
ChunEon Park c7c99ddea6 elementry / entry, menu, notify, list, gengrid, actionslider, image, icon, anchorview, fileselector_button, calendar, photocam, anchorblock,
button, map, colorselector, hover, photo, diskselector, index, bubble, pager, hoversel, check, scrolled_entry, clock, flipselector

	    updated signal callback list in the  doxygen. 

            should update genlist, progressbar ... 



SVN revision: 58335
2011-04-04 16:34:18 +00:00
Daniel Juyung Seo 8a108db5ab Elementary: Use pre-defined type Edje_Signal_Cb instead of describing all of its parameters.
SVN revision: 58283
2011-04-03 05:32:17 +00:00
ChunEon Park 0b74203480 elementary - fileselecto, actionslider, anchorview, fileselector_button, anchorblock, fileselector_entry, hoversel, scrolled_entry
SVN revision: 58254
2011-04-01 11:51:11 +00:00
Carsten Haitzler f74c18a02e make all widgets use a standard setup macro. cuts code down and
handles null parent errors, null wd alloc, null obj create errors etc.



SVN revision: 58242
2011-04-01 06:08:02 +00:00
Tom Hacohen 2d42233ac2 Elementary entry: Removed const from obj in *_entry_pos_set.
Fix the the previous commit, I can't believe I missed that one.
Patch by Jihoon Kim.

SVN revision: 57376
2011-02-27 11:44:01 +00:00
Tom Hacohen 09bbe67ee2 Elementary entry: Added elm_entry_cursor_pos_set/get (for scrolled as well).
Added elm_scrolled_entry_cursor_pos_set/get and elm_entry_cursor_pos_set/get
Patch by Jihoon Kim.

SVN revision: 57366
2011-02-27 10:25:45 +00:00
Tom Hacohen 6cf01f93a6 Elementary scrolled_entry: Added *_entry_cnp_textonly_[set/get]
Same as the simple entry textonly mode setting.
Patch by Hyoyoung Chang.

SVN revision: 57298
2011-02-24 09:24:26 +00:00
Tom Hacohen f1ea3ee423 Elementary: implemented elm_scrolled_entry_is_empty and elm_entry_is_empty. Currently done in a hackish way, will be fixed to be cool once 1.0 is out, and the needed textblock support will be there.
SVN revision: 56296
2011-01-25 03:04:33 +00:00
Tom Hacohen 5871b29ea1 Elementary: Fixed the way elm_scrolled_entry_cursor_end_set worked. It now just queries the show region which is mostly good, until we'll really define what we want to be shown.
SVN revision: 56283
2011-01-24 10:50:33 +00:00
Tom Hacohen 39ba7b1c23 Will soon commit a better solution instead.
Revert "Elemenatry: Fixed an issue with elm_scrolled_entry_cursor_end_set not showing the correct region."

This reverts commit 90e80c4045d0c7031b0b01b67b06f62ea8efb14f.

SVN revision: 56281
2011-01-24 10:50:27 +00:00
Tom Hacohen 17d8af43e7 Elemenatry: Fixed an issue with elm_scrolled_entry_cursor_end_set not showing the correct region.
SVN revision: 56278
2011-01-24 03:01:36 +00:00
Myungjae Lee 809e800133 From: Myungjae Lee <mjae.lee@samsung.com>
Subject: [E-devel]  [PATCH] elm scroller, scrolled entry: events
propagation, min size

It's not possible to connect event handler such as
EVAS_CALLBACK_KEY_UP to
elm_scrolled_entry because the scroller inside the scrolled entry does
not
propagate events. So this is the patch for adding events propagation set
function to scroller and setting it to EINA_TRUE in elm scrolled entry.

And one more thing in scrolled entry, while evaluating its size,
scrolled
entry does not consider its min size.
(It just refers to the min size of its scroller object instead of
scrolled
entry object.)
So here in the attached patch, scrolled entry compares its min size to
the
min size of the scroller object and set the bigger one to its min size
to
keep the min size set by intent.

looks good - some mistakes you made. you forgot the patch that adds
elm_scroller_propagate_events_set() to Elementary.h.in .... i added it
for
you. but remember to include it in your patch next time. Also  the
documentation could be a LOT better! i fixed that for you too. also -
you
could have added a elm_scroller_propagate_events_get(). i added that
too for
you. oh.. and you didn't use ELM_CHECK_WIDTYPE().



SVN revision: 55609
2010-12-17 10:47:55 +00:00
3v1n0 ff67ce31fb Always check for valid evas object.
If you try to create a new widget, you must be sure that the parent
is really an evas object.

With the previous implementation it was possible to call an _add
function for an elementary widget with any non-null pointer as parent
eventually causing crashes (like with the elm_box).


SVN revision: 55521
2010-12-12 19:12:43 +00:00
helen 030b697366 EINA_SAFETY_ON_NULL_RETURN
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary

SVN revision: 55188
2010-12-03 14:08:33 +00:00
Tiago Rezende Campos Falcao 20db73ea48 Not return const Evas_Objects in (icon|end)_get
SVN revision: 54688
2010-11-18 12:55:31 +00:00
Bruno Dilly a737b92bd3 Adding some missing const on getters on elm
SVN revision: 54333
2010-11-08 16:39:07 +00:00
Bruno Dilly b8200447ef Add bounce getter for remaining widgets
SVN revision: 54163
2010-11-05 00:45:59 +00:00
Gustavo Lima Chaves e5cd3976c0 Reverting size hints hacks the right way at scrolled entry + calling
it from theme hook.



SVN revision: 54150
2010-11-04 13:51:02 +00:00
Bruno Dilly 81b68b08a9 Remove elm_notepad
Notepad had a big issue: users couldn't access the entry, so notepad
was something near to an useless widget.

We needed to choose between wrap all entry functions or add these file
save / load and autosave features to entries.

As discussed on the emails list, we decided to go with the second
option, so we won't have an extra widget with lots of wrap functions.

Notepad was internally just an elm_entry with a scroll, so using
a scrolled entry with a file set will do the job.

I've added a test called Entry Notepad that looks like the removed
Notepad test. But we will see the improvements - you can clear the entry
or whatever you want, because the entry is the object you are creating.

If you were using elm_notepad before, just s/notepad/scrolled_entry
and almost everything should work fine. Another change was the function
file_save(obj, file, format), is now just file_save(obj), and the
file and format used are defined by file_set().

At last, some getters were added.



SVN revision: 54145
2010-11-04 11:56:15 +00:00
Tiago Rezende Campos Falcao c911a2c5b2 Fix scrolled entry sizing eval when change style
SVN revision: 54126
2010-11-03 17:22:42 +00:00
Iván Briano ea3dda3527 And let's not expose internal objects when setting signal callbacks on widgets.
SVN revision: 54004
2010-10-29 18:21:58 +00:00
Tiago Rezende Campos Falcao 15d0643b10 Getters should received const pointers
Only two getters continue without const:
* elm_theme_get
Need name review, or comportament.

* elm_toolbar_item_menu_get
Need comportament review, but will be fixed by bdilly.

SVN revision: 53874
2010-10-25 14:34:22 +00:00
Gustavo Lima Chaves 72e51fa553 Making scrolled entries respect min/max size hints set from the user.
SVN revision: 53867
2010-10-25 13:08:12 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Iván Briano 3ec77727cc Bring focused object into the visible area
There's still a little bugger that can be noticed with the Scroller 2 test
and elm_conform still needs to handle this as scroller does.


SVN revision: 53778
2010-10-22 18:29:51 +00:00
Rafael Fonseca a7790e9dd7 Better way of setting bounce from profile.
Change pointed out by k-s.



SVN revision: 53744
2010-10-21 19:57:43 +00:00
Rafael Fonseca 3eaa37aa3b Use bounce information from profile in the scrollers.
Instead of just setting the bounce property to its scroller, each widget now
first checks in the profile used whether bounce is enabled or not.



SVN revision: 53730
2010-10-21 18:54:47 +00:00
Iván Briano 4c8980e47e Filter input text in entries.
Users can set filters of their own (text only, no format now) or use the
predefined ones.


SVN revision: 53141
2010-10-07 12:50:00 +00:00
Carsten Haitzler 4f3090af01 and handle disables for everything else that has disable hooks.
SVN revision: 53138
2010-10-07 07:44:50 +00:00
Iván Briano 168f1c521b Create sub objects using ourself as parent. Avoids having them as subobjects of any other widget, which caused problems whens passing focus around
SVN revision: 52860
2010-09-28 19:29:24 +00:00
김지훈 d99918389f From: 김지훈 <imfine98@gmail.com>
I changed elementary source code related to focus functions.
Eina_Bool is used instead of integer type in those functions.



SVN revision: 52839
2010-09-28 04:28:14 +00:00
Gustavo Lima Chaves 3ee1b96080 Fixes on scrolled entry docs.
SVN revision: 52807
2010-09-27 19:04:31 +00:00
Tiago Rezende Campos Falcao 0d7a14174f Removing warnings in scrolled_entry and scroller
Adding NULL as return value.

SVN revision: 52688
2010-09-24 14:48:06 +00:00
Leandro Pereira 8c4df25efe [Elementary] For icon/end elements, use swallow parts in the scroller theme instead of an Elm_Box.
This defines a new theme group for elm_scrolled_entry:
"elm/scroller/entry/$THEME".  Themes that wants to support the icon/end
feature in scrolled entry should implement parts "elm.swallow.icon" and
"elm.swallow.end".  Black&White theme has been changed, Effeniht changes
to come on a later commit.



SVN revision: 52657
2010-09-23 22:30:47 +00:00
Leandro Pereira 51f9a38521 [Elementary] Implement get/unset for icon/end properties of scrolled_entry.
(Suggestion by glima)


SVN revision: 52603
2010-09-22 19:15:38 +00:00
Leandro Pereira 8c7e3016e1 [Elementary] Add icon/end objects to the scrolled entry.
SVN revision: 52602
2010-09-22 18:25:35 +00:00
Bruno Dilly f8de57f405 Add elm object signal emit and callback add / del hooks to entry, list and index
SVN revision: 52087
2010-09-09 18:53:36 +00:00
Davide Andreoli 67785c352c Scrolled Entry: forward the event_info from the entry to the
scrolled_entry callbacks. Without this any scrolled entry was
  not able to use the event_info struct.


SVN revision: 52015
2010-09-09 01:07:50 +00:00
titan 5abc08fa87 Make sure after moving the cursor on cursor end in a scrolled entry, the scroller stays where it was.
Should this be done for all cursor moves? Currently a cursor move always takes the scroller to the top.


SVN revision: 51450
2010-08-19 20:57:51 +00:00
Bruno Dilly 64c0cbc955 Set signal emit hooks for entry, scroller and scrolled entry.
SVN revision: 49682
2010-06-15 15:04:05 +00:00
Brett Nash 4856ef5dc0 Scrolled entry doc format update
SVN revision: 49475
2010-06-06 04:44:54 +00:00