File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
allocore/examples/graphics Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ class MyApp : public App{
2121 Font font3;
2222
2323 MyApp ()
24- : font1(" ../.. /share/fonts/VeraMoIt.ttf" , 20 ),
25- font2 (" ../.. /share/fonts/VeraMoBd.ttf" , 14 ),
26- font3(" ../.. /share/fonts/VeraMono.ttf" , 10 )
24+ : font1(" allocore /share/fonts/VeraMoIt.ttf" , 20 ),
25+ font2 (" allocore /share/fonts/VeraMoBd.ttf" , 14 ),
26+ font3(" allocore /share/fonts/VeraMono.ttf" , 10 )
2727 {
2828 nav ().pos (0 ,0 ,4 );
2929 initWindow (Window::Dim (400 ,200 ));
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ MyWindow win1;
153153
154154int main (int argc, char * const argv[]) {
155155 searchpaths.addAppPaths (argc, argv);
156- searchpaths.addSearchPath (searchpaths.appPath () + " ../../share" );
156+ searchpaths.addSearchPath (searchpaths.appPath () + " ../../allocore/ share" );
157157 searchpaths.print ();
158158
159159 // load in a "scene"
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ struct MyApp : App {
2424
2525 // Load a .jpg file
2626 //
27- const char *filename = " ../.. /share/images/tiny.jpg" ;
27+ const char *filename = " allocore /share/images/tiny.jpg" ;
2828
2929 if (image.load (filename)) {
3030 printf (" Read image from %s\n " , filename);
You can’t perform that action at this time.
0 commit comments