summaryrefslogtreecommitdiffstats
path: root/src/eulogium.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-06-21add networkinfo get/setOlliver Schinagl1-0/+21
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-21move print status data to print_dataOlliver Schinagl1-28/+0
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-19split up menu data defines into its own widget.h, the actually entries still ↵Olliver Schinagl1-46/+1
need to be moved here Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-19add network dbus connectionOlliver Schinagl1-0/+1
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-17fix copyright header on eulogium.hOlliver Schinagl1-1/+8
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-17[griffin.hmi] get procedures to compileOlliver Schinagl1-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>
2015-06-16[griffin.hmi] disable all dbus calls, add some very initial procedure dbus stuffOlliver Schinagl1-0/+2
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-16[griffin.hmi] use new and updated menu-widget using buttons, checkboxes and ↵Olliver Schinagl1-1/+4
radio buttons Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-12add missing blockOlliver Schinagl1-0/+3
2015-06-12[griffin.hmi] add generic confirmation box and add it to print abortOlliver Schinagl1-0/+1
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-12[griffin.hmi] remove harma dbus proxy interfaceOlliver Schinagl1-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>
2015-06-12Hack to add checkboxes to menu entries, this needs to be re-written to ↵Olliver Schinagl1-1/+1
properly set the end-component of the button Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-12[griffin.display] drop print_menu and replace it with a generic listOlliver Schinagl1-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>
2015-06-12[griffin.display] Add initial default menu structureOlliver Schinagl1-0/+19
Add first lines that shows the new menu structure Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-12[griffin.display] Add more states based on the dummy printerOlliver Schinagl1-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>
2015-05-18[griffin.display] Add initial USB mount detection supportOlliver Schinagl1-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>
2015-05-13Remove file type, handled by file_handler exclusivlyOlliver Schinagl1-8/+0
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-11[displayService] Query harmaService for file handlersOlliver Schinagl1-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>
2015-05-08Add progress update timer for print-progressOlliver Schinagl1-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>
2015-05-08Convert all floats to doublesOlliver Schinagl1-6/+6
Griffin supplies us with doubles, so use those rather then floats Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-08Do not use fixed printer enum, use printer stringsOlliver Schinagl1-1/+12
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29Make vertical button box homogeneous and available to allOlliver Schinagl1-0/+1
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29add print status containersOlliver Schinagl1-0/+19
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29Add print progress data containerOlliver Schinagl1-0/+1
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29Move global GUI objects for the progress window into the main storage. ↵Olliver Schinagl1-2/+2
Potentially this needs to be its own progress_data struct Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28Add very generic basic error dialogOlliver Schinagl1-0/+2
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28store print flags in print structOlliver Schinagl1-0/+1
2015-04-28print time should be an int, not a pointerOlliver Schinagl1-1/+1
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28Initial dbus supportOlliver Schinagl1-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>
2015-04-28remove const for the file and name pointers, we can not free them anymore. ↵Olliver Schinagl1-2/+9
Also add a file_type enum Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28reword print-type sentinelOlliver Schinagl1-1/+2
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28update file_data_set to store more information in the print dataOlliver Schinagl1-1/+1
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28Prepare for dbus usageOlliver Schinagl1-0/+8
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28Use themed seperated, more commentsOlliver Schinagl1-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>
2015-04-28rename "layout" to "navi" as the layout used really is a naviframeOlliver Schinagl1-3/+3
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28Add preliminary 'function' typeOlliver Schinagl1-0/+1
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28add materials and progressbar to scripted wizzardOlliver Schinagl1-2/+1
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28dont pop last item on a _prev_ pop, add more multi_screen wizzardryOlliver Schinagl1-3/+9
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28Pass an array to struct properly to a multi_screen_menuOlliver Schinagl1-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>
2015-04-28add multiscreen initial triesOlliver Schinagl1-0/+2
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28Add a multi-screen rather then multi-text typeOlliver Schinagl1-0/+16
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28use stdintsOlliver Schinagl1-2/+4
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28add mainscreen and 1level of subscreen buttonsOlliver Schinagl1-1/+1
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28Make multi-text menu finish by going to the top of the framelistOlliver Schinagl1-1/+6
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28Count text from 1 - n, rather then 0 - (n - 1)Olliver Schinagl1-0/+1
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28rework screens so they are fixed splitOlliver Schinagl1-2/+3
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28parametize more, replace table with box, add a header to the sd card listOlliver Schinagl1-1/+3
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28Add very basic file filterOlliver Schinagl1-1/+2
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-28rename and make parameter out of filepathOlliver Schinagl1-4/+9
2015-04-28make progressbar workOlliver Schinagl1-2/+1