Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Jessica Hawkwell
/
nitrogen
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d3779bd1
authored
Mar 26, 2018
by
Jessica Hawkwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Temporarily disabling libntk
1 parent
a72d4cb4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
8 deletions
CMakeLists.txt
src/NitroWin/CMakeLists.txt
src/NitroWin/main.cpp
CMakeLists.txt
View file @
d3779bd
...
@@ -18,5 +18,5 @@ include_directories(AFTER SYSTEM ${CMAKE_BINARY_DIR}/deps/resvg/capi/include/)
...
@@ -18,5 +18,5 @@ include_directories(AFTER SYSTEM ${CMAKE_BINARY_DIR}/deps/resvg/capi/include/)
add_subdirectory
(
deps
)
add_subdirectory
(
deps
)
add_subdirectory
(
src/libnde
)
add_subdirectory
(
src/libnde
)
add_subdirectory
(
src/libntk
)
#
add_subdirectory(src/libntk)
add_subdirectory
(
src/NitroWin
)
add_subdirectory
(
src/NitroWin
)
src/NitroWin/CMakeLists.txt
View file @
d3779bd
...
@@ -7,6 +7,6 @@ find_package(X11)
...
@@ -7,6 +7,6 @@ find_package(X11)
link_libraries
(
${
X11_LIBRARIES
}
)
link_libraries
(
${
X11_LIBRARIES
}
)
add_executable
(
${
PROJECT_NAME
}
NUtils.cpp NWMAction.cpp NWManager.cpp main.cpp
)
add_executable
(
${
PROJECT_NAME
}
NUtils.cpp NWMAction.cpp NWManager.cpp main.cpp
)
target_link_libraries
(
${
PROJECT_NAME
}
LINK_PUBLIC nde
ntk
)
target_link_libraries
(
${
PROJECT_NAME
}
LINK_PUBLIC nde
)
install
(
TARGETS
${
PROJECT_NAME
}
RUNTIME DESTINATION bin
)
install
(
TARGETS
${
PROJECT_NAME
}
RUNTIME DESTINATION bin
)
src/NitroWin/main.cpp
View file @
d3779bd
#include "NitroWin.h"
#include "NitroWin.h"
#include <nitrogen/nwt/Color.h>
#include <nitrogen/Object.h>
#include "NWManager.h"
#include "NWManager.h"
#include <iostream>
#include <iostream>
int
main
(
int
argc
,
char
**
argv
)
{
int
main
(
int
argc
,
char
**
argv
)
{
std
::
cout
<<
NITROWIN_NAME
<<
" v"
<<
NITROWIN_VERSION
<<
std
::
endl
;
std
::
cout
<<
NITROWIN_NAME
<<
" v"
<<
NITROWIN_VERSION
<<
std
::
endl
;
nitrogen
::
nwt
::
Color
no
=
nitrogen
::
nwt
::
Color
(
255
,
255
,
255
);
std
::
cout
<<
"Color: "
;
std
::
cout
<<
no
<<
std
::
endl
;
NWManager
*
nwm
=
new
NWManager
();
NWManager
*
nwm
=
new
NWManager
();
nwm
->
run
();
nwm
->
run
();
}
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment