summaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Make vertical button box homogeneous and available to allOlliver Schinagl2015-04-292-7/+29
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* split tripple menu up into a dual buttonOlliver Schinagl2015-04-291-29/+37
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Check for print bed status before starting a printOlliver Schinagl2015-04-291-4/+74
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* improve dbus error handling a bit, i think we try to get a message, even if ↵Olliver Schinagl2015-04-291-13/+24
| | | | | | we allready know we have failed. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add error printing if the printer is in an error state, open the option for ↵Olliver Schinagl2015-04-291-4/+23
| | | | | | an error dialog Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Get and store printer statusOlliver Schinagl2015-04-291-0/+47
| | | | | | | | | | The printer service constantly emits a signal whenever the signal changes. If we connect however and if the status is for example IDLE, we won't know about this state until the signal gets emitted via a status change. To counter this, we also add a method to get the initial status. Right now, we store only the actual state. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add some very preliminary dummy IP info screenOlliver Schinagl2015-04-291-1/+18
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* add comment about what to do with the error screenOlliver Schinagl2015-04-291-0/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Try to abort the print when using the abort buttonOlliver Schinagl2015-04-291-0/+14
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* fix up some wording orderOlliver Schinagl2015-04-291-2/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Move return button to the top as it can be very commonly usedOlliver Schinagl2015-04-291-23/+23
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* add print status containersOlliver Schinagl2015-04-291-0/+19
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add print progress data containerOlliver Schinagl2015-04-292-1/+3
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* typo cleanups + enable wizardOlliver Schinagl2015-04-291-3/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Move global GUI objects for the progress window into the main storage. ↵Olliver Schinagl2015-04-292-29/+31
| | | | | | Potentially this needs to be its own progress_data struct Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Make progress screen appear based on successful start of print.Olliver Schinagl2015-04-281-6/+19
| | | | | | | | With this patch we start the print progress dialog based on the return status of harma's startPrint request. If we fail to contact harma or start a print, right now we emit a generic error. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Rename _on_start_print_ret to _on_print_start_retOlliver Schinagl2015-04-281-2/+3
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add very generic basic error dialogOlliver Schinagl2015-04-282-0/+27
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* 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-282-1/+3
|
* 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-282-2/+2
| | | | 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-282-1/+70
| | | | | | | | | 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>
* remove const for the file and name pointers, we can not free them anymore. ↵Olliver Schinagl2015-04-281-2/+9
| | | | | | Also add a file_type enum Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* reword print-type sentinelOlliver Schinagl2015-04-281-1/+2
| | | | 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-282-5/+13
| | | | 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-282-0/+12
| | | | 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>