Open main menu

CDOT Wiki β

BTP300A A2 Team 5 Workplan

WORK PLAN FOR TEAM 5:

  • Team Leader: Jake Deacon
  • Created Base Files
  • Distribute Functions among team to start coding
  • void row(int) // sets the top row to the value received
  • int row() const // returns the top row position relative to the parent frame, if any; 0 if fullsreen
  • void col(int) // sets the left column to the value received
  • int col() const // returns the left column position relative to the parent frame, if any; 0 if fullsreen
  • void height(int) // sets the height to the value received
  • int height() const // returns the current height
  • void width(int) // sets the width to the value received
  • int width() const // returns the current width
  • void display(const char*) // displays data within the frame

* Team Member: Adrian Sauvageot

  • void goMiddle(); // set cursor to [row/2, col/2] for center
  • void setLine( char* str, char left, char fill, char right );
  • void capture( );
  • int absRow( ) const;
  • int absCol( ) const;


* Team Member: Norbert Curiciac

  • int edit(char* str, int maxStrLength, bool* insertMode, int* offset, int* cursor)
  • void draw(int = C_FULL_FRAME); // draws the frame
  • void hide(CDirection = C_STATIONARY);
  • void move(CDirection);//hides frame, changes position, draws frame
  • void move(&iFrame); // HELPER moves until ESC

* Team Member: Taylor Cousins

  • int edit( );
  • void bordered(bool); // check for visibility of border
  • bool bordered() const; // returns the visibility of the border
  • void frame(CFrame*); // sets the address of the parent to the address received
  • CFrame* frame() const; // returns the address of the parent, if any