|
|
|
@ -2,7 +2,7 @@ |
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application. |
|
|
|
* |
|
|
|
* Copyright (C) 2011-2014 Jean-Pierre Charras, jp.charras at wanadoo.fr |
|
|
|
* Copyright (C) 1992-2019 KiCad Developers, see CHANGELOG.TXT for contributors. |
|
|
|
* Copyright (C) 1992-2020 KiCad Developers, see CHANGELOG.TXT for contributors. |
|
|
|
* |
|
|
|
* This program is free software; you can redistribute it and/or |
|
|
|
* modify it under the terms of the GNU General Public License |
|
|
|
@ -26,12 +26,6 @@ |
|
|
|
#define _html_messagebox_ |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* @file include/html_messagebox.h |
|
|
|
* |
|
|
|
* Subclass of DIALOG_DISPLAY_HTML_TEXT_BASE, which is generated by wxFormBuilder. |
|
|
|
*/ |
|
|
|
|
|
|
|
#include <../common/dialogs/dialog_display_info_HTML_base.h> |
|
|
|
|
|
|
|
|
|
|
|
@ -51,7 +45,7 @@ public: |
|
|
|
~HTML_MESSAGE_BOX() override; |
|
|
|
|
|
|
|
/** |
|
|
|
* set the dialog size, using a "logical value. |
|
|
|
* set the dialog size, using a "logical" value. |
|
|
|
* the physical size in pixel will depend on the display definition |
|
|
|
* so a value used here shoul be OK with any display (HDPI for instance) |
|
|
|
* @param aWidth is a "logical" value of the dialog width. |
|
|
|
@ -81,17 +75,19 @@ public: |
|
|
|
|
|
|
|
/** |
|
|
|
* Add a message (in bold) to message list. |
|
|
|
* |
|
|
|
* @param message = the message |
|
|
|
*/ |
|
|
|
void MessageSet( const wxString& message ); |
|
|
|
|
|
|
|
/** |
|
|
|
* Add HTML text (without any change) to message list. |
|
|
|
* |
|
|
|
* @param message = the text to add |
|
|
|
*/ |
|
|
|
void AddHTML_Text( const wxString& message ); |
|
|
|
|
|
|
|
/** |
|
|
|
* Show a modeless version of the dialog (without an OK button). |
|
|
|
*/ |
|
|
|
void ShowModeless(); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
#endif // _html_messagebox_ |