summaryrefslogtreecommitdiffstats
path: root/src/eulogium.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Always put a space between the value and the unit!Olliver Schinagl2015-04-281-1/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* move dummy init more logicallyOlliver Schinagl2015-04-281-1/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* store print flags in print structOlliver Schinagl2015-04-281-1/+2
|
* clear data (beter) on abortOlliver Schinagl2015-04-281-2/+5
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* print time should be an int, not a pointerOlliver Schinagl2015-04-281-1/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Remove old txtdataOlliver Schinagl2015-04-281-86/+13
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* add the blink service to two random buttons for initial testingOlliver Schinagl2015-04-281-2/+16
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Initial dbus supportOlliver Schinagl2015-04-281-0/+62
| | | | | | | | | This patch adds initial dbus support for 3 interfaces for griffin; printer, led and harma. This interfaces are unused for now. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* turn pause into an abort buttonOlliver Schinagl2015-04-281-1/+22
| | | | | | | Notice: we just 'NULL' the pointers in the print data. There may be a memory leak here! Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* store the actual filepath in the button object, so that we can properly sort ↵Olliver Schinagl2015-04-281-2/+4
| | | | | | based on file/directory Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* make filelist button_list purdyOlliver Schinagl2015-04-281-9/+9
| | | | | | | This is still not perfect, button text should be left aligned for this. A new elm-style is needed for the buttons to achieve this. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* with button focus working in the new default.edj, we can disable the ↵Olliver Schinagl2015-04-281-1/+1
| | | | | | built-in highlighting Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* update file_data_set to store more information in the print dataOlliver Schinagl2015-04-281-4/+12
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Remove (un)focusED callbacks and edje signals, use focus insteadOlliver Schinagl2015-04-281-34/+0
| | | | | | | | By default elementary already emits an elm,action,focus signal. Using our own signal handler and signal 'focused' was good for a proof of concept, but is no longer needed as we can respond to the stock signals. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Prepare for dbus usageOlliver Schinagl2015-04-281-0/+4
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* fix when supplying an icon, we should set an icon, not a funcOlliver Schinagl2015-04-281-0/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* add focus/unfocuse style callbacksOlliver Schinagl2015-04-281-0/+34
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* disable scroller by blocking it (no mouse_wheel disabled available)Olliver Schinagl2015-04-281-0/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* remove debug printfOlliver Schinagl2015-04-281-1/+0
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add generic scroller. TODO: fix mousewheelOlliver Schinagl2015-04-281-9/+18
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Reverse scroll direction (again)Olliver Schinagl2015-04-281-2/+2
| | | | | | | Scroll direction was backwards. It felt unnatural with a real mouse, so we just change the device tree instead. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* fix ugly spelling mistakeOlliver Schinagl2015-04-281-1/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Align app a little betterOlliver Schinagl2015-04-281-28/+8
| | | | | | | | | This patch adds some hint weights/alignment sizes for better alignment of several widgets. Also experiment with a table over a box for the 'main' content. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add additional button callbacks for debuggingOlliver Schinagl2015-04-281-12/+33
| | | | | | | | | This patch adds several callback functions to unused buttons purely for printf-ing. This will need to be filled in later. Additionally, some debugging/comments was added. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Create own 'elm_button_list'Olliver Schinagl2015-04-281-52/+104
| | | | | | | | | Elm has a list, but those buttons aren't really intended to be interacted/focused with. To compensate for this, we create our own elm_button_list. Since this likely not going upstream, it's prefixed as eulogium_button_list rather then elm_button_list. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* do not animate highlights, it looks horrible when tabbing to fastOlliver Schinagl2015-04-281-3/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* rework the filelist, store data in the elm_object_itemOlliver Schinagl2015-04-281-45/+52
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* better align tune and pause buttons, replace table with ultiscreen laterOlliver Schinagl2015-04-281-1/+4
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* slide is probably ore natural using speed, but that is not available yet on ↵Olliver Schinagl2015-04-281-1/+2
| | | | | | 1.8.5 (reminder to build updated packages) Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Cleanups and comment fixinOlliver Schinagl2015-04-281-91/+23
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* This is a messy method of getting the box sizes rightOlliver Schinagl2015-04-281-13/+43
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* do not read wb into ws as we don't careOlliver Schinagl2015-04-281-1/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* rename resize cb to indicate its for horizontal boxes onlyOlliver Schinagl2015-04-281-2/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add resize callback to make buttons homogeneousOlliver Schinagl2015-04-281-15/+47
| | | | | | | | | | | | | | We can't make the box homogeneous without resulting into hack on displaying the separator bar. This is a very preliminary attempt to make the box homogeneous while only taking into account the last separator. To make this a little more flexible, maybe something like an array of ints to store the number of separators in is required without adding too much complexity. Additionally an array could be used to store all the different separator widths. For now this is not yet needed and maybe a little over engineered. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Use themed seperated, more commentsOlliver Schinagl2015-04-281-35/+10
| | | | | | | Added some random 'TODO' comments and re-arranged some minor things. Also added a 'function pointer' for multiscreens. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* rename "layout" to "navi" as the layout used really is a naviframeOlliver Schinagl2015-04-281-32/+32
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add preliminary 'function' typeOlliver Schinagl2015-04-281-1/+11
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* add materials and progressbar to scripted wizzardOlliver Schinagl2015-04-281-16/+69
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* make multi screen next button recursiveOlliver Schinagl2015-04-281-21/+63
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* dont pop last item on a _prev_ pop, add more multi_screen wizzardryOlliver Schinagl2015-04-281-18/+54
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Pass an array to struct properly to a multi_screen_menuOlliver Schinagl2015-04-281-14/+22
| | | | | | TODO: now we imply we want to generate the content in the multi_screen_menu, this may first needa little layer above that to do the looping, for testing this was okay Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* add multiscreen initial triesOlliver Schinagl2015-04-281-3/+26
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add a multi-screen rather then multi-text typeOlliver Schinagl2015-04-281-1/+30
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* add mainscreen and 1level of subscreen buttonsOlliver Schinagl2015-04-281-35/+82
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* fix potential memleak?Olliver Schinagl2015-04-281-3/+5
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Make multi-text menu finish by going to the top of the framelistOlliver Schinagl2015-04-281-93/+90
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Count text from 1 - n, rather then 0 - (n - 1)Olliver Schinagl2015-04-281-13/+23
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* rework screens so they are fixed splitOlliver Schinagl2015-04-281-11/+153
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* parametize more, replace table with box, add a header to the sd card listOlliver Schinagl2015-04-281-23/+37
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* play with object size hinting/padding, but does not help enoughOlliver Schinagl2015-04-281-11/+4
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>