Hot Door CORE  0.7.0
Adobe® Illustrator® Plug-in Library
Enumerations | Functions
hdicoreAlerts.h File Reference

Header file for Illustrator alerts, confirmation dialogs, etc. More...

Enumerations

enum  Response { CancelButtonChosen = 1, NoButtonChosen = 2, YesButtonChosen = 3 }
 Describes the choice the user made when dismissing an alert. More...
 

Functions

bool hdi::core::alerts::setState (const bool enabled_)
 Allows alerts to be (temporarily) disabled. More...
 
void hdi::core::alerts::message (const std::string &message_)
 Shows a simple platform message dialog, with just an "OK" button and a message/warning icon. More...
 
void hdi::core::alerts::error (const std::string &error_)
 Shows a simple platform error dialog, with just an "OK" button and an error icon. More...
 
Response hdi::core::alerts::confirm (const std::string &question_)
 Shows a confirmation dialog with default affirmative and negative buttons ("Yes" and "No") More...
 
Response hdi::core::alerts::confirm (const std::string &question_, const std::string &yesBtnStr_, const std::string &noBtnStr_)
 Shows a confirmation dialog with affirmative and negative buttons with custom titles. More...
 
Response hdi::core::alerts::confirm (const std::string &question_, const Callback &yesCb_, const Callback &noCb_)
 Shows a confirmation dialog with default affirmative and negative buttons ("Yes" and "No") More...
 
Response hdi::core::alerts::confirm (const std::string &question_, const std::string &yesBtnStr_, const Callback &yesCb_, const std::string &noBtnStr_, const Callback &noCb_)
 Shows a confirmation dialog with affirmative and negative buttons with custom titles. More...
 
Response hdi::core::alerts::question (const std::string &question_)
 Shows a question dialog with default affirmative, negative, and dismissal buttons ("Yes", "No", and "Cancel") More...
 
Response hdi::core::alerts::question (const std::string &question_, const std::string &yesBtnStr_, const std::string &noBtnStr_, const std::string &cancelBtnStr_)
 Shows a question dialog with affirmative, negative, and dismissal buttons with custom titles. More...
 
Response hdi::core::alerts::question (const std::string &question_, const Callback &yesCb_, const Callback &noCb_, const Callback &cancelCb_)
 Shows a question dialog with default affirmative, negative, and dismissal buttons ("Yes", "No", and "Cancel") More...
 
Response hdi::core::alerts::question (const std::string &question_, const std::string &yesBtnStr_, const Callback &yesCb_, const std::string &noBtnStr_, const Callback &noCb_, const std::string &cancelBtnStr_, const Callback &cancelCb_)
 Shows a question dialog with affirmative, negative, and dismissal buttons with custom titles. More...
 
void hdi::core::alerts::beep ()
 Causes a platform beep to occur. More...
 

Detailed Description

Header file for Illustrator alerts, confirmation dialogs, etc.