Commit Graph

57 Commits

Author SHA1 Message Date
Daniel Willmann 4d40f16f5e els_tooltip: Don't expect to have X running if support is compiled in
Refactor the code so common code is not duplicated inside the
if (transparent) and else blocks

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-11 11:27:23 +01:00
Daniel Juyung Seo 8ea7760db4 els_tooltip.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:12:04 +09:00
Daniel Juyung Seo 5f053bf79a elm: refactoring. use more ELM_FREE_FUNC. 2013-05-23 15:54:49 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
ChunEon Park fb472f97b1 elementary - only support sending signals when orientation mode is changed.
it's enough right now.

need to consider more about theme change.
2013-02-26 13:26:22 +09:00
ChunEon Park 0a71cd2727 elementary/widget - revised orientation mode code.
now if applying the orientation style is failed, it tries to apply the original style. if it fails again then default theme.

also it fixed a logic error when theme changed is happened.

It will try to apply the original style if the orientation style is invalid on theme changing.




SVN revision: 84082
2013-02-19 08:22:15 +00:00
Jaehwan Kim 803ff266ac Fix copy-paste error
SVN revision: 82434
2013-01-09 04:57:54 +00:00
Mike Blumenkrantz 86727a6b8b same netwm tooltip fix
SVN revision: 81876
2012-12-29 15:57:08 +00:00
Mike Blumenkrantz 5446cde267 fix tooltips to not go offscreen as often
SVN revision: 79982
2012-12-02 12:41:09 +00:00
Carsten Haitzler 8b76f22a7e big tooltip (tooltip in window) visibility bug fix! yay! :)
SVN revision: 74897
2012-08-06 06:43:59 +00:00
Carsten Haitzler d76345fc8a use profate atof that fixes up locale issues for string -> float
conversion.



SVN revision: 70485
2012-04-26 03:32:18 +00:00
Daniel Juyung Seo 7908a77ad8 elm: Fixed formatting.
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Mike Blumenkrantz 0adcfa7c7c even more TTDBG
SVN revision: 69209
2012-03-11 22:21:41 +00:00
Mike Blumenkrantz f6656c64cf significantly improve look of tooltips during mouse movement
SVN revision: 69208
2012-03-11 22:13:24 +00:00
Mike Blumenkrantz e003b20f1c more TTDBG
SVN revision: 69207
2012-03-11 22:01:55 +00:00
Mike Blumenkrantz e55ec71d08 if the tooltip is huge, this isn't an error
SVN revision: 69205
2012-03-11 21:56:36 +00:00
Mike Blumenkrantz 58d2852b57 add an abort() here to help sort out remaining tt positioning issues; send backtraces to the list
SVN revision: 69204
2012-03-11 21:50:02 +00:00
Carsten Haitzler 84aa9dbceb move config setting fucns over to elm_config in preparation for naming
elm_config_*



SVN revision: 68797
2012-03-06 09:23:43 +00:00
Carsten Haitzler 7542e629d3 deprecate elm_win_transparent stuff
SVN revision: 68698
2012-03-05 12:03:40 +00:00
Jihoon Kim e083aa2095 elm: fix typo parant -> parent
SVN revision: 68669
2012-03-05 02:35:25 +00:00
Sanjeev BA 84fe1571f2 Elm tooltip API moved to config.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68470
2012-02-27 08:33:48 +00:00
Mike Blumenkrantz 890a378db7 API BREAK
elm_XXX_tooltip_size_restrict_disable() -> elm_XXX_tooltip_window_mode_set()
elm_XXX_tooltip_size_restrict_disabled_get() -> elm_XXX_tooltip_window_mode_get()


SVN revision: 65909
2011-12-05 15:25:09 +00:00
Mike Blumenkrantz 0a7bec205b even better tooltip placement, more debug messages, some developer comments, don't show tooltip if it's going to be a failure offscreen tooltip (FOT) (tm)
SVN revision: 65561
2011-11-24 04:52:16 +00:00
Mike Blumenkrantz 5121192fac further improve tooltip placement, add debug messages so I don't have to keep writing them in when I want to tinker with this
SVN revision: 65559
2011-11-24 04:16:03 +00:00
Mike Blumenkrantz 54efa8cf9a unbreak tooltip placement
SVN revision: 65553
2011-11-24 02:42:46 +00:00
Mike Blumenkrantz 2f5e212c5e use new elm_win function to find screen geometry instead of ecore_x
SVN revision: 65495
2011-11-21 19:55:13 +00:00
Mike Blumenkrantz 1d851d7ea9 maybe throttling this was not a great idea...
SVN revision: 65491
2011-11-21 19:12:35 +00:00
Iván Briano 057a00829c Get us some nice auto translation scheme
First things first, I'm not sure I'm setting the right variable on
the setlocale() call, so someone more knowledgeable can look at it and fix it.

