Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imgui backend (v2) #138

Draft
wants to merge 201 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
1ec6195
Add raw handler API to TMS
griffi-gh Sep 4, 2023
da724a2
Handle text input events
griffi-gh Sep 4, 2023
221f53a
Use `memcpy` instead of `std::copy` for copying text input event data…
griffi-gh Sep 4, 2023
8a0d7bb
oops forgot to init `num_raw_handlers`
griffi-gh Sep 4, 2023
b784c44
fix event blocking
griffi-gh Sep 4, 2023
d04eec9
fix
griffi-gh Sep 4, 2023
7dd70a2
Init imgui
griffi-gh Sep 4, 2023
3366de5
wip
griffi-gh Sep 4, 2023
e32a11d
move sandbox menu and lvlman
griffi-gh Sep 4, 2023
06f1109
Remove configure
griffi-gh Sep 4, 2023
c88c3be
add login
griffi-gh Sep 4, 2023
c8216f9
reset username/password on failed login
griffi-gh Sep 4, 2023
df3b2d4
reset fields on fail
griffi-gh Sep 4, 2023
82f314f
basic login validation
griffi-gh Sep 4, 2023
49d2c6c
add `UiMessage`
griffi-gh Sep 4, 2023
21f80a0
wip settings
griffi-gh Sep 5, 2023
70b8bf8
settings
griffi-gh Sep 5, 2023
be8de08
Proper settings menu
griffi-gh Sep 5, 2023
675951d
remove 128x128 shadow res
griffi-gh Sep 5, 2023
59966db
focus search by default
griffi-gh Sep 5, 2023
c24489e
fix validation in login menu; focus username field
griffi-gh Sep 5, 2023
a929790
login on enter
griffi-gh Sep 5, 2023
5ae4f59
offer higher shadow map resolutions
griffi-gh Sep 5, 2023
5051fe1
settings stuff
griffi-gh Sep 5, 2023
cff0aae
disable no-reload uiscale update by default
griffi-gh Sep 6, 2023
9c180e5
minor changes to the settings dialog
griffi-gh Sep 6, 2023
230979a
WIP escript dialog using ImGuiColorTextEdit
griffi-gh Sep 6, 2023
e1f533c
wip
griffi-gh Sep 6, 2023
1021e1a
oops
griffi-gh Sep 6, 2023
dda242c
use high-performance lua tokenizer from santaclose/ImGuiColorTextEdit
griffi-gh Sep 6, 2023
d857675
update code editor stuff
griffi-gh Sep 6, 2023
fb2d579
oops
griffi-gh Sep 6, 2023
b008d62
replace ctrl+shift with alt+ctrl
griffi-gh Sep 6, 2023
21e963d
Organize context menu
griffi-gh Sep 6, 2023
69bdcf6
Add play menu, reduce code duplication
griffi-gh Sep 6, 2023
1a7b13f
wip saving
griffi-gh Sep 6, 2023
1c63a4b
allocated too much
griffi-gh Sep 6, 2023
fc86a70
impl `set_next_action`
griffi-gh Sep 6, 2023
1c0ed80
handle `ui::next_action`
griffi-gh Sep 6, 2023
af5979e
check for settings["render_gui"]
griffi-gh Sep 6, 2023
2af345c
fix ui scale rounding
griffi-gh Sep 6, 2023
9cd80f7
add more ui options
griffi-gh Sep 6, 2023
19ca7fa
add opt to skip tutorial
griffi-gh Sep 7, 2023
30c767f
add controls settings
griffi-gh Sep 7, 2023
966e1bb
add hints to most settings
griffi-gh Sep 7, 2023
4dd3a1a
Disable ao res opt if ao is off
griffi-gh Sep 7, 2023
4a7878b
add more settings
griffi-gh Sep 7, 2023
2fd24f8
hide save and exit, disable save if no changes
griffi-gh Sep 7, 2023
eebaa94
Handle ui::alert
griffi-gh Sep 7, 2023
33fd357
tips&tricks dialog
griffi-gh Sep 7, 2023
1174cb3
add missing includes
griffi-gh Sep 10, 2023
1120a0f
proper str comparison
griffi-gh Sep 10, 2023
e6e2e2d
add extern decls
griffi-gh Sep 10, 2023
0f95ec0
"fix" warnings
griffi-gh Sep 10, 2023
7b9cca1
separate MessageType Enum
griffi-gh Sep 10, 2023
cfa9049
Upgrade imgui (`master`) to `0962c9f`
griffi-gh Sep 10, 2023
c27befa
fix missing extern var. decl
griffi-gh Sep 10, 2023
128c8ae
add include guard
griffi-gh Sep 10, 2023
7ca554c
scale imgui with uiscale
griffi-gh Sep 10, 2023
a44e465
minor upd
griffi-gh Sep 10, 2023
628aee4
wip styling
griffi-gh Sep 10, 2023
71ea631
load ttf, proper ui and font scaling
griffi-gh Sep 10, 2023
c523f96
make base font size configurable
griffi-gh Sep 10, 2023
d0a91df
increase base font size, add gameplay tab to settings
griffi-gh Sep 11, 2023
51e0a4b
better texture quality slider
griffi-gh Sep 11, 2023
a81a550
add sandbox mode dialog
griffi-gh Sep 11, 2023
05eb7b7
add const for popup flags
griffi-gh Sep 11, 2023
5cb42fc
wip quick select
griffi-gh Sep 11, 2023
98ee914
quickadd
griffi-gh Sep 11, 2023
6b637d7
remove comment
griffi-gh Sep 11, 2023
9537e9c
display viable solution in the list
griffi-gh Sep 11, 2023
f7bb1b4
fix tips dialog on uiscale != 1
griffi-gh Sep 11, 2023
9d2c9bc
add imgui demo (shift+f9 to show)
griffi-gh Sep 11, 2023
f7a0bd9
add slight rounding
griffi-gh Sep 11, 2023
3d2f2db
re-enable InputTrickleEventQueue
griffi-gh Sep 11, 2023
d9c95b3
enable AlwaysAutoResize, leave only NoMove for popups
griffi-gh Sep 11, 2023
7a82a82
settings apply/save btn position
griffi-gh Sep 11, 2023
70d62c4
adjust style
griffi-gh Sep 11, 2023
02ede1a
scale font if !USE_TTF_FONT && UISCALE_IMGUI
griffi-gh Sep 11, 2023
99c5706
nah i don't like frameborders
griffi-gh Sep 11, 2023
cb3d925
a
griffi-gh Sep 12, 2023
6eba61e
set rounding properly
griffi-gh Sep 12, 2023
937c5f9
Respect `CLOSE_ALL_DIALOGS`/`CLOSE_ABSOLUTELY_ALL_DIALOGS`
griffi-gh Sep 12, 2023
67894e5
disable handling CLOSE_ALL_DIALOGS
griffi-gh Sep 12, 2023
81f5aac
wip synth ui
griffi-gh Sep 12, 2023
12fb3c5
better sqr code
griffi-gh Sep 12, 2023
25a33de
upd
griffi-gh Sep 12, 2023
6e3372d
uwu
griffi-gh Sep 13, 2023
4de9fcf
impl all waveforms
griffi-gh Sep 13, 2023
81d4394
premultiply sx
griffi-gh Sep 13, 2023
cad58a4
add vibrato/bitcrush sliders
griffi-gh Sep 14, 2023
312aef2
visualize vol. vibrato
griffi-gh Sep 14, 2023
b53535b
vis. bitcrush
griffi-gh Sep 14, 2023
16f6fca
improve bc vis, tweaks
griffi-gh Sep 14, 2023
834284e
scale bitcrush down ,add disclaimer
griffi-gh Sep 14, 2023
0f3d213
monospace font
griffi-gh Sep 14, 2023
ab32fcb
a
griffi-gh Sep 14, 2023
f611325
color picker widget
griffi-gh Sep 14, 2023
4f59a26
set some flags
griffi-gh Sep 14, 2023
e8f1469
upd color picker code
griffi-gh Sep 14, 2023
081ea8b
pixel freq slider
griffi-gh Sep 14, 2023
20e7928
fix level properties modal flags
griffi-gh Sep 14, 2023
dc181d0
save as dialog
griffi-gh Sep 15, 2023
eddcd71
add NoSavedSettings flag
griffi-gh Sep 15, 2023
43d7d56
Use ChildFrame with flat nav. instead of ListBox
griffi-gh Sep 15, 2023
4f59afb
fix segfault when invalid tex. quality is used
griffi-gh Sep 15, 2023
b5da33f
load images, unify asset loading
griffi-gh Sep 15, 2023
ba1ee1e
tms image stuff
griffi-gh Sep 15, 2023
41637f1
wip new level
griffi-gh Sep 15, 2023
5c7ac6e
wip new level impl
griffi-gh Sep 16, 2023
e9c7400
proper search field alignment
griffi-gh Sep 16, 2023
9d675c0
improve new level menu stuff
griffi-gh Sep 16, 2023
15016bf
rely on default args of AddText
griffi-gh Sep 16, 2023
539c018
make imgs rounded
griffi-gh Sep 16, 2023
f279500
fix ImGui_TmsImage_Size
griffi-gh Sep 16, 2023
4c96edf
use new horizontal layout
griffi-gh Sep 16, 2023
8d8be09
better doc
griffi-gh Sep 16, 2023
df53c79
add `load_texture_mem`
griffi-gh Sep 16, 2023
3243366
drop `USE_IM_TMS_IMAGES` option in favor of `DO_LOAD_IMAGE_ASSETS`
griffi-gh Sep 16, 2023
be9c1bd
oops
griffi-gh Sep 16, 2023
9ab1d1a
add level icon in the description popup
griffi-gh Sep 16, 2023
bbf64e3
wip frequency
griffi-gh Sep 17, 2023
75ee91f
min area size
griffi-gh Sep 17, 2023
41372ed
better freq ui
griffi-gh Sep 17, 2023
0a0b314
better colors
griffi-gh Sep 17, 2023
8cb549c
xxx
griffi-gh Sep 17, 2023
9e66901
add note
griffi-gh Sep 17, 2023
a2dcc2d
freqtable
griffi-gh Sep 20, 2023
5b5a8b6
upd freq ui
griffi-gh Sep 20, 2023
46d1cec
remove bits/chrono include
griffi-gh Sep 25, 2023
2862771
level properties -> level name
griffi-gh Sep 25, 2023
9056eda
Squashed commit of the following:
griffi-gh Oct 19, 2023
12cc457
Revert "Squashed commit of the following:"
griffi-gh Oct 19, 2023
71ec7d5
Merge branch 'master' into imgui-v2
griffi-gh Oct 19, 2023
51375c8
fix pthread linker issue
griffi-gh Oct 19, 2023
7786f0f
add CMAKE_DL_LIBS
griffi-gh Oct 19, 2023
4578077
fix freq ui bug, add puzzle to list, add lvl descr
griffi-gh Oct 23, 2023
24fbe9c
minor changes
griffi-gh Oct 24, 2023
63ce276
reorder lua script dialog
griffi-gh Oct 24, 2023
8f0a4c8
Level properties pane stuff
griffi-gh Oct 24, 2023
a226072
add fmt str to gravity, expand range
griffi-gh Oct 24, 2023
69e021b
use separatortext instead of textunformatted
griffi-gh Oct 24, 2023
4027973
Add Gameplay tab
griffi-gh Oct 25, 2023
7b88942
Merge branch 'master' into imgui-v2
griffi-gh Nov 26, 2023
f92981e
Merge branch 'Bithack:master' into imgui-v2
griffi-gh Dec 4, 2023
e7642f7
Merge branch 'Bithack:master' into imgui-v2
griffi-gh Dec 27, 2023
ef7aa6f
Merge branch 'master' into imgui-v2
griffi-gh Jan 20, 2024
f1d953b
oh fvck that lint was misleading
griffi-gh Jan 26, 2024
e8b4cfe
add mark entity button, slight tweaks to the ui
griffi-gh Jan 26, 2024
5c5ceba
make tips ui scrollable
griffi-gh Jan 26, 2024
e57aa64
"Sound is disabled in this build"
griffi-gh Jan 26, 2024
83e8d87
x
griffi-gh Jan 26, 2024
ebe2d58
Merge branch 'Bithack:master' into imgui-v2
griffi-gh Jan 27, 2024
3157eed
comment out `open_help_dialog`
griffi-gh Jan 26, 2024
3ac6c31
`ImGui_ImplTMS_Init` -> `ImGui_ImplTMS_InitEventHandler`
griffi-gh Jan 28, 2024
0d2e74d
wrap `ImGui_ImplTMS_Init_Platform` in `ImGui_ImplTMS_Init`
griffi-gh Jan 28, 2024
0cd139b
open msg on prompt
griffi-gh Jan 28, 2024
9ad9cbe
wip
griffi-gh Jan 28, 2024
81312b4
add tooltips to settings tabs
griffi-gh Jan 28, 2024
7abfcdc
minor changes to settings
griffi-gh Jan 28, 2024
92a21f7
add some extra checks
griffi-gh Jan 28, 2024
86208de
fuck
griffi-gh Jan 28, 2024
ce1f77e
add more checks
griffi-gh Jan 28, 2024
25a71a6
add some comments
griffi-gh Jan 28, 2024
911044e
do not link gtk3 with imgui backend builds
griffi-gh Jan 28, 2024
887c295
use define for common frame flags, flatten nav in lvl manager
griffi-gh Jan 28, 2024
17ff565
why did it fail
griffi-gh Jan 28, 2024
1d31604
oops forgot to flatten nav on child too
griffi-gh Jan 28, 2024
50056d0
test commit
griffi-gh Jan 28, 2024
c9e5a21
why is the gh commit graph stuck
griffi-gh Jan 28, 2024
d890ee9
do i need this?
griffi-gh Jan 28, 2024
dff1828
add comment on dl_libs
griffi-gh Jan 29, 2024
a049cd7
update imgui to `96839b4`
griffi-gh Jan 29, 2024
21ebf78
Merge branch 'master' into imgui-v2
griffi-gh Jan 29, 2024
bfec7b5
link with `pthread` only if imgui backend is used
griffi-gh Jan 28, 2024
276d2ef
entity bookmarking
griffi-gh Feb 2, 2024
a697bd1
consistent formatting
griffi-gh Feb 2, 2024
98ab898
hide puzzle on debug build
griffi-gh Feb 2, 2024
7537bc2
level prop stuff
griffi-gh Feb 2, 2024
23c7e55
move imgui textures
griffi-gh Feb 2, 2024
5a8925c
upd img
griffi-gh Feb 2, 2024
e5cc4d8
add todo text
griffi-gh Feb 2, 2024
7a01d82
add bg 5 to snippets
griffi-gh Feb 2, 2024
7dca3a5
bg snippets
griffi-gh Feb 2, 2024
aa3eb01
make bg snippets a bit smaller
griffi-gh Feb 2, 2024
ed53ea4
upd col pckr
griffi-gh Feb 2, 2024
81636f7
use custom preview
griffi-gh Feb 2, 2024
28f3dbb
add physics tab
griffi-gh Feb 3, 2024
802b5ee
move flag toggles from gtk3 backend
griffi-gh Feb 3, 2024
323f473
reword stuff, update tooltip flags to allow disabling
griffi-gh Feb 3, 2024
7194aaf
upd flags
griffi-gh Feb 3, 2024
3ebbc69
upd
griffi-gh Feb 3, 2024
decd7d4
set as player
griffi-gh Feb 3, 2024
1e6b085
implement clipboard
griffi-gh Feb 3, 2024
501e6cc
cast to const char
griffi-gh Feb 3, 2024
066d1c7
remove irrelevant comment
griffi-gh Feb 3, 2024
9056dd4
rename functions
griffi-gh Feb 3, 2024
9143ede
return nullptr if no clip, move viewport init to backend impl
griffi-gh Feb 3, 2024
6810fac
move window size update to tms impl, update based on tms size
griffi-gh Feb 3, 2024
43683ec
Merge branch 'Bithack:master' into imgui-v2
griffi-gh Feb 8, 2024
26a0594
Merge branch 'master' into imgui-v2
rollerozxa Jun 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

