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
#include <wx/wx.h> | |
#include <wx/app.h> | |
#include <wx/cmdline.h> | |
#include <wx/intl.h> | |
wxLocale* locale; | |
int main(void) | |
{ | |
wxString a,b; |
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
nk_layout_row_dynamic(ctx, 20, 1); | |
nk_label(ctx, "background:", NK_TEXT_LEFT); | |
nk_layout_row_dynamic(ctx, 25, 1); | |
if (nk_combo_begin_color(ctx, nk_rgb_cf(bg), nk_vec2(nk_widget_width(ctx),400))) | |
{ | |
nk_layout_row_dynamic(ctx, 120, 1); | |
bg = nk_color_picker(ctx, bg, NK_RGBA); | |
nk_layout_row_dynamic(ctx, 25, 1); | |
bg.r = nk_propertyf(ctx, "#R:", 0, bg.r, 1.0f, 0.01f,0.005f); | |
bg.g = nk_propertyf(ctx, "#G:", 0, bg.g, 1.0f, 0.01f,0.005f); |