'honour' -> 'honor' in the source code.
This commit is contained in:
parent
691ab23110
commit
ee23d7a632
9 changed files with 11 additions and 11 deletions
|
@ -444,7 +444,7 @@ config &config::child(const std::string& key, int n)
|
|||
} else {
|
||||
DBG_CF << "The config object has only »" << i->second.size()
|
||||
<< "« children named »" << key
|
||||
<< "«; request for the index »" << n << "« cannot be honoured.\n";
|
||||
<< "«; request for the index »" << n << "« cannot be honored.\n";
|
||||
|
||||
return invalid;
|
||||
}
|
||||
|
|
|
@ -214,7 +214,7 @@ void tgrid::reduce_width(const unsigned maximum_width)
|
|||
|
||||
size = get_best_size();
|
||||
if(size.x <= static_cast<int>(maximum_width)) {
|
||||
DBG_GUI_L << LOG_HEADER << " Resize request honoured.\n";
|
||||
DBG_GUI_L << LOG_HEADER << " Resize request honored.\n";
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -292,7 +292,7 @@ void tgrid::reduce_height(const unsigned maximum_height)
|
|||
|
||||
size = get_best_size();
|
||||
if(size.y <= static_cast<int>(maximum_height)) {
|
||||
DBG_GUI_L << LOG_HEADER << " Resize request honoured.\n";
|
||||
DBG_GUI_L << LOG_HEADER << " Resize request honored.\n";
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -184,7 +184,7 @@ public:
|
|||
* Request to update the size of the content after changing the content.
|
||||
*
|
||||
* When a resize is required the container first can try to handle it
|
||||
* itself. If it can't honour the request the function will call @ref
|
||||
* itself. If it can't honor the request the function will call @ref
|
||||
* twindow::invalidate_layout().
|
||||
*
|
||||
* @note Calling this function on a widget with size == (0, 0) results
|
||||
|
|
|
@ -183,7 +183,7 @@ public:
|
|||
* Request to update the size of the content after changing the content.
|
||||
*
|
||||
* When a resize is required the container first can try to handle it
|
||||
* itself. If it can't honour the request the function will call @ref
|
||||
* itself. If it can't honor the request the function will call @ref
|
||||
* twindow::invalidate_layout().
|
||||
*
|
||||
* @note Calling this function on a widget with size == (0, 0) results
|
||||
|
|
|
@ -110,7 +110,7 @@ public:
|
|||
|
||||
/**
|
||||
* Note the position isn't guaranteed to be the wanted position
|
||||
* the step size is honoured. The value will be rouded down.
|
||||
* the step size is honored. The value will be rouded down.
|
||||
*/
|
||||
void set_item_position(const unsigned item_position);
|
||||
unsigned get_item_position() const { return item_position_; }
|
||||
|
|
|
@ -176,7 +176,7 @@ void tscrollbar_container::request_reduce_height(
|
|||
tpoint size = get_best_size();
|
||||
if(static_cast<unsigned>(size.y) <= maximum_height) {
|
||||
DBG_GUI_L << LOG_HEADER
|
||||
<< " child honoured request, height " << size.y
|
||||
<< " child honored request, height " << size.y
|
||||
<< ".\n";
|
||||
return;
|
||||
}
|
||||
|
@ -246,7 +246,7 @@ void tscrollbar_container::request_reduce_width(
|
|||
tpoint size = get_best_size();
|
||||
if(static_cast<unsigned>(size.x) <= maximum_width) {
|
||||
DBG_GUI_L << LOG_HEADER
|
||||
<< " child honoured request, width " << size.x
|
||||
<< " child honored request, width " << size.x
|
||||
<< ".\n";
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -224,7 +224,7 @@ protected:
|
|||
* Notification if the content of a child needs a resize.
|
||||
*
|
||||
* When a resize is required the container first can try to handle it
|
||||
* itself. If it can't honour the request the function will call @ref
|
||||
* itself. If it can't honor the request the function will call @ref
|
||||
* twindow::invalidate_layout().
|
||||
*
|
||||
* @note Calling this function on a widget with size == (0, 0) results
|
||||
|
|
|
@ -1428,7 +1428,7 @@ void twindow::signal_handler_request_placement(
|
|||
* sized directly, but this is controlled by a window. A widget has an
|
||||
* internal size cache and if the value in the cache is not equal to 0,0
|
||||
* that value is its best size. This value gets set when the widget can
|
||||
* honour a resize request. It will be set with the value which honors
|
||||
* honor a resize request. It will be set with the value which honors
|
||||
* the request.
|
||||
*
|
||||
* - @ref gui2::tgrid "Grid"; A grid is an invisible container which holds
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* @file
|
||||
* New lexcical_cast header.
|
||||
*
|
||||
* For debugging you can include this header _in_ a namespace (to honour ODR)
|
||||
* For debugging you can include this header _in_ a namespace (to honor ODR)
|
||||
* and have a set of functions that throws exceptions instead of doing the
|
||||
* real job. This is done for the unit tests but should normally not be done.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue