Commit Graph

284 Commits

Author SHA1 Message Date
Carsten Haitzler ad1ae1694a a test for items... getting there.
SVN revision: 48308
2010-04-25 13:07:48 +00:00
Gustavo Sverzut Barbieri 8a23d2a6b7 Add special values to spinner.
Special value is a string showed instead a numerical one.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 48090
2010-04-18 00:31:07 +00:00
Gustavo Sverzut Barbieri 37d6782967 Add elm_scrolled_grid object.
A genlist like grid widget: just the visible objects are actually built.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 48086
2010-04-17 20:21:59 +00:00
Carsten Haitzler 93fa196620 test++
SVN revision: 48073
2010-04-17 14:20:06 +00:00
Carsten Haitzler 7aceaa4a41 support flush and dump protocol - also add call to do this by requuest from
the app itself.



SVN revision: 47949
2010-04-12 08:27:10 +00:00
Gustavo Lima Chaves 23b65bc2de Welcome a new Elementary widget: file selector button.
This is an elm button extended to launch a file selector on click and to callback_call registered funcs
when selection is completed.

Many uses may arise from it, but as a fresh 1st example here comes the first (primitive, but cool) video
player in edje:

externals {
  external: "emotion";
  external: "elm";
}

collections {
  group { name: "main";
     parts {
        part { name: "video";
           type: EXTERNAL;
           source: "emotion";
           description { state: "default" 0;
              rel1 {
                 offset: 10 10;
              }
              rel2 {
                 offset: -11 -61;
              }
              params {
                 choice: "engine" "gstreamer";
              }
           }
        }
        part { name: "play";
           type: RECT;
           description { state: "default" 0;
              color: 0 255 0 128;
              rel1 {
                 relative: 0 1;
                 offset: 10 -51;
              }
              rel2 {
                 relative: 0.3 1;
                 offset: -6 -11;
              }
           }
        }
        part { name: "pause";
           type: RECT;
           description { state: "default" 0;
              color: 255 0 0 128;
              rel1 {
                 relative: 0.3 1;
                 offset: 5 -51;
              }
              rel2 {
                 relative: 0.6 1;
                 offset: -6 -11;
              }
           }
        }

        part { name: "file_sel_btn";
           type: EXTERNAL;
           source: "elm/fileselector_button";
           description { state: "default" 0;
              rel1 {
                 relative: 0.6 1;
                 offset: 5 -51;
              }
              rel2 {
                 offset: -11 -11;
              }
              params {
                 string: "label" "open file";
                 string: "icon" "file";
              }
           }
        }

        programs {
           program {
              signal: "mouse,clicked,1";
              source: "play";
              after: "do_play";
           }
           program {
              name: "do_play";
              action: PARAM_SET "video" "play" "1";
           }
           program {
              signal: "mouse,clicked,1";
              source: "pause";
              action: PARAM_SET "video" "play" "0";
           }
           program {
              signal: "file,chosen";
              source: "file_sel_btn";
              action: PARAM_COPY "file_sel_btn" "path" "video" "file";
              after: "do_play";
           }
        }
     }
  }
}

Enjoy. I've seen bugs on the fileselector itself wrt to list selection logic.
I'll dig into then soon.



SVN revision: 47846
2010-04-08 20:36:37 +00:00
Carsten Haitzler 31c4f0349c 1. if window is transient for another.. if parent del - nuke reference to it
in transient.
2. addd flush button in genlist test - for exposing memory issues.



SVN revision: 47757
2010-04-05 04:58:43 +00:00
Cedric BAIL 549bb1a0d6 * elementary: fix segv due to double free. But more is needed to fix
efreet usage by elm icon test.


SVN revision: 47589
2010-03-30 11:17:17 +00:00
Carsten Haitzler 31321fb483 add test case for longpress and selected in genlist.
SVN revision: 47522
2010-03-28 01:44:56 +00:00
Sebastian Dransfeld 182023bb85 Sync with efreet and some cleanup
SVN revision: 47478
2010-03-26 05:34:34 +00:00
Carsten Haitzler 1ec47d82f0 test elm_entry_markup_to_utf8
SVN revision: 47363
2010-03-22 05:52:05 +00:00
Carsten Haitzler 5328f8ff8e add new test.
SVN revision: 47289
2010-03-16 12:42:24 +00:00
Carsten Haitzler d0f6e1fff2 test entries in a layout - works just fine! so bug--
SVN revision: 47283
2010-03-16 09:22:47 +00:00
Carsten Haitzler 643fcd2f7d bug-- and.. bug++
SVN revision: 47276
2010-03-16 04:11:47 +00:00
Gustavo Sverzut Barbieri 53ac1c8682 sort tests, add index.
Idea by Lucas de Marchi, implementation by myself.

It's not as fancy as it could be, since elm_list does not have an
animated "bring-in" as genlist... but I added a macro to make it easy
to migrate to genlist later without lots of changes...




