Merge pull request #306 from juliuszint/master
fixed relative path of demo fonts in d3d11 sample
This commit is contained in:
commit
21f406f848
@ -177,12 +177,12 @@ int main(void)
|
|||||||
/* Load Cursor: if you uncomment cursor loading please hide the cursor */
|
/* Load Cursor: if you uncomment cursor loading please hide the cursor */
|
||||||
{struct nk_font_atlas *atlas;
|
{struct nk_font_atlas *atlas;
|
||||||
nk_d3d11_font_stash_begin(&atlas);
|
nk_d3d11_font_stash_begin(&atlas);
|
||||||
/*struct nk_font *droid = nk_font_atlas_add_from_file(atlas, "../../../extra_font/DroidSans.ttf", 14, 0);*/
|
/*struct nk_font *droid = nk_font_atlas_add_from_file(atlas, "../../extra_font/DroidSans.ttf", 14, 0);*/
|
||||||
/*struct nk_font *robot = nk_font_atlas_add_from_file(atlas, "../../../extra_font/Robot-Regular.ttf", 14, 0);*/
|
/*struct nk_font *robot = nk_font_atlas_add_from_file(atlas, "../../extra_font/Roboto-Regular.ttf", 14, 0);*/
|
||||||
/*struct nk_font *future = nk_font_atlas_add_from_file(atlas, "../../../extra_font/kenvector_future_thin.ttf", 13, 0);*/
|
/*struct nk_font *future = nk_font_atlas_add_from_file(atlas, "../../extra_font/kenvector_future_thin.ttf", 13, 0);*/
|
||||||
/*struct nk_font *clean = nk_font_atlas_add_from_file(atlas, "../../../extra_font/ProggyClean.ttf", 12, 0);*/
|
/*struct nk_font *clean = nk_font_atlas_add_from_file(atlas, "../../extra_font/ProggyClean.ttf", 12, 0);*/
|
||||||
/*struct nk_font *tiny = nk_font_atlas_add_from_file(atlas, "../../../extra_font/ProggyTiny.ttf", 10, 0);*/
|
/*struct nk_font *tiny = nk_font_atlas_add_from_file(atlas, "../../extra_font/ProggyTiny.ttf", 10, 0);*/
|
||||||
/*struct nk_font *cousine = nk_font_atlas_add_from_file(atlas, "../../../extra_font/Cousine-Regular.ttf", 13, 0);*/
|
/*struct nk_font *cousine = nk_font_atlas_add_from_file(atlas, "../../extra_font/Cousine-Regular.ttf", 13, 0);*/
|
||||||
nk_d3d11_font_stash_end();
|
nk_d3d11_font_stash_end();
|
||||||
/*nk_style_load_all_cursors(ctx, atlas->cursors);*/
|
/*nk_style_load_all_cursors(ctx, atlas->cursors);*/
|
||||||
/*nk_style_set_font(ctx, &droid->handle)*/;}
|
/*nk_style_set_font(ctx, &droid->handle)*/;}
|
||||||
|
Loading…
Reference in New Issue
Block a user