mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 05:28:35 +00:00
[imgui-examples] Split glium and gfx examples into separate crates
To avoid conflicts in dependency version, this commit put examples using different renderers in different crates. Especially, glium and gfx do not necessarily depend on the same version of glutin. We have two examples: - imgui-examples (main examples, use gfx renderer here) - imgui-glium-examples (basic hello_glium example + maybe some texture stuff) Once vulcano support lands, we may add: imgui-vulkano-examples. This commit currently only moves files around. We plan to use gfx as a "main2 renderer for now on as gfx is more actively maintained that glium. Subsequent commits will migrate some glium examples to gfx.
This commit is contained in:
parent
378447e380
commit
46cf67e89c
@ -16,4 +16,11 @@ travis-ci = { repository = "Gekkio/imgui-rs" }
|
||||
imgui-sys = { version = "0.0.22-pre", path = "imgui-sys" }
|
||||
|
||||
[workspace]
|
||||
members = ["imgui-examples", "imgui-sys", "imgui-gfx-renderer", "imgui-glium-renderer", "imgui-glutin-support"]
|
||||
members = [
|
||||
"imgui-examples",
|
||||
"imgui-glium-examples",
|
||||
"imgui-sys",
|
||||
"imgui-gfx-renderer",
|
||||
"imgui-glium-renderer",
|
||||
"imgui-glutin-support"
|
||||
]
|
||||
|
||||
@ -11,8 +11,6 @@ publish = false
|
||||
[dev-dependencies]
|
||||
gfx = "0.17"
|
||||
gfx_window_glutin = "0.26"
|
||||
glium = { version = "0.22", default-features = true }
|
||||
glutin = "0.18"
|
||||
imgui = { version = "0.0.22-pre", path = "../" }
|
||||
imgui-gfx-renderer = { version = "0.0.22-pre", path = "../imgui-gfx-renderer" }
|
||||
imgui-glium-renderer = { version = "0.0.22-pre", path = "../imgui-glium-renderer" }
|
||||
|
||||
14
imgui-glium-examples/Cargo.toml
Normal file
14
imgui-glium-examples/Cargo.toml
Normal file
@ -0,0 +1,14 @@
|
||||
[package]
|
||||
name = "imgui-glium-examples"
|
||||
version = "0.0.22-pre"
|
||||
authors = ["Joonas Javanainen <joonas.javanainen@gmail.com>", "imgui-rs contributors"]
|
||||
description = "imgui crate examples using Glium backend"
|
||||
homepage = "https://github.com/Gekkio/imgui-rs"
|
||||
repository = "https://github.com/Gekkio/imgui-rs"
|
||||
license = "MIT/Apache-2.0"
|
||||
publish = false
|
||||
|
||||
[dev-dependencies]
|
||||
glium = { version = "0.22", default-features = true }
|
||||
imgui = { version = "0.0.22-pre", path = "../" }
|
||||
imgui-glium-renderer = { version = "0.0.22-pre", path = "../imgui-glium-renderer" }
|
||||
16
imgui-glium-examples/examples/LICENSE.mplus
Normal file
16
imgui-glium-examples/examples/LICENSE.mplus
Normal file
@ -0,0 +1,16 @@
|
||||
M+ FONTS Copyright (C) 2002-2017 M+ FONTS PROJECT
|
||||
|
||||
-
|
||||
|
||||
LICENSE_E
|
||||
|
||||
|
||||
|
||||
|
||||
These fonts are free software.
|
||||
Unlimited permission is granted to use, copy, and distribute them, with
|
||||
or without modification, either commercially or noncommercially.
|
||||
THESE FONTS ARE PROVIDED "AS IS" WITHOUT WARRANTY.
|
||||
|
||||
|
||||
http://mplus-fonts.osdn.jp
|
||||
BIN
imgui-glium-examples/examples/mplus-1p-regular.ttf
Normal file
BIN
imgui-glium-examples/examples/mplus-1p-regular.ttf
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user