Dialogs: Difference between revisions

From ENIGMA
Jump to navigation Jump to search
mNo edit summary
No edit summary
(123 intermediate revisions by the same user not shown)
Line 1: Line 1:
== '''Overview''' ==
== '''Overview''' ==


On this page is outlined the different "Widget Systems" that are available in ENIGMA, what platforms they support, along with the list of functions that are present in each one. It is very important to make note of the license a widget system, its source code, and dependencies are distributed under before distributing your game. Some of these widget systems have installation instructions; please read them, or you may end up thinking they don't work.
On this page is outlined the different "Widget Systems" that are available in ENIGMA, what platforms they support, and other important information you should also know before using them. Some of these widget systems require installation, which is also explained here. You may read the most up-to-date function documentation available [https://enigma-dev.org/forums/index.php?topic=3008 here], (and related announcements).




== '''Windows Widgets''' ==


== '''Win32''' ==


'''Platform''': Windows Desktop (Vista, 7, 8, 8.1, 10)


'''Platform''': Windows
'''Dependencies''': Provided with the OS
 
'''Dependencies''': N/A


'''License''': GPL3
'''License''': GPL3


'''UTF-8 Support''': No
'''UTF-8 Support''': Yes


'''Language''': C++
'''Language''': C++


'''API's''': Windows API
'''API's''': Win32


'''Install Instructions''': N/A
'''Install Instructions''': N/A


'''Screenshots''': [https://i.imgur.com/TVGhkwG.gif Win32.gif]


'''Functions''':
'''Author(s)''': Josh Ventura,


* [https://enigma-dev.org/docs/Wiki/Show_message show_message(str)] (GameMaker, GameMaker Studio, ENIGMA)
Samuel Venable


* [https://enigma-dev.org/docs/Wiki/Show_message_ext show_message_ext(str, but1, but2, but3)] (GameMaker, ENIGMA)


* [https://enigma-dev.org/docs/Wiki/Show_question show_question(str)] (GameMaker, GameMaker Studio, ENIGMA)
== '''Cocoa Widgets''' ==


* [https://enigma-dev.org/docs/Wiki/Show_error show_error(str, abort)] (GameMaker, GameMaker Studio, ENIGMA)


* [https://enigma-dev.org/docs/Wiki/Show_info show_info()] (GameMaker, ENIGMA)
'''Platform''': Mac OS X / macOS (High Sierra, Mojave)


* [https://enigma-dev.org/docs/Wiki/Show_menu show_menu(str, def)] (GameMaker, ENIGMA)
'''Dependencies''': Provided with the OS


* [https://enigma-dev.org/docs/Wiki/Show_menu_pos show_menu_pos(x, y, str, def)] (GameMaker, ENIGMA)
'''License''': GPL3
 
* [https://enigma-dev.org/docs/Wiki/Get_string get_string(str, def)] (GameMaker, GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_login get_login(username, password)] (GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_integer get_integer(str, def)] (GameMaker, GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_open_filename get_open_filename(filter, fname)] (GameMaker, GameMaker Studio, ENIGMA)
 
* get_open_filename_ext(filter, fname, dir, title) (GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_save_filename get_save_filename(filter, fname)] (GameMaker, GameMaker Studio, ENIGMA)
 
* get_save_filename_ext(filter, fname, dir, title) (GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_directory get_directory(dname)] (GameMaker, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_directory_alt get_directory_alt(capt, root)] (GameMaker, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_color get_color(defcol)] (GameMaker, ENIGMA)
 
 
 
== '''DlgMod''' ==
 
 
'''Platform''': Windows
 
'''Dependencies''': [https://github.com/time-killer-games/DialogModule DialogModule]
 
'''License''': MIT


'''UTF-8 Support''': Yes
'''UTF-8 Support''': Yes


'''Language''': C++
'''Language''': C++, Objective-C++


'''API's''': Windows API
'''API's''': Cocoa
 
'''Install Instructions''': Download the Windows DLL from the dependency link,  and put it in the working directory of your game's project source. Be sure to also distribute it with your game's executable, in the same parent directory, preferably in a ZIP, if nothing needs to be written to registry, (such as DirectX, for example). Download and use the x86-targeted DLL for 32-bit games; do likewise with the x64-targeted DLL for 64-bit games.
 
 
'''Functions''':
 
* [https://enigma-dev.org/docs/Wiki/Show_message show_message(str)] (GameMaker, GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Show_question show_question(str)] (GameMaker, GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Show_error show_error(str, abort)] (GameMaker, GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_string get_string(str, def)] (GameMaker, GameMaker Studio, ENIGMA)
 
* get_password(str, def) ([https://samuel-venable.itch.io/dialog-module GameMaker Studio Extension], ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_integer get_integer(str, def)] (GameMaker, GameMaker Studio, ENIGMA)
 
* get_passcode(str, def) ([https://samuel-venable.itch.io/dialog-module GameMaker Studio Extension], ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_open_filename get_open_filename(filter, fname)] (GameMaker, GameMaker Studio, ENIGMA)
 
* get_open_filename_ext(filter, fname, dir, title) (GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_save_filename get_save_filename(filter, fname)] (GameMaker, GameMaker Studio, ENIGMA)
 
* get_save_filename_ext(filter, fname, dir, title) (GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_directory get_directory(dname)] (GameMaker, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_directory_alt get_directory_alt(capt, root)] (GameMaker, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_color get_color(defcol)] (GameMaker, ENIGMA)
 
 
 
== '''OsaScript''' ==
 
 
'''Platform''': Mac OS X
 
'''Dependencies''': N/A
 
'''License''': ZLib
 
'''UTF-8 Support''': Yes
 
'''Language''': C++, AppleScript
 
'''API's''': Cocoa, AppleScript


'''Install Instructions''': N/A
'''Install Instructions''': N/A


'''Screenshots''': [https://i.imgur.com/bkCYhWs.gif Cocoa.gif]


'''Functions''':
'''Author(s)''': Samuel Venable
 
* [https://enigma-dev.org/docs/Wiki/Show_message show_message(str)] (GameMaker, GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Show_question show_question(str)] (GameMaker, GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Show_error show_error(str, abort)] (GameMaker, GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_string get_string(str, def)] (GameMaker, GameMaker Studio, ENIGMA)
 
* get_password(str, def) ([https://samuel-venable.itch.io/dialog-module GameMaker Studio Extension], ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_integer get_integer(str, def)] (GameMaker, GameMaker Studio, ENIGMA)
 
* get_passcode(str, def) ([https://samuel-venable.itch.io/dialog-module GameMaker Studio Extension], ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_open_filename get_open_filename(filter, fname)] (GameMaker, GameMaker Studio, ENIGMA)
 
* get_open_filename_ext(filter, fname, dir, title) (GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_save_filename get_save_filename(filter, fname)] (GameMaker, GameMaker Studio, ENIGMA)
 
* get_save_filename_ext(filter, fname, dir, title) (GameMaker Studio, ENIGMA)


* [https://enigma-dev.org/docs/Wiki/Get_directory get_directory(dname)] (GameMaker, ENIGMA)


* [https://enigma-dev.org/docs/Wiki/Get_directory_alt get_directory_alt(capt, root)] (GameMaker, ENIGMA)
== '''Zenity Widgets''' ==


* [https://enigma-dev.org/docs/Wiki/Get_color get_color(defcol)] (GameMaker, ENIGMA)


'''Platform''': Linux, Raspbian, BSD (Potentially)


 
'''Dependencies''': [https://github.com/GNOME/zenity Zenity], [https://github.com/GNOME GNOME], [https://github.com/GNOME/gtk GTK]
== '''Zenity''' ==
 
 
'''Platform''': Linux
 
'''Dependencies''': [https://github.com/GNOME/zenity Zenity], [https://github.com/GNOME/gtk GTK]


'''License''': LGPL2
'''License''': LGPL2
Line 172: Line 61:
'''UTF-8 Support''': Yes
'''UTF-8 Support''': Yes


'''Language''': C++, Shell Scripting
'''Language''': C++, Shell
 
'''API's''': XLib, GNOME, GTK
 
'''Install Instructions''':  You have two options based on your desktop environment.
 
On Debian-based Linux distributions, enter the following command into the terminal: '''sudo apt-get install zenity'''
 
On RedHat-based Linux distributions, enter the following command into the terminal: '''yum install zenity'''
 
 
'''Functions''':
 
* [https://enigma-dev.org/docs/Wiki/Show_message show_message(str)] (GameMaker, GameMaker Studio, ENIGMA)


* [https://enigma-dev.org/docs/Wiki/Show_question show_question(str)] (GameMaker, GameMaker Studio, ENIGMA)
'''API's''': X11, GTK, GNOME


* [https://enigma-dev.org/docs/Wiki/Show_error show_error(str, abort)] (GameMaker, GameMaker Studio, ENIGMA)
'''Install Instructions''':  You have three options based on your Linux distribution:


* [https://enigma-dev.org/docs/Wiki/Get_string get_string(str, def)] (GameMaker, GameMaker Studio, ENIGMA)
* On Debian-based Linux distributions, enter the following command into the terminal: '''sudo apt-get install zenity'''


* get_password(str, def) ([https://samuel-venable.itch.io/dialog-module GameMaker Studio Extension], ENIGMA)
* On RedHat-based Linux distributions, enter the following command into the terminal: '''yum install zenity'''


* [https://enigma-dev.org/docs/Wiki/Get_integer get_integer(str, def)] (GameMaker, GameMaker Studio, ENIGMA)
* On Arch-based Linux distributions, please see [https://enigma-dev.org/docs/Wiki/Install:Arch_Setup setting up ENIGMA for Arch Linux development.]


* get_passcode(str, def) ([https://samuel-venable.itch.io/dialog-module GameMaker Studio Extension], ENIGMA)
Both you and the end user will need to install using one of the above methods.


* [https://enigma-dev.org/docs/Wiki/Get_open_filename get_open_filename(filter, fname)] (GameMaker, GameMaker Studio, ENIGMA)
'''Screenshots''': [https://i.imgur.com/y2UaElD.gif Zenity.gif]


* get_open_filename_ext(filter, fname, dir, title) (GameMaker Studio, ENIGMA)
'''Author(s)''': Samuel Venable


* [https://enigma-dev.org/docs/Wiki/Get_save_filename get_save_filename(filter, fname)] (GameMaker, GameMaker Studio, ENIGMA)


* get_save_filename_ext(filter, fname, dir, title) (GameMaker Studio, ENIGMA)
== '''KDialog Widgets''' ==


* [https://enigma-dev.org/docs/Wiki/Get_directory get_directory(dname)] (GameMaker, ENIGMA)


* [https://enigma-dev.org/docs/Wiki/Get_directory_alt get_directory_alt(capt, root)] (GameMaker, ENIGMA)
'''Platform''': Linux, Raspbian, BSD (Potentially)


* [https://enigma-dev.org/docs/Wiki/Get_color get_color(defcol)] (GameMaker, ENIGMA)
'''Dependencies''': [https://github.com/KDE/kdialog KDialog], [https://github.com/KDE KDE], [https://github.com/qt Qt]
 
 
 
== '''KDialog''' ==
 
 
'''Platform''': Linux
 
'''Dependencies''': [https://github.com/KDE/kdialog KDialog], [https://github.com/KDE KDE]


'''License''': GPL2
'''License''': GPL2
Line 226: Line 91:
'''UTF-8 Support''': Yes
'''UTF-8 Support''': Yes


'''Language''': C++, Shell Scripting
'''Language''': C++, Shell
 
'''API's''': XLib, Qt, KDE
 
'''Install Instructions''':  You have two options based on your desktop environment.
 
On Debian-based Linux distributions, enter the following command into the terminal: '''sudo apt-get install kdebase-bin'''
 
On RedHat-based Linux distributions, enter the following command into the terminal: '''yum groupinstall "KDE (K Desktop Environment)"'''
 
 
'''Functions''':
 
* [https://enigma-dev.org/docs/Wiki/Show_message show_message(str)] (GameMaker, GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Show_question show_question(str)] (GameMaker, GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Show_error show_error(str, abort)] (GameMaker, GameMaker Studio, ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_string get_string(str, def)] (GameMaker, GameMaker Studio, ENIGMA)
 
* get_password(str, def) ([https://samuel-venable.itch.io/dialog-module GameMaker Studio Extension], ENIGMA)
 
* [https://enigma-dev.org/docs/Wiki/Get_integer get_integer(str, def)] (GameMaker, GameMaker Studio, ENIGMA)


* get_passcode(str, def) ([https://samuel-venable.itch.io/dialog-module GameMaker Studio Extension], ENIGMA)
'''API's''': X11, Qt, KDE


* [https://enigma-dev.org/docs/Wiki/Get_open_filename get_open_filename(filter, fname)] (GameMaker, GameMaker Studio, ENIGMA)
'''Install Instructions''':  You have three options based on your Linux distribution:


* get_open_filename_ext(filter, fname, dir, title) (GameMaker Studio, ENIGMA)
* On Debian-based Linux distributions, enter the following command into the terminal: '''sudo apt-get install kdialog'''


* [https://enigma-dev.org/docs/Wiki/Get_save_filename get_save_filename(filter, fname)] (GameMaker, GameMaker Studio, ENIGMA)
* On RedHat-based Linux distributions, enter the following command into the terminal: '''yum install kdialog'''


* get_save_filename_ext(filter, fname, dir, title) (GameMaker Studio, ENIGMA)
* On Arch-based Linux distributions, please see [https://enigma-dev.org/docs/Wiki/Install:Arch_Setup setting up ENIGMA for Arch Linux development.]


* [https://enigma-dev.org/docs/Wiki/Get_directory get_directory(dname)] (GameMaker, ENIGMA)
Both you and the end user will need to install using one of the above methods.


* [https://enigma-dev.org/docs/Wiki/Get_directory_alt get_directory_alt(capt, root)] (GameMaker, ENIGMA)
'''Screenshots''': [https://i.imgur.com/Eugjc0n.gif KDialog.gif]


* [https://enigma-dev.org/docs/Wiki/Get_color get_color(defcol)] (GameMaker, ENIGMA)
'''Author(s)''': Samuel Venable

Revision as of 03:26, 14 September 2019

Overview

On this page is outlined the different "Widget Systems" that are available in ENIGMA, what platforms they support, and other important information you should also know before using them. Some of these widget systems require installation, which is also explained here. You may read the most up-to-date function documentation available here, (and related announcements).


Windows Widgets

Platform: Windows Desktop (Vista, 7, 8, 8.1, 10)

Dependencies: Provided with the OS

License: GPL3

UTF-8 Support: Yes

Language: C++

API's: Win32

Install Instructions: N/A

Screenshots: Win32.gif

Author(s): Josh Ventura,

Samuel Venable


Cocoa Widgets

Platform: Mac OS X / macOS (High Sierra, Mojave)

Dependencies: Provided with the OS

License: GPL3

UTF-8 Support: Yes

Language: C++, Objective-C++

API's: Cocoa

Install Instructions: N/A

Screenshots: Cocoa.gif

Author(s): Samuel Venable


Zenity Widgets

Platform: Linux, Raspbian, BSD (Potentially)

Dependencies: Zenity, GNOME, GTK

License: LGPL2

UTF-8 Support: Yes

Language: C++, Shell

API's: X11, GTK, GNOME

Install Instructions: You have three options based on your Linux distribution:

  • On Debian-based Linux distributions, enter the following command into the terminal: sudo apt-get install zenity
  • On RedHat-based Linux distributions, enter the following command into the terminal: yum install zenity

Both you and the end user will need to install using one of the above methods.

Screenshots: Zenity.gif

Author(s): Samuel Venable


KDialog Widgets

Platform: Linux, Raspbian, BSD (Potentially)

Dependencies: KDialog, KDE, Qt

License: GPL2

UTF-8 Support: Yes

Language: C++, Shell

API's: X11, Qt, KDE

Install Instructions: You have three options based on your Linux distribution:

  • On Debian-based Linux distributions, enter the following command into the terminal: sudo apt-get install kdialog
  • On RedHat-based Linux distributions, enter the following command into the terminal: yum install kdialog

Both you and the end user will need to install using one of the above methods.

Screenshots: KDialog.gif

Author(s): Samuel Venable