SVN revision: 47272
2010-03-16 02:15:37 +00:00
Carsten Haitzler 546b20d49a bug change
SVN revision: 47271
2010-03-16 01:36:29 +00:00
Gustavo Sverzut Barbieri 37de81817f Add elm_thumb object to Elementary.
The elm_thumb object interacts with ethumb to create a thumbnail.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 47240
2010-03-15 18:34:04 +00:00
Carsten Haitzler 5ba7d227a9 bug++ :(
SVN revision: 47236
2010-03-15 13:51:54 +00:00
Carsten Haitzler c8f0e965af bug-- note
SVN revision: 47233
2010-03-15 09:45:16 +00:00
Carsten Haitzler 0971e213ab bug -= 2;
SVN revision: 47230
2010-03-15 02:34:27 +00:00
Carsten Haitzler 8f34a43231 aaah typo! fix from lupan.
SVN revision: 47225
2010-03-14 22:33:52 +00:00
Carsten Haitzler 74a985e916 bug++ :(
SVN revision: 47206
2010-03-14 13:02:00 +00:00
Carsten Haitzler cf87e22450 bug--
SVN revision: 47205
2010-03-14 12:59:12 +00:00
Carsten Haitzler b87feb067a bug--.. and unfortunately.. bug++
SVN revision: 47203
2010-03-14 12:27:21 +00:00
Carsten Haitzler 4f306d1607 note some bugs i found... to be fixed. at least i know them. :) (and have a
test case).



SVN revision: 47199
2010-03-14 08:21:22 +00:00
Carsten Haitzler 5ceae54321 fix more runtime wornings... added ELM_ERROR_ABORT! :)
SVN revision: 47195
2010-03-14 03:48:22 +00:00
Carsten Haitzler 7be6ec6ff8 get rid of forced scrollbars in scroller.
SVN revision: 47131
2010-03-11 08:13:20 +00:00
Carsten Haitzler c86c9ea795 and make entry api's acutally work - and be tested.
SVN revision: 47127
2010-03-11 06:35:07 +00:00
Carsten Haitzler ebd8928997 aaah eeek - wrong call. fixed.
SVN revision: 47107
2010-03-10 14:08:47 +00:00
Carsten Haitzler 7a7c28294b mark brokenness for now - will fix.
SVN revision: 47104
2010-03-10 13:40:15 +00:00
Carsten Haitzler 990bdd476a fix up test - set no allow focus and no propagate so buttons dont snarf focus
form entries.



SVN revision: 47102
2010-03-10 13:24:38 +00:00
Carsten Haitzler 0c5ae56027 more comprehensive test for entry - there are bugs, this will let me test and
fix.



SVN revision: 47101
2010-03-10 07:58:29 +00:00
Carsten Haitzler 23d121c6e7 take that - more warning--
SVN revision: 47098
2010-03-10 04:13:34 +00:00
Carsten Haitzler b9f621228a more comprehensive flip test with multiple children etc.
SVN revision: 47072
2010-03-09 04:00:08 +00:00
Gustavo Sverzut Barbieri fca2fb30c9 fix most llvm/gcc real bugs.
SVN revision: 46762
2010-03-02 01:27:08 +00:00
Carsten Haitzler 0bad44f5db allow icon window to resize for testing.
SVN revision: 46676
2010-03-01 02:20:41 +00:00
Carsten Haitzler ee7d419109 stop using round - no need
SVN revision: 46553
2010-02-27 05:20:28 +00:00
Carsten Haitzler 6a7271084d slight change in drag events vs scrolling on_hold to fix small "distance
race" issue.



SVN revision: 46505
2010-02-26 06:30:17 +00:00
Iván Briano d3d03fe793 Remove unused variables and use correct functions for objects. Now that scrolled_entry is used for the Entry scrolled test, the button callbacks can't be reused.
SVN revision: 46444
2010-02-24 21:53:51 +00:00
Gustavo Sverzut Barbieri 878e97e600 Update to new event callback signature.
SVN revision: 46208
2010-02-16 13:00:31 +00:00
Iván Briano c2ca925f67 Make Entry Scrolled test look a bit better.
SVN revision: 46115
2010-02-12 15:22:51 +00:00
Carsten Haitzler 5a8adbf9b7 add some callback tests.
SVN revision: 46049
2010-02-10 15:11:16 +00:00
이상진 957fc1e3e2 From: 이상진 <lsj119@samsung.com>
Patch for rotate with resize

(some formatting fixed too like ecore patch)



SVN revision: 46047
2010-02-10 14:38:08 +00:00
Iván Briano ceb6345b7f Improve scrolled_entry a bit, it's still open for more love though.
Move test_conformant to use scrolled_entry.


SVN revision: 46012
2010-02-09 15:43:17 +00:00
Gustavo Sverzut Barbieri a8777010c6 Convert test_entry to elm_scrolled_entry.
Reduce code duplication and also test the scrolled entry version.

Stéphane BAULAND



SVN revision: 46010
2010-02-09 13:21:46 +00:00
Carsten Haitzler e93dab4295 fix launcher test to scale a bit better.
SVN revision: 45927
2010-02-06 07:29:10 +00:00
Carsten Haitzler 02205965c4 more tests
SVN revision: 45893
2010-02-05 08:17:21 +00:00
Carsten Haitzler 56aba6a22b 1. fix conforman stuff to actually respect min size of content. it never did.
2. more comprehensive test.



SVN revision: 45863
2010-02-04 09:08:02 +00:00
Carsten Haitzler bf5471e700 mini config app - live changed scaling and finger size. needed to really show
what elementary is about!



SVN revision: 45800
2010-02-02 10:09:07 +00:00
Carsten Haitzler e905ed0ad5 typo fix
SVN revision: 45789
2010-02-02 02:54:22 +00:00