How this works, you say? Just like elm_object_text_part_set(), except now it
will pass the string given through dgettext() with the given domain (NULL
means it uses whatever the app set with textdomain()), and when changing
language with elm_language_set(), it will re-set the strings with a new
translation.



SVN revision: 64179
2011-10-19 14:17:14 +00:00
Mike Blumenkrantz cf1f395966 fix bug where window-type tooltip deletion caused infinite recursion
SVN revision: 63761
2011-10-03 04:12:40 +00:00
Tom Hacohen bc6ea747d1 Elm tooltip: Remove the checks if object passed is an elm widget.
This kinda reverts 62919, still kept the useful new macro/func.

SVN revision: 62943
2011-08-29 11:55:25 +00:00
Daniel Juyung Seo 136a0f7dfd elm els_tooltip.c: Fixed warings.
SVN revision: 62930
2011-08-29 04:00:37 +00:00
Tom Hacohen e36e207812 Elm tooltip: Added checks if the object passed is an elm object.
SVN revision: 62919
2011-08-28 14:12:38 +00:00
Gustavo Lima Chaves 31a3e6180a [elementary] All docs to elm's header, as Raster wishes.
Discomfitor, now it's time to split the header and/or write another novel.



SVN revision: 62315
2011-08-10 21:03:21 +00:00
Jonas M. Gastal 0352f299d0 Elementary: A ton of random doc fixes.
SVN revision: 62066
2011-08-03 19:07:43 +00:00
Mike Blumenkrantz 977eae16c7 more tooltip calc fixes: if edje minw/minh is 0x0 from calc, use evas minw/minh so it's visible
SVN revision: 61926
2011-07-31 14:29:04 +00:00
Mike Blumenkrantz fb13968e89 remove hardcoded transparency from tooltip, add data item to edc to enable it
SVN revision: 61845
2011-07-28 10:08:07 +00:00
Mike Blumenkrantz d25c988bfc now apply style correctly to free size tooltips, and remember that time I said that I was done with tt position calculations? I lied. this commit is the pinnacle of tooltip position calculating technology. also inverts position of tooltip so it doesn't get stupidly hidden by the pointer
SVN revision: 61833
2011-07-28 01:32:40 +00:00
Mike Blumenkrantz 51491fbbae whoops, forgot to give transparent tooltip an alpha channel
SVN revision: 61812
2011-07-27 19:09:50 +00:00
Mike Blumenkrantz 3957a809f4 throttle tooltip job creation
SVN revision: 61811
2011-07-27 18:35:49 +00:00
Mike Blumenkrantz 2a09e2e7a8 significantly improve tooltip orientation calculations
SVN revision: 61795
2011-07-27 07:12:28 +00:00
Mike Blumenkrantz 81c6fb457d allow tooltips to better choose their orientation
SVN revision: 61793
2011-07-27 06:50:56 +00:00
Mike Blumenkrantz c061290560 err...not sure how that got in there
SVN revision: 61792
2011-07-27 06:44:39 +00:00
Mike Blumenkrantz 018a6320f5 fix a lot of issues with giant tooltips, also disable mouse input.
THANK YOU JEFFDAMETH FOR BEING SO AWESOME


SVN revision: 61791
2011-07-27 06:43:51 +00:00
Daniel Juyung Seo febcbbf303 elm tooltip: Fixed warnings.
SVN revision: 61758
2011-07-26 12:35:54 +00:00
Mike Blumenkrantz 54f1e32c17 THE MOST ANTICIPATED COMMIT OF 2011: HUGENORMOUS TOOLTIPS!!!!!!
these bad boys are so big and pixelthirsty they can't be constrained by a regular canvas or window, they use OVERRIDE REDIRECT WINDOWS. not only that, they totally exceed the boundaries of what a reasonable function name length could be. 50 character function name limit? puh-leeze. these guys don't care what side of the screen they're even on so long as they get to wade into the thick of the action and block out each and every crappy non-efl application behind them. and that's when they're in good moods. you don't even want to know what happens when you piss these guys off.


SVN revision: 61735
2011-07-26 09:38:23 +00:00
Mike Blumenkrantz 061f507101 explicitly hide tooltip content before deleting in case object is not able to be deleted (prevents giant tooltip image from getting stuck on canvas)
SVN revision: 61661
2011-07-24 22:05:02 +00:00
Mike McCormack 0295f4d56e elementary: elm_label_label_ -> elm_object_text
Clear deprecated warnings.

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

SVN revision: 60798
2011-06-29 06:41:31 +00:00
Michael BOUCHAUD 35c22c2d63 elementary: fix tooltip segfaults with gengrid (cedric thanks)
SVN revision: 60347
2011-06-15 14:07:28 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Bruno Dilly 333e06b357 Clean up some dead code on elementary
SVN revision: 52764
2010-09-25 22:08:56 +00:00