Dreikblack Posted July 9 Share Posted July 9 Icon: In Ultra: TestNumber.zip #include "UltraEngine.h" using namespace UltraEngine; int main(int argc, const char* argv[]) { //Get the displays auto displays = GetDisplays(); //Create window auto window = CreateWindow("Ultra Engine", 0, 0, 800, 800, displays[0]); //Create user interface auto ui = CreateInterface(window); //Create a pixmap auto icon = LoadIcon("TestNumber.svg"); //Show the icon ui->root->SetIcon(icon); while (true) { const Event ev = WaitEvent(); switch (ev.id) { case EVENT_WINDOWCLOSE: return 0; break; } } return 0; } Quote Link to comment Share on other sites More sharing options...
Solution Josh Posted July 9 Solution Share Posted July 9 Convert the text to a path and it will work: TestNumber.zip 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.