Commit Graph
2299 Commits
Author SHA1 Message Date
beatwise 4c1272ff1c sets xcb window's title 2024-11-30 14:19:53 +01:00
beatwise 225edd3cb3 removed -g flag 2024-11-28 13:45:14 -05:00
beatwise 688a791d85 cpp-friendly 2024-11-28 13:45:14 -05:00
Richard Gill 31c580725b Merge pull request #73 from rswinkle/style_configurator
I still see a few things that can be improved, but nothing blocking a merge at demo level (missing controls for the new knob widget, INCLUDE_CONFIGURATOR defined by default in the demo).
GTBM
2024-11-26 09:16:50 +01:00
Robert Winkler 0f90945214 Fix/update 2024-11-25 23:59:26 -07:00
Robert Winkler 2282b6c4a5 Fix copy-paste error 2024-11-25 23:59:26 -07:00
Robert Winkler 8a9d5dbec7 Compile as C89 -pedantic -Wall with no warnings 2024-11-25 23:59:26 -07:00
Robert Winkler cc98290283 rebase 2024-11-25 23:59:26 -07:00
Robert Winkler 2327f81a7d Pass color array in as a parameter 2024-11-25 23:59:26 -07:00
Robert Winkler a444e04745 Added additional button text alignments 2024-11-25 23:59:26 -07:00
Robert Winkler e0685b656c rename and improve style_colors to style_global_colors
Now it only updates the colors after one of the dropdowns has been
clicked, not every frame that the tree/tab is expanded
2024-11-25 23:59:26 -07:00
Robert Winkler ab6aee42d8 Remove unnecessary comments 2024-11-25 23:59:26 -07:00
Robert Winkler b51d4ac564 Make symbols array static global 2024-11-25 23:59:26 -07:00
Robert Winkler fb462a31e6 Finished style_vec2 2024-11-25 23:59:26 -07:00
Robert Winkler 2a09e519f3 Finished style_item_color 2024-11-25 23:59:26 -07:00
Robert Winkler d7d6280033 Finished using style_rgb, started style_item_color 2024-11-25 23:59:26 -07:00
Robert Winkler ec430918d5 First draft 2024-11-25 23:59:26 -07:00
Richard Gill 38d6339ab1 Merge pull request #745 from beatwise/xkbcommon-support
While not being sure about the details of the add of this library, it seems to work and it's a demo, so no harm pushing this PR.
2024-11-23 21:31:49 +01:00
beatwise d97efedac4 xkbcommon support 2024-11-23 14:29:20 +01:00
Richard Gill 0bc2161008 updated clib.json for last version bump on #742 4.12.2 2024-11-22 23:07:44 +01:00
Rob Loach 175ff8118a Fix nk_roundf() int type casting (#742) 2024-11-22 13:48:18 -05:00
Rob Loach 22b712b322 Fix nk_strtoi() const type usage (#740)
This fixes `nk_strtoi()` expecting a `char**`, but getting a `const char**`.
2024-11-20 12:22:29 -05:00
Richard Gill 628fa6339c fix #735 2024-11-18 12:02:24 -05:00
Richard Gill 7c77328863 Merge pull request #734 from riri/master
Restore documentation on github pages with Doxygen generated doc
2024-11-18 08:07:27 +01:00
Richard Gill 89b269101b changed the action to run on master branch 2024-11-18 01:36:59 +01:00
Richard Gill 8778b89635 fixed main page (from src/HEADER.md) 2024-11-18 01:23:42 +01:00
Richard Gill 34bf5834d2 removed REAMDE.me from pages 2024-11-18 01:16:23 +01:00
Richard Gill 16327f8946 fixed doc path for deployment 2024-11-18 01:03:55 +01:00
Richard Gill d30fbc04da added gh-pages action to deploy doxygen generated doc 2024-11-18 00:52:02 +01:00
Richard Gill 262a10e611 Merge pull request #712 from RobLoach/demo-disable-optimization
demo: Disable compiler optimization
2024-11-17 21:55:46 +01:00
Rob Loach 9e6f55d6f2 Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into demo-disable-optimization 2024-11-17 15:46:18 -05:00
Alexander W. Schultz 50021f5375 Top level Makefile Upgraded
The top level makefile now handles the building of nuklear.h, docs, and
demos.

Doing this, not only provides a more familar interface for C
programmers, but allows the build system to become simplified. Using
`make` can take advantage of multiple processes and threading. Next up
in the line will be updating the workflow to take advantage of these
properties.
2024-11-17 15:40:35 -05:00
Alexander W. Schultz 5eea89cccc feature: build.py now allows for space separated lists of files.
this is a stepping stone to going to a full Makefile build system. All
src files can be provided in the make and sent to build.py with minimal
issues now that we don't have to build a comma separated list.
2024-11-17 15:40:35 -05:00
Richard Gill 01d78280d8 Merge pull request #710 from RobLoach/enable-overview
demo: Enable Overview by default
2024-11-17 13:09:59 +01:00
Xeverous a315d25b4c Update Nuklear 2024-11-07 19:45:55 -05:00
Alexander W. Schultz a13a60e998 updates nuklear.h after paq'ing 2024-11-07 19:24:40 -05:00
Alexander W. Schultz 2a4e3fbc92 updates gitignore 2024-11-07 19:24:40 -05:00
Alexander W. Schultz 80805cdfc0 updates makefile to handle documentaion generation a little better 2024-11-07 19:24:40 -05:00
Alexander W. Schultz d1821eebc7 removing old documentation generator 2024-11-07 19:24:40 -05:00
Alexander W. Schultz 7cb39a360d C89 style comment blocks
nuklear.h has been converted to C89 style comment blocks instead of the
amalgamation it was before (presummably a relic of the other
documentation system).

examples compile. more testing is required.
2024-11-07 19:24:40 -05:00
Alexander W. Schultz d3ea630a84 Adds HEADER to the doxygen output
HEADER is the intro API section of the paq'd files, which is the most
critical part of our documentation. Ideally, this file needs to stay the
same style because it needs to be incorporated into the header file;
however, we can make a minor modification to allow doxygen to render it.
with this commit, I change the name to HEADER.c to allow doxygen
processing. This shouldn't have any affect on the generated paq file.
Eventually, I would like to move this HEADER file into a different name
and the overall mainpage of the documentation.
2024-11-07 19:24:40 -05:00
Alexander W. Schultz 2ac678a94d converts nuklear.h to doxygen comment styles
the difference isnt staggering by any means. the original comment blocks
had most everything we needed. More work is required and there are still
questions to be had about how much information / styling is desired to
be retained in the code comments, verses removing some styling because
doxygen handles that conversion into html with styling automatically.
2024-11-07 19:24:40 -05:00
Alexander W. Schultz 050fbbaf9a whoops. forgot to add Doxyfile to previous commit 2024-11-07 19:24:40 -05:00
Alexander W. Schultz 3723ca585b adds source file processing to doxygen.
this commit adds the proper source file directory, so now doxygen picks
up all of the C files for processing. Some minor cleanup and file
exclusions have also been added such that things like `paq.sh` and sub
`Readme.md` files are not picked up.
2024-11-07 19:24:40 -05:00
Alexander W. Schultz abb3e406aa initial commit of doxygen files
Adds initial doxyfile for doxygen configuration. Has some basic settings
for getting up and running with decent results.

Also, the beautiful doxygen-awesome-css project has been included in the
makefile such that we can pull (on your own time) a nice package to make
the doxygen output so much prettier to look at than the default.
2024-11-07 19:24:40 -05:00
Rob Loach d5969abb86 Merge pull request #728 from Immediate-Mode-UI/revert-721-const-correctness
Revert "const correctness in public API"
2024-11-07 19:24:02 -05:00
Rob Loach d123122a27 Revert "const correctness in public API" 2024-11-07 19:22:55 -05:00
Rob Loach f169ee68d1 Merge pull request #721 from Xeverous/const-correctness
const correctness in public API
2024-11-07 18:52:54 -05:00
Rob Loach 985ddcbccb Merge pull request #723 from awschult002/sdl_intrin
disables intrinsics on SDL demos
2024-11-05 09:43:49 -05:00
Alexander W. Schultz b6a7791d13 disables intrinsics on SDL demos
SDL library has an issue where it expects intrinsics headers to be
provided, but intrinsics are not exactly part of a standard, so there is
no guarantee that they will be available. As such, the library allows
you to turn them off. I am disabling them to allow for better
portability and ease of compilation.
2024-10-20 23:17:02 -04:00