Jump to content
  • entries
    948
  • comments
    5,905
  • views
    945,065

Message Boxes


Josh

2,951 views

If were a user of BlitzMax in the past, you will love these convenience commands in Turbo Engine:

int Notify(const std::wstring& title, const std::wstring& message, shared_ptr<Window> window = nullptr, const int icon = 0)
int Confirm(const std::wstring& title, const std::wstring& message, shared_ptr<Window> window = nullptr, const int icon = 0)
int Proceed(const std::wstring& title, const std::wstring& message, shared_ptr<Window> window = nullptr, const int icon = 0)

confirm2.png.f4d3c4f16e5bdb1731d52390307dd4ba.png

  • Like 3

5 Comments


Recommended Comments

Josh

Posted

Also added RequestDir() and RequestFile(). It looks like the new Explorer dark theme is supported, so that tells me I don't have to worry about making a custom file dialog in the new editor.

image.thumb.png.b6ea21dc7f0ce694dbe7e4cfc5280bac.png

  • Like 1
Josh

Posted

And added RequestFiles() for multiple file selection.

  • Like 1
Marcousik

Posted

Is there something like this in current LE4.6 ?

gamecreator

Posted

You can do it through either Windows commands (I'm guessing Linux has equivalent) or try through the Leadwerks GUI (though I don't think it's documented still).

Josh

Posted

7 hours ago, Marcousik said:

Is there something like this in current LE4.6 ?

No.

1 hour ago, gamecreator said:

You can do it through either Windows commands (I'm guessing Linux has equivalent) or try through the Leadwerks GUI (though I don't think it's documented still).

Linux actually does not. GTK or some other library that not all Linux installs have does do it. Which makes things more difficult.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...