Commit Graph

1865 Commits

Author SHA1 Message Date
Komari Spaghetti
ebd6b3a278
Merge pull request #140 from lockie/master
Fixed naming bug in allegro5 backend image support
2020-05-27 17:27:38 +02:00
Ingo Rohloff
9236b92f86 fix nk_do_edit: Keep scroll position when re-activating edit widget.
How to test:
Construct two edit widgets.
Enter a long text into the first edit widget, so that the widget autoscrolls.
Click into second (still empty) edit widget.
Click into first edit widget again.
=> Text jums back, so that first character of text in first edit widget is visible again.
This patch keeps the scroll position of the edit widget constant.
2020-05-27 15:24:18 +02:00
Andrew Kravchuk
f7960ba73c
Fixed naming bug in allegro5 backend image support 2020-05-27 07:57:02 +03:00
Komari Spaghetti
363c2ac632
Merge pull request #139 from lockie/master
Added image support to allegro5 backend
2020-05-26 18:11:29 +02:00
Andrew Kravchuk
151916aee4
Added image support to allegro5 backend 2020-05-26 17:56:13 +03:00
dumblob
63f08aee28
Merge pull request #135 from Arnavion/fix-134
Migrate wayland demo to xdg_shell (this removes support for deprecated wl_shell)
2020-05-22 15:08:33 +02:00
Arnavion
e98ddde398 Migrate wayland demo to xdg_shell.
The wl_shell interface it previously used is deprecated and not implemented
by some compositors, like sway.

