move library to a folder
This commit is contained in:
parent
00f84e3b98
commit
cd96a31b3e
9
main.cpp
9
main.cpp
@ -1,6 +1,8 @@
|
||||
#include "view.hpp"
|
||||
#include "ui/button.hpp"
|
||||
#include "ui/label.hpp"
|
||||
#include "mbuoy/view.hpp"
|
||||
#include "mbuoy/ui/button.hpp"
|
||||
#include "mbuoy/ui/label.hpp"
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
void drawButton(const mbuoy::position& pos, const mbuoy::dimensions& dim)
|
||||
{
|
||||
@ -21,6 +23,7 @@ int main()
|
||||
mbuoy::dimensions(40, 40),
|
||||
mbuoy::ondraw(drawButton)>{}
|
||||
>;
|
||||
|
||||
test.render();
|
||||
}
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
#ifndef MBUOY_UI_BUTTON_HPP
|
||||
#define MBUOY_UI_BUTTON_HPP
|
||||
|
||||
#include "attr/dimensions.hpp"
|
||||
#include "attr/ondraw.hpp"
|
||||
#include "attr/position.hpp"
|
||||
#include "attr/string.hpp"
|
||||
#include "find.hpp"
|
||||
#include "port.hpp"
|
||||
#include "../attr/dimensions.hpp"
|
||||
#include "../attr/ondraw.hpp"
|
||||
#include "../attr/position.hpp"
|
||||
#include "../attr/string.hpp"
|
||||
#include "../find.hpp"
|
||||
#include "../port.hpp"
|
||||
|
||||
namespace mbuoy {
|
||||
|
@ -1,10 +1,10 @@
|
||||
#ifndef MBUOY_UI_LABEL_HPP
|
||||
#define MBUOY_UI_LABEL_HPP
|
||||
|
||||
#include "attr/position.hpp"
|
||||
#include "attr/string.hpp"
|
||||
#include "find.hpp"
|
||||
#include "port.hpp"
|
||||
#include "../attr/position.hpp"
|
||||
#include "../attr/string.hpp"
|
||||
#include "../find.hpp"
|
||||
#include "../port.hpp"
|
||||
|
||||
namespace mbuoy {
|
||||
|
Loading…
x
Reference in New Issue
Block a user