mirror of
https://github.com/Drezil/dear-implot.hs.git
synced 2024-11-21 20:17:01 +00:00
Initial summon
This commit is contained in:
commit
d8595ce01c
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
[submodule "implot"]
|
||||
path = implot
|
||||
url = https://github.com/epezent/implot
|
||||
[submodule "imgui"]
|
||||
path = imgui
|
||||
url = https://github.com/ocornut/imgui
|
29
LICENSE
Normal file
29
LICENSE
Normal file
@ -0,0 +1,29 @@
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2021, Haskell Game
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
4
Main.hs
Normal file
4
Main.hs
Normal file
@ -0,0 +1,4 @@
|
||||
module Main (main) where
|
||||
|
||||
main :: IO ()
|
||||
main = putStrLn "go!"
|
2
cabal.project
Normal file
2
cabal.project
Normal file
@ -0,0 +1,2 @@
|
||||
packages: . ../../haskell-game/dear-imgui.hs/
|
||||
flags: +sdl +opengl2 -vulkan
|
38
dear-implot.cabal
Normal file
38
dear-implot.cabal
Normal file
@ -0,0 +1,38 @@
|
||||
cabal-version: 3.0
|
||||
name: dear-implot
|
||||
version: 1.0.0
|
||||
build-type: Simple
|
||||
|
||||
library
|
||||
exposed-modules:
|
||||
DearImGui.Plot
|
||||
hs-source-dirs:
|
||||
src
|
||||
default-language:
|
||||
Haskell2010
|
||||
ghc-options:
|
||||
-Wall
|
||||
cxx-sources:
|
||||
implot/implot.cpp
|
||||
implot/implot_items.cpp
|
||||
cxx-options:
|
||||
-std=c++11
|
||||
extra-libraries:
|
||||
stdc++
|
||||
include-dirs:
|
||||
implot
|
||||
imgui
|
||||
build-depends:
|
||||
base
|
||||
, containers
|
||||
, managed
|
||||
, inline-c
|
||||
, inline-c-cpp
|
||||
, StateVar
|
||||
, dear-imgui
|
||||
|
||||
executable test
|
||||
main-is: Main.hs
|
||||
default-language: Haskell2010
|
||||
build-depends: base, sdl2, gl, dear-imgui, dear-implot, managed
|
||||
ghc-options: -Wall
|
1
imgui
Submodule
1
imgui
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit a8f76c23a481162c69e462a52ea7d6f4ade96b32
|
1
implot
Submodule
1
implot
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 72348018687b9cc5cd509ea97188714d8aa93ef7
|
2
src/DearImGui/Plot.hs
Normal file
2
src/DearImGui/Plot.hs
Normal file
@ -0,0 +1,2 @@
|
||||
-- | DearImGui bindings for https://github.com/epezent/implot
|
||||
module DearImGui.Plot where
|
Loading…
Reference in New Issue
Block a user