Skip to content

Changes in main and CMakeLists.txt#15

Open
gruszczrob wants to merge 1 commit into
mainfrom
mainChanges
Open

Changes in main and CMakeLists.txt#15
gruszczrob wants to merge 1 commit into
mainfrom
mainChanges

Conversation

@gruszczrob

Copy link
Copy Markdown
Owner

No description provided.

Comment thread main.cpp
//creating vector of vector of integers to print
vector<vector<int>> toPrint ({{0, 1, 1}, {1 , 0, 1}, {1, 0, 1}, {1, 0, 0}});
//printing
(*engine).print(toPrint);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

engine->print(toPrint) ...

Comment thread main.cpp
//creating drawing engine factory with specific style of drawing
DrawingEngineFactory def = DrawingEngineFactory(0);
//creating drawing engine and taking poiter to it
shared_ptr<DrawingEngine> engine = def.createEngine(3,4, 'r', 'w');

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the way you defined drawing engine constructor will not make sense for FTXUI, also it will be hard to extend for borders or any other thing you would might like to add

Comment thread main.cpp
@@ -0,0 +1,20 @@
#include <iostream>
#include "./DrawingEngineFactory/DrawingEngineFactory.h"
#include "./Logs/Logs.h"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

relative paths

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants