Implementation of drawer

Issue #256 new
Patryk Kubiak created an issue

Implementation reason

To provide a possibility for the future to move the program into the user space in easy way, it has to contain a layer that is responsible for drawing the objects

Generic Description

The module drawer is a part of a cgraphics program responsible for drawing system elements.

Architecture

cgraphics-architecture.png

Required Interface

#!c
// Set it to ON/OFF to enable/disable default program usage
#define CFG_ENABLE_DEFAULT_PROGRAM            ON

The definition should be added to oc_programs_list.h. If it is set to OFF, the system should not use default program and all functions related to the default program should return error code oC_ErrorCode_FunctionalityDisabled

Trello

Link to trello board:

Story

  • [ #240 ] - Preparation of the sample graphic program

List of requirements

  • [ #248 ] - Program is named cgraphic
  • [ #247 ] - Possibility to refactor it in easy way in future to move it to the user space
  • [ #250 ] - Shows a system logo and welcome message at the start
  • [ #251 ] - Allows for browsing file system
  • [ #252 ] - Allows for programs execution
  • [ #251 ] - Shows different icons for console and graphic programs
  • [ #253 ] - Shows status bar
  • [ #253 ] - Status bar contains current time
  • [ #253 ] - Status bar contains current CPU load
  • [ #253 ] - Refreshing period of CPU load on status bar is configurable in oc_dynamic_cfg.h
  • [ #254 ] - Shows context menu for files
  • [ #254 ] - Context menu allows for copy, paste and delete files

Comments (0)

  1. Log in to comment