summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [griffin.hmi] update check style, WIPOlliver Schinagl2015-06-123-68/+115
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.hmi] refactor eulogium_button_listOlliver Schinagl2015-06-124-179/+175
| | | | | | | | | eulogium_button_list has been changed to item_list where we take parameters for either a button OR a checklist, since a check button is very similar to a button. Worst case, if all fails, we can always use the parameters to put all items in a horizontal box. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.hmi] extract int. macros into seperate headerOlliver Schinagl2015-06-122-7/+26
| | | | 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-122-21/+68
| | | | | | properly set the end-component of the button Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Very preliminairy gettext supportOlliver Schinagl2015-06-121-34/+41
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* make sure icons are properly shownOlliver Schinagl2015-06-121-0/+4
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] theme checkboxOlliver Schinagl2015-06-124-614/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] add a bunch of empty menu itemsOlliver Schinagl2015-06-121-21/+695
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] drop print_menu and replace it with a generic listOlliver Schinagl2015-06-122-94/+133
| | | | | | | | | | | 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] make the return entry a regular buttonOlliver Schinagl2015-06-121-5/+18
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] add network stats buttonOlliver Schinagl2015-06-121-8/+54
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] Add initial default menu structureOlliver Schinagl2015-06-122-0/+304
| | | | | | Add first lines that shows the new menu structure Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] rename settings to systemOlliver Schinagl2015-06-121-20/+20
| | | | | | | System was accidentally named settings, resulting in strange consturcts like settings_settings. This patch fixes this. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] Add top level buttons for materials and hotendOlliver Schinagl2015-06-121-4/+195
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* replace change material with dual material change/settings buttonsOlliver Schinagl2015-06-121-13/+124
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] rename old random buttonsOlliver Schinagl2015-06-121-23/+24
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] rename material button to material & hot-endOlliver Schinagl2015-06-121-8/+8
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Fix segfault when we have no file handlers availableOlliver Schinagl2015-06-121-0/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Remove empty button, jump straight to file listingOlliver Schinagl2015-06-121-12/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] theme: make buttons like the old UMOlliver Schinagl2015-06-124-79/+38
| | | | | | | Also use a textblock rather then text for the elm.text part, this allows us to use multiline text on buttons Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] swap text in progress windowOlliver Schinagl2015-06-121-7/+7
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* increase timer frequency to query griffin status more offtenOlliver Schinagl2015-06-121-3/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] Add more states based on the dummy printerOlliver Schinagl2015-06-122-11/+62
| | | | | | | 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>
* improve horizontal progress barOlliver Schinagl2015-06-1214-445/+28
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Do not update state if it is sthe same as the previous stateOlliver Schinagl2015-05-271-34/+35
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Use macro for time calculation, those magic values look too horribleOlliver Schinagl2015-05-271-14/+21
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] Add mmc and usb storage optionsOlliver Schinagl2015-05-261-4/+80
| | | | | | | | Adds support for mmc or usb storage as an option. Only the last hot-plugged device is being displayed/used now, as we don't know how we want to handle multiple storage options yet. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* fix some typo-bugs and some verbosityOlliver Schinagl2015-05-261-5/+5
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add an empty buttonOlliver Schinagl2015-05-261-0/+10
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] Creating an initial list is not neededOlliver Schinagl2015-05-181-7/+1
| | | | | | | | | | | | | Initially I made mount->mounts (the self list pointing pointer) an Eina_List *, and while this worked, it was wrong. It also required to have a dummy first entry to actually create the list so we could pass it around properly. The proper fix was to use a pointer to the Eina_List, and with the proper use the initial entry is no longer needed and thus no strange things need to be created around it to deal with the sentinel. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Improve comments/text a bitOlliver Schinagl2015-05-181-3/+4
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Do not use ints for something thats size_t.Olliver Schinagl2015-05-181-4/+4
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] Add initial USB mount detection supportOlliver Schinagl2015-05-182-0/+274
| | | | | | | | | | | | | | | | 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>
* Fix segfault when exiting and no filehandler was loadedOlliver Schinagl2015-05-131-2/+4
| | | | 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>
* Add initial eeze supportOlliver Schinagl2015-05-112-1/+8
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [displayService] Query harmaService for file handlersOlliver Schinagl2015-05-112-14/+32
| | | | | | | | | | | | 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>
* Remove first run wizard as it is commented in the statemachineOlliver Schinagl2015-05-081-7/+0
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* some new pixelartOlliver Schinagl2015-05-086-0/+0
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* use smaller font on the progress barOlliver Schinagl2015-05-081-6/+6
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* use smaller font for labelsOlliver Schinagl2015-05-082-3/+3
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Revamp progress displayOlliver Schinagl2015-05-081-30/+20
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Remove statemachine from bed clearingOlliver Schinagl2015-05-081-10/+4
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Remove start print 'state-mini-machine'Olliver Schinagl2015-05-081-32/+6
| | | | | | | | | | | The UI is fully controlled by the states of griffin.printer.getState and thus we don't worry about various states when starting a print, we let griffin.printer worry about that. It should be noted that the griffin.printer state machine is far from complete and we may still end up in a strange state. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* fix build by adding _on_status_changed_ret and friends. Also the struct ↵Olliver Schinagl2015-05-081-15/+82
| | | | | | (ns) based messaging protocol is gone and replaced with a string parser Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add getFileHandlers from griffin, this patch breaks buildOlliver Schinagl2015-05-081-10/+13
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Clean up bed-clearing function a littleOlliver Schinagl2015-05-081-11/+10
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* add missing _on_get_print_name_retOlliver Schinagl2015-05-081-0/+18
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add progress update timer for print-progressOlliver Schinagl2015-05-082-0/+93
| | | | | | | 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>
* Completly disable cursor on a framebuffer deviceOlliver Schinagl2015-05-081-0/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>