# Exclude vendored libraries from GitHub language detection
src/imgui-texteditor/* linguist-vendored
src/imgui/* linguist-vendored
src/lua/* linguist-vendored
src/lua/* linguist-vendored
src/luasocket/* linguist-vendored
src/SDL_image/* linguist-vendored
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ compile_commands.json
doc/doxy/
doc/doxygen-awesome.css

imgui.ini

# Model junk files
*.blend1
*.blend2
Expand Down
55 changes: 47 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
message(STATUS "*** Building Principia! ***")

if (NOT CMAKE_BUILD_TYPE)
message(STATUS "No build type selected, default to Release")
set(CMAKE_BUILD_TYPE "Release")
message(STATUS "No build type selected, default to Release")
set(CMAKE_BUILD_TYPE "Release")
endif()

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
Expand Down Expand Up @@ -49,6 +49,8 @@ else()
set(SCREENSHOT_BUILD FALSE)
endif()

option(BACKEND_IMGUI "Use ImGui as the UI backend (expreimental)" TRUE)

set(TMS_FORMFACTOR "PC")
if(WIN32)
set(TMS_BACKEND "WINDOWS")
Expand Down Expand Up @@ -91,6 +93,13 @@ include_directories(
${PNG_INCLUDE_DIRS}
${ZLIB_INCLUDE_DIRS})

if(BACKEND_IMGUI)
include_directories(
src/imgui/
src/imgui-texteditor/
)
endif()

file(GLOB SRCS
src/tms/core/*.c
src/tms/math/*.c
Expand All @@ -113,6 +122,14 @@ file(GLOB SRCS
src/src/Box2D/Particle/*.cc
)

if(BACKEND_IMGUI)
file(GLOB IMGUI_SRCS
src/imgui/*.cpp
src/imgui-texteditor/*.cpp
)
set(SRCS ${SRCS} ${IMGUI_SRCS})
endif()

# For non-Android, system SDL2 and OpenGL include dirs
include_directories(
${SDL2_INCLUDE_DIRS}
Expand All @@ -121,14 +138,19 @@ include_directories(
# Optional dependencies not found on Android or in the screenshot build
if(NOT SCREENSHOT_BUILD)
if(NOT ANDROID AND NOT EMSCRIPTEN)
find_package(PkgConfig REQUIRED)
pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
if(NOT BACKEND_IMGUI)
find_package(PkgConfig REQUIRED)
pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
endif()

find_package(GLEW REQUIRED)

include_directories(
${GLEW_INCLUDE_DIRS}
${GTK3_INCLUDE_DIRS})
${GLEW_INCLUDE_DIRS})

if(NOT BACKEND_IMGUI)
include_directories(${GTK3_INCLUDE_DIRS})
endif()
endif()

find_package(CURL REQUIRED)
Expand All @@ -138,7 +160,9 @@ if(NOT SCREENSHOT_BUILD)

include_directories(
${CURL_INCLUDE_DIR}
src/SDL_mixer/)
${GLEW_INCLUDE_DIRS}
src/SDL_mixer/
)
endif()


Expand Down Expand Up @@ -213,6 +237,13 @@ target_link_libraries(
${PNG_LIBRARIES}
${ZLIB_LIBRARIES})

if (NOT (SCREENSHOT_BUILD OR BACKEND_IMGUI))
target_link_libraries(
${PROJECT_NAME}
${GTK3_LIBRARIES}
)
endif()

if(NOT SCREENSHOT_BUILD)
target_link_libraries(${PROJECT_NAME} ${CURL_LIBRARIES})

Expand Down Expand Up @@ -272,7 +303,15 @@ set(CMAKE_C_FLAGS_DEBUG "${COMMON_FLAGS_DEBUG}")

set(CMAKE_CXX_FLAGS_RELEASE "${COMMON_FLAGS_RELEASE} -O2 -fno-rtti")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} -g")
set(CMAKE_CXX_FLAGS_DEBUG "${COMMON_FLAGS_DEBUG}")
set(CMAKE_CXX_FLAGS_DEBUG "${COMMON_FLAGS_DEBUG} ${IM_CXX}")

if((NOT SCREENSHOT_BUILD) AND BACKEND_IMGUI)
set(COMMON_FLAGS "${COMMON_FLAGS} -DPRINCIPIA_BACKEND_IMGUI -DIMGUI_DEFINE_MATH_OPERATORS -DIMGUI_DISABLE_OBSOLETE_KEYIO -DIMGUI_USE_WCHAR32")
set(IMGUI_FLAGS_DEBUG "-DIMGUI_DEBUG_PARANOID")
set(IMGUI_FLAGS_RELEASE "-DIMGUI_DISABLE_DEMO_WINDOWS -DIMGUI_DISABLE_DEBUG_TOOLS")
else()
set(COMMON_FLAGS "${COMMON_FLAGS} -DIMGUI_DISABLE")
endif()

# macOS Clang's linker doesn't like these flags
if(NOT APPLE)
Expand Down
93 changes: 93 additions & 0 deletions data-shared/fonts/SourceCodePro-LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
© 2023 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries.

This Font Software is licensed under the SIL Open Font License, Version 1.1.

This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file added data-shared/fonts/SourceCodePro-Medium.ttf
Binary file not shown.
Binary file added data-shared/imgui/adventure.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data-shared/imgui/adventure_empty.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data-shared/imgui/background_snippets.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data-shared/imgui/custom.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data-shared/imgui/direction_arrows.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data-shared/imgui/placeholder_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/imgui-texteditor/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017 BalazsJako

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading
Loading