This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
color-link default "brightyellow,brightwhite" | |
color-link selection "brightwhite,brightyellow" | |
color-link statusline "white,brightyellow" | |
color-link tabbar "white,brightyellow" | |
color-link indent-char "white" | |
color-link line-number "bold brightcyan,white" | |
color-link current-line-number "bold brightcyan,default" | |
color-link diff-added "green" | |
color-link diff-modified "yellow" | |
color-link diff-deleted "red" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//------------------------------------------------------------------------------ | |
// nuklear-sapp.c | |
// | |
// Demonstrates Nuklear UI rendering in C via | |
// sokol_gfx.h + sokol_nuklear.h + nuklear.h | |
//------------------------------------------------------------------------------ | |
#define SOKOL_METAL | |
#include "sokol_app.h" | |
#include "sokol_gfx.h" | |
#include "sokol_time.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if defined(SOKOL_IMPL) && !defined(SOKOL_NUKLEAR_IMPL) | |
#define SOKOL_NUKLEAR_IMPL | |
#endif | |
#ifndef SOKOL_NUKLEAR_INCLUDED | |
/* | |
sokol_nuklear.h -- drop-in Nuklear renderer/event-handler for sokol_gfx.h | |
Do this: | |
#define SOKOL_IMPL or | |
#define SOKOL_NUKLEAR_IMPL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Copyright (c) 2010 Warren Merrifield | |
# | |
# 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: |