summaryrefslogtreecommitdiffstats
path: root/src/eulogium.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add networkinfo get/setOlliver Schinagl2015-06-211-0/+21
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* move print status data to print_dataOlliver Schinagl2015-06-211-28/+0
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* split up menu data defines into its own widget.h, the actually entries still ↵Olliver Schinagl2015-06-191-46/+1
| | | | | | need to be moved here Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* add network dbus connectionOlliver Schinagl2015-06-191-0/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* fix copyright header on eulogium.hOlliver Schinagl2015-06-171-1/+8
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.hmi] get procedures to compileOlliver Schinagl2015-06-171-14/+3
| | | | | | | this is a broken commit, procedures are broken and compiling is broken atm. This is a wip commit. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.hmi] disable all dbus calls, add some very initial procedure dbus stuffOlliver Schinagl2015-06-161-0/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.hmi] use new and updated menu-widget using buttons, checkboxes and ↵Olliver Schinagl2015-06-161-1/+4
| | | | | | radio buttons Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* add missing blockOlliver Schinagl2015-06-121-0/+3
|
* [griffin.hmi] add generic confirmation box and add it to print abortOlliver Schinagl2015-06-121-0/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.hmi] remove harma dbus proxy interfaceOlliver Schinagl2015-06-121-2/+1
| | | | | | | The printerService now proxies all harma related calls or emulates them. This removes the need for a separate harma-dbus interface. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Hack to add checkboxes to menu entries, this needs to be re-written to ↵Olliver Schinagl2015-06-121-1/+1
| | | | | | properly set the end-component of the button Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] drop print_menu and replace it with a generic listOlliver Schinagl2015-06-121-0/+12
| | | | | | | | | | | To work with selection menu's, we've added a generic menu_widget_list to fill menu list with. This list is generic enough that it can equally work with the file list. This patch refactors the list to accomplish this and in turn removes eulogium_print_menu. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] Add initial default menu structureOlliver Schinagl2015-06-121-0/+19
| | | | | | Add first lines that shows the new menu structure Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] Add more states based on the dummy printerOlliver Schinagl2015-06-121-2/+10
| | | | | | | The dummy printer is giving us more states and allows for more advanced screens (for now). Update the progress screen with more information Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] Add initial USB mount detection supportOlliver Schinagl2015-05-181-0/+8
| | | | | | | | | | | | | | | | This patch adds support for external mounts, when a user inserts or removes a USB stick (technically, if the fs is being mounted) and systemd takes notice of this, an eeze_disk object is created for this. Other media types are ignored for now, until they can be properly identified. All storage kinds should eventually end up in the mounts struct, so that the UI can scan that for mount points. Right now, only USB storage is added to this. A hack to add local storage will be required (tmpfs?) Also, all available storage is scanned during startup, in case storage was mounted during boot and thus no hotplug event is being generated. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Remove file type, handled by file_handler exclusivlyOlliver Schinagl2015-05-131-8/+0
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [displayService] Query harmaService for file handlersOlliver Schinagl2015-05-111-0/+1
| | | | | | | | | | | | Harma is the only service that knows which file types are supported by the installed engine. With this patch harma is queried for the supported file handlers. Note. We cache the result and is valid for the lifetime of the displayService. To change this a signal could be added to harma to notify the users of a changed file handler support Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add progress update timer for print-progressOlliver Schinagl2015-05-081-0/+4
| | | | | | | While we poll the remaining time with griffin.printer, griffin.printer doesn't know this yet, so results are untested and may not work. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Convert all floats to doublesOlliver Schinagl2015-05-081-6/+6
| | | | | | Griffin supplies us with doubles, so use those rather then floats Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Do not use fixed printer enum, use printer stringsOlliver Schinagl2015-05-081-1/+12
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Make vertical button box homogeneous and available to allOlliver Schinagl2015-04-291-0/+1
| | | | 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-291-0/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Move global GUI objects for the progress window into the main storage. ↵Olliver Schinagl2015-04-291-2/+2
| | | | | | Potentially this needs to be its own progress_data struct Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add very generic basic error dialogOlliver Schinagl2015-04-281-0/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* store print flags in print structOlliver Schinagl2015-04-281-0/+1
|
* print time should be an int, not a pointerOlliver Schinagl2015-04-281-1/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Initial dbus supportOlliver Schinagl2015-04-281-1/+8
| | | | | | | | | 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>
* update file_data_set to store more information in the print dataOlliver Schinagl2015-04-281-1/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Prepare for dbus usageOlliver Schinagl2015-04-281-0/+8
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Use themed seperated, more commentsOlliver Schinagl2015-04-281-1/+2
| | | | | | | 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-3/+3
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add preliminary 'function' typeOlliver Schinagl2015-04-281-0/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* add materials and progressbar to scripted wizzardOlliver Schinagl2015-04-281-2/+1
| | | | 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-3/+9
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Pass an array to struct properly to a multi_screen_menuOlliver Schinagl2015-04-281-1/+1
| | | | | | 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-0/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add a multi-screen rather then multi-text typeOlliver Schinagl2015-04-281-0/+16
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* use stdintsOlliver Schinagl2015-04-281-2/+4
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* add mainscreen and 1level of subscreen buttonsOlliver Schinagl2015-04-281-1/+1
| | | | 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-1/+6
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Count text from 1 - n, rather then 0 - (n - 1)Olliver Schinagl2015-04-281-0/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* rework screens so they are fixed splitOlliver Schinagl2015-04-281-2/+3
| | | | 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-1/+3
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add very basic file filterOlliver Schinagl2015-04-281-1/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* rename and make parameter out of filepathOlliver Schinagl2015-04-281-4/+9
|
* make progressbar workOlliver Schinagl2015-04-281-2/+1
|