|
JX Application Framework
|
#include <JXTipOfTheDayDialog.h>
Public Member Functions | |
| JXTipOfTheDayDialog (const bool showStartupCB=false, const bool showAtStartup=false) | |
| ~JXTipOfTheDayDialog () override | |
| bool | ShowAtStartup () const |
Public Member Functions inherited from JXModalDialogDirector | |
| JXModalDialogDirector (const bool allowResizing=false) | |
| ~JXModalDialogDirector () override | |
| JXButton * | GetOKButton () const |
| JXButton * | GetCancelButton () const |
| void | SetButtons (JXButton *okButton, JXButton *cancelButton) |
| bool | DoDialog () |
| void | EndDialog (const bool success) |
| void | Activate () override |
| bool | Deactivate () override |
| bool | Close () override |
Public Member Functions inherited from JXWindowDirector | |
| JXWindowDirector (JXDirector *supervisor) | |
| ~JXWindowDirector () override | |
| void | Activate () override |
| bool | Deactivate () override |
| void | Suspend () override |
| void | Resume () override |
| JXWindow * | GetWindow () const |
| JXDisplay * | GetDisplay () const |
| virtual const JString & | GetName () const |
| virtual bool | GetMenuIcon (const JXImage **icon) const |
| virtual bool | NeedsSave () const |
Public Member Functions inherited from JXDirector | |
| JXDirector (JXDirector *supervisor) | |
| ~JXDirector () override | |
| bool | IsClosing () const |
| bool | IsActive () const |
| bool | IsSuspended () const |
| bool | HasSubdirectors () const |
| bool | GetSubdirectors (const JPtrArray< JXDirector > **list) const |
Public Member Functions inherited from JBroadcaster | |
| JBroadcaster () | |
| virtual | ~JBroadcaster () |
| JBroadcaster & | operator= (const JBroadcaster &source) |
| bool | HasSenders () const |
| JSize | GetSenderCount () const |
| bool | HasRecipients () const |
| JSize | GetRecipientCount () const |
| virtual JString | ToString () const |
| template<class T > | |
| void | ListenTo (const JBroadcaster *sender, const std::function< void(const T &)> &f) |
Additional Inherited Members | |
Protected Member Functions inherited from JXModalDialogDirector | |
| bool | OKToDeactivate () override |
| bool | Cancelled () const |
| void | Receive (JBroadcaster *sender, const Message &message) override |
Protected Member Functions inherited from JXDirector | |
| JXDirector * | GetSupervisor () const |
| bool | CloseAllSubdirectors () |
| virtual void | DirectorClosed (JXDirector *theDirector) |
Protected Member Functions inherited from JBroadcaster | |
| JBroadcaster (const JBroadcaster &source) | |
| void | ListenTo (const JBroadcaster *sender) |
| void | StopListening (const JBroadcaster *sender) |
| void | ClearWhenGoingAway (const JBroadcaster *sender, void *pointerToMember) |
| void | StopListening (const JBroadcaster *sender, const std::type_info &messageType) |
| template<class T > | |
| void | Send (JBroadcaster *recipient, const T &message) |
| template<class T > | |
| void | Broadcast (const T &message) |
| void | SendWithFeedback (JBroadcaster *recipient, Message *message) |
| void | BroadcastWithFeedback (Message *message) |
| virtual void | ReceiveWithFeedback (JBroadcaster *sender, Message *message) |
| virtual void | ReceiveGoingAway (JBroadcaster *sender) |
Parses and displays the contents of the TIP_OF_THE_DAY string resource. The tips are HTML, and they are separated by <div>. If desired, a "Show tips at startup" checkbox can be displayed. This is off by default since it merely annoys most users. If the checkbox is displayed, the dialog will broadcast the result when it is closed.
| JXTipOfTheDayDialog::JXTipOfTheDayDialog | ( | const bool | showStartupCB = false, |
| const bool | showAtStartup = false |
||
| ) |
|
override |
| bool JXTipOfTheDayDialog::ShowAtStartup | ( | ) | const |