Jump to content

Message Boxes

JMK

643 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

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

Share this comment


Link to comment
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.

Share this comment


Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...