Commit Graph

2246 Commits

Author SHA1 Message Date
Rob Loach
c512ac8864
Merge pull request #527 from dulingzhi/fix/ttc-font-offset
Fix nk_font_bake_pack() using TTC font offset incorrectly
2022-12-17 14:04:55 -05:00
Rob Loach
743dd0105f
Update version for 4.10.5 2022-12-17 14:01:12 -05:00
Rob Loach
f78acb4333
Remove .gitmodules as it's not used anymore 2022-12-17 14:00:26 -05:00
Rob Loach
ca227ac0f7
Merge pull request #525 from learn-more/add_link
Add link from the documentation to the code
2022-12-17 13:56:59 -05:00
Jai
1dad328fe9 Fix the problem that nk_font_bake_pack uses ttc font offset incorrectly (#456) 2022-12-16 12:20:03 +08:00
Mark Jansen
607e4716cc
Add link from the documentation to the code
Fixes #515
2022-12-03 21:57:14 +01:00
Mark Jansen
da9d3866e2
utils: Add .yml indent_size to .editorconfig 2022-12-02 00:20:08 +01:00
Mark Jansen
0b7547b710
demo/win32: Add the renderer name to the window title 2022-12-02 00:19:33 +01:00
dumblob
776893ef7b
Merge pull request #520 from learn-more/gdi_cc
gdi_native: Fix calling convention problem
2022-11-30 21:48:17 +01:00
Mark Jansen
b98732fbc8
gdi_native: Fix calling convention problem
The calling convention of a WNDPROC is specified as being 'CALLBACK'.
2022-11-30 18:56:00 +01:00
dumblob
7ae6d7dacc
Merge pull request #518 from Th3T3chn0G1t/master
demo/backend: Fixed UBSan trip in GLFW OpenGL3
2022-11-24 16:08:57 +01:00
Th3T3chn0G1t
637b5e198d
Fixed UBSan trip in GLFW OpenGL3 demo backend
This resolves a false UBSan trip caused by treating the element offset
in `glDrawElements` as a pointer
This parameter is effectively an offset but is taken as a `void*`
By not storing the offset as a pointer, UBSan no longer tools the offset
to check for null pointer overflow
2022-11-24 10:21:37 +00:00
dumblob
3a0aafb9cc
Merge pull request #506 from Francesco149/nuklear-string-returns-zero-fix
Fix nk_str_{append,insert}_str_utf8 always returning 0
2022-11-02 21:46:08 +01:00
loli
da5198ccdc Fix nk_str_{append,insert}_str_utf8 always returning 0 2022-10-24 10:40:48 +02:00
dumblob
835c6551d4
Merge pull request #504 from riri/demo-includes
demos: set style with defines to ease esp. regression testing
2022-10-13 17:59:10 +02:00
Richard Gill
54cd692d17 added comment on ifdefs to use styles in demos 2022-10-13 11:51:50 +02:00
dumblob
602ebcf2ea
Merge pull request #505 from riri/xlib-arc
xlib backend: implemented arc commands
2022-10-13 11:31:38 +02:00
Richard Gill
d63f106334 xlib backend: implemented arc commands 2022-10-12 22:08:08 +02:00
Richard Gill
fc5ce1c495 demos: set style with defines
To avoid having to modify the demo code,
conditionnally include a predefined style
2022-10-12 21:19:58 +02:00
Richard Gill
96eca2ecc3 Merge remote-tracking branch 'upstream/master' 2022-10-07 19:00:18 +02:00
dumblob
07bd7a0925
Merge pull request #414 from Ohjurot/gdi_nuklear_native_window
Windows (GDI): Native-like nuklear windows
2022-10-06 16:55:17 +02:00
Rob Loach
0eb3361266
Merge pull request #503 from riri/fix-xlib-text
xlib: Fix xlib text drawing background color
2022-10-04 00:40:35 -04:00
Richard Gill
6a429eca62 cleanup xlib text drawing
fixes #502
2022-10-03 21:11:12 +02:00
Rob Loach
492f4d9d3c
Merge pull request #482 from Immediate-Mode-UI/tex_null
Rename `null` texture field to `tex_null`
2022-09-28 01:56:55 -04:00
Rob Loach
e3d049e63e
Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into tex_null 2022-09-28 01:52:11 -04:00
dumblob
56000faecf
Merge pull request #501 from dczheng/master
nuklear.h: fix minor typo
2022-09-22 20:11:33 +02:00
dczheng
a74061af6d Fix typo 2022-09-23 00:27:48 +08:00
Rob Loach
b9591053ef
Merge pull request #497 from Immediate-Mode-UI/apple-silicon
Fix Apple Silicon with incorrect NK_SITE_TYPE and NK_POINTER_TYPE
2022-09-17 20:45:12 -04:00
Rob Loach
ce1c94d84b
Fix Apple Silicon with incorrect NK_SITE_TYPE and NK_POINTER_TYPE 2022-09-11 13:53:59 -04:00
Richard Gill
a4af91dd21 fixed common files location in demo 2022-08-04 20:57:46 +02:00
Richard Gill
93174aaadc Merge commit '93a057b3fe305254ce087ff1dbde34bc663c5bc8' into xcb-cairo 2022-08-04 20:50:27 +02:00
Rob Loach
c55fd8cc62
Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into tex_null 2022-08-03 13:59:10 -04:00
Rob Loach
93a057b3fe
Merge pull request #486 from Immediate-Mode-UI/shift-end
Fix Shift + End in nk_edit
2022-08-03 13:41:39 -04:00
Rob Loach
e57ee582ab
Update NK_MIN() call to save a line of code 2022-08-03 13:00:54 -04:00
opsJson
df86105c69 Fix tabs 2022-08-01 16:19:45 -03:00
opsJson
c7c3069dc2 following the read me 2022-08-01 15:33:42 -03:00
opsJson
9f0a601395
Update nuklear_text_editor.c 2022-07-30 21:36:01 -03:00
opsJson
d28d145732
Fixed cursor position overflow 2022-07-30 21:33:46 -03:00
Rob Loach
ca49016428
Rename more null variables to tex_null 2022-07-30 17:45:12 -04:00
Rob Loach
54fd67bddd
Rename additional .null variables 2022-07-30 17:43:46 -04:00
Rob Loach
ec4acc7cf4
Rename the null variable to tex_null 2022-07-30 17:38:10 -04:00
opsJson
3b5009255e
Fix Shift + End in nk_edit 2022-07-25 20:07:20 -03:00
dumblob
0bbb235c7e
Merge pull request #474 from Immediate-Mode-UI/x11-xfree
x11 opengl: Free XVisualInfo after use
2022-07-12 17:06:41 +02:00
Rob Loach
7597cc7a09
x11: Free XVisualInfo after use
Fixes #473
2022-07-09 17:18:21 -04:00
ryuukk
ed3ff76d0e rename null texture field to tex_null 2022-06-27 00:15:14 +02:00
dumblob
11d8acfd4f
Merge pull request #463 from tcdude/fix_regression
window movement: Fix regression introduced in #448
2022-06-02 10:07:35 +02:00
Ludwig Füchsl
adeb2a720f Added wWinMain comment 2022-05-30 22:49:12 +02:00
Ludwig Füchsl
50277a1c39 Changed windows include to lowercase 2022-05-29 01:47:00 +02:00
tcdude
5bb591b0fb Rename function 2022-05-27 21:28:34 +02:00
tcdude
a931a8d499 Fix regression introduced in #448
This adds a new `nk_input_has_mouse_click_in_rect_button` function that
is being used only by buttons. This allows
`nk_input_has_mouse_click_in_rect` to act as its name suggests while
still allowing for the behavior introduced in #448
2022-05-27 04:12:11 +02:00