Fixes #134
2020-05-17 12:07:21 -07:00
Jimmi Holst Christensen
20c757dabc Fixed package.json version 2020-05-14 18:53:13 +02:00
Jimmi Holst Christensen
2f1b41eb28 Merge branch 'exchg-master' 2020-05-14 18:52:26 +02:00
Jimmi Holst Christensen
7677494978 Merge branch 'master' of git://github.com/exchg/Nuklear into exchg-master 2020-05-14 18:52:10 +02:00
Richard Gill
562220749c
Include stdarg (#128)
fix: missing stdarg.h inclusion
2020-05-14 18:43:29 +02:00
te:ma
e2180c3454 Fix 'nk_menubar' height calculation bug 2020-05-11 20:04:07 +03:00
Richard Gill
910df27fa0
nuklear_glfw_gl3.h without implementation (#124)
note: including nuklear implementation in glfw_gl3 implementation file is still needed because of the usage of some macros (i.e. NK_MEMSET)
2020-05-08 13:12:55 +02:00
exchg
5ecd6e359e
fix: 'nk_edit' frame border drawing (#120)
* fix: 'nk_edit' frame border drawing

Draw frame border after background to prevent overlapping.
2020-05-08 10:43:15 +02:00
dumblob
d1497c24cc
Merge pull request #125 from crazyBaboon/master
Fix missing space in overview.c "Popup->Right click here:"
2020-05-03 15:52:27 +02:00
crazyBaboon
244a98ea7b
Fix missing space in overview.c "Popup->Right click here:" 2020-05-03 11:06:50 +01:00
Komari Spaghetti
511b4e7760
Merge pull request #123 from riri/glfw-no-global
demo/glfw_opengl3 Remove global state
2020-04-30 17:13:12 +02:00
dumblob
6bf78beb4c
Merge pull request #122 from riri/doc-fix
Documentation is now available online (solves #114)
2020-04-30 16:12:37 +02:00
Richard Gill
fe01ff52eb demo/glfw_opengl3 Remove global state 2020-04-30 15:17:24 +02:00
Richard Gill
6362fd6408 update for PR on original repo 2020-04-30 12:41:07 +02:00
Richard Gill
6e659bdf12 forgot to use github.io 2020-04-30 12:39:41 +02:00
Richard Gill
58999b6f64 updated doc link for use in github.io 2020-04-30 12:29:05 +02:00
dumblob
9f0bca461b
Merge pull request #88 from mgerhardy/master
Fixed compiler warnings - bring your own sin/cos/strtod/... implementations and unused functions
2020-04-17 10:20:02 +02:00
Martin Gerhardy
455b404d86 Fixed issue #87 - Compiler warnings about unused functions
Fixed compiler warning by removing unused function nk_sqrt
Fixed compiler warning if you bring your own sin/cos/strtod....
Bump version for breaking nk_sqrt changes
Updated changelog
2020-04-17 09:58:30 +02:00
dumblob
488580fcb7
Merge pull request #109 from ZaneA/master
Fix memory leak in demo and example code.
2020-04-13 19:18:48 +02:00
Zane Ashby
9818f642da Fix memory leak in demo and example code.
Clear cmds nk_buffer after each frame to stop it growing over time.
2020-04-12 01:40:09 +12:00
dumblob
05edc452af
Merge pull request #100 from mgerhardy/pr/fixed-warnings-1
Fixed compiler warnings - removed unused variables
2020-04-11 10:40:12 +02:00
Martin Gerhardy
d5d7e8cfcc Fixed linux note for paq.sh 2020-04-09 09:42:33 +02:00
Martin Gerhardy
1cf633099b Fixed warnings about unused variables 2020-04-09 09:42:33 +02:00
dumblob
b939d43ed6
Merge pull request #99 from fsb4000/master
Fix bug: Do not dereference pool before checking for NULL
2020-04-07 11:41:11 +02:00
Igor Zhukov
04c16e5f32 Do not use pool before checking for NULL 2020-04-06 23:46:28 +07:00
Johnny English
23290daed9 readme.md: reviewer's guide: check for PR completeness (i.e. nothing is missing) 2020-03-31 14:52:08 +02:00
dumblob
36f5e16b91
Merge pull request #91 from bigov/fixing
fix "clean" target in Makefile on Windows NT
2020-03-29 18:41:49 +02:00
bigov
5f3830d8fd fix Makefile for Windows_NT 2020-03-29 15:19:47 +09:00
dumblob
e08d7b418f
Merge pull request #90 from Hejsil/fix-tree-pop-layout-restore
Fix #85 (layout was restored incorrectly on tree pop)
2020-03-23 11:59:38 +01:00
Jimmi Holst Christensen
94ed1d4099 Fix bug where layout was restored incorrectly on tree pop.
Fixes #85
2020-03-22 15:50:21 +01:00
dumblob
a3a37c9fda
Merge pull request #86 from exchg/cleanup
nk_widget_fitting() cleanup of unused variables
2020-03-18 21:23:20 +01:00
te:ma
afd830de8f nk_widget_fitting() cleanup of unused variables 2020-03-18 21:06:55 +02:00
dumblob
7ecb56c3a8
Merge pull request #80 from Hejsil/fix-padding-subtraction
Fix bug where padding was subtracted from widget
2020-03-11 19:33:38 +01:00
Jimmi Holst Christensen
75c71790f3 Fix bug where padding was subtracted from widget
This caused combo boxes to draw its items before the
panel padding, causing the text to be clipped off.

The code deleted here seems to have been an effort to
solve what 14dd68e solved so it makes sense that these
would conflict. I'm pretty sure 14dd68e is the correct
solution though and this was some old hack.
2020-03-11 18:45:36 +01:00
dumblob
6840fb2494
Merge pull request #76 from crazyBaboon/removeDoubleIncludes
Remove duplicated #include <math.h>
2020-03-10 09:31:17 +01:00
crazyBaboon
4f6b838748 Remove duplicated #include <math.h> 2020-03-09 21:51:08 +00:00
Jimmi Holst Christensen
177f391347
Add reviewers guide to readme (#72)
Add reviewers guide to Readme.md
2020-03-08 20:19:30 +01:00
Jimmi Holst Christensen
82d85e94e1
Merge pull request #2 from Hejsil/fix-double-padding
Fix bug where width padding was applied twice
2020-03-06 18:07:03 +01:00
Jimmi Holst Christensen
14dd68ea0f Fix bug where width padding was applied twice 2020-03-06 17:30:25 +01:00
dumblob
0eb6187729
Merge pull request #53 from ronaaron/ttf
Update stb_truetype (ttf font support) and stb_rect_pack while paving the way for easy updates in the future.
2020-03-06 12:21:26 +01:00
Ron Aaron
8513b632a2 really fixed memory issue, bumped version, remove tabs 2020-03-06 13:05:56 +02:00
Ron Aaron
ae6deb7965 really fixed memory issue 2020-03-06 12:51:36 +02:00
Ron Aaron
3d84f6c42c really fixed memory issue 2020-03-06 12:06:58 +02:00
dumblob
7fe20af760
Merge pull request #67 from KenthJohan/master
Added main arg params in demo/sdl_opengl* (fixes compilation error)
2020-02-28 15:56:04 +01:00