CHintBox: small cosmetics for initial positions

This should have no effect, because calculation of position and dimensions
is mostly dependency from message text. So this is only formality.
This commit is contained in:
2016-12-22 10:01:53 +01:00
parent fad2adffa2
commit b714998065

View File

@@ -65,7 +65,7 @@ CHintBox::CHintBox( const neutrino_locale_t Caption,
const char * const Picon, const char * const Picon,
const int& header_buttons, const int& header_buttons,
const int& text_mode, const int& text_mode,
const int& indent): CComponentsWindow( 1, 1, width, const int& indent): CComponentsWindow( 0, 0, width,
HINTBOX_MIN_HEIGHT, HINTBOX_MIN_HEIGHT,
Caption, Caption,
string(Icon == NULL ? "" : Icon), string(Icon == NULL ? "" : Icon),
@@ -82,7 +82,7 @@ CHintBox::CHintBox( const char * const Caption,
const char * const Picon, const char * const Picon,
const int& header_buttons, const int& header_buttons,
const int& text_mode, const int& text_mode,
const int& indent):CComponentsWindow( 1, 1, width, const int& indent):CComponentsWindow( 0, 0, width,
HINTBOX_MIN_HEIGHT, HINTBOX_MIN_HEIGHT,
Caption, Caption,
string(Icon == NULL ? "" : Icon), string(Icon == NULL ? "" : Icon),
@@ -99,7 +99,7 @@ CHintBox::CHintBox( const neutrino_locale_t Caption,
const char * const Picon, const char * const Picon,
const int& header_buttons, const int& header_buttons,
const int& text_mode, const int& text_mode,
const int& indent):CComponentsWindow( 1, 1, width, const int& indent):CComponentsWindow( 0, 0, width,
HINTBOX_MIN_HEIGHT, HINTBOX_MIN_HEIGHT,
Caption, Caption,
string(Icon == NULL ? "" : Icon), string(Icon == NULL ? "" : Icon),
@@ -116,7 +116,7 @@ CHintBox::CHintBox( const char * const Caption,
const char * const Picon, const char * const Picon,
const int& header_buttons, const int& header_buttons,
const int& text_mode, const int& text_mode,
const int& indent):CComponentsWindow( 1, 1, width, const int& indent):CComponentsWindow( 0, 0, width,
HINTBOX_MIN_HEIGHT, HINTBOX_MIN_HEIGHT,
Caption, Caption,
string(Icon == NULL ? "" : Icon), string(Icon == NULL ? "" : Icon),