mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-20 10:38:09 +08:00
Automatically fix style.
This commit is contained in:

committed by
Arthur Sonzogni

parent
d09996a6c7
commit
5291f660ca
@@ -13,7 +13,7 @@ Component::~Component() {
|
||||
/// @brief Return the parent Component, or nul if any.
|
||||
/// @see Attach
|
||||
/// @see Detach
|
||||
/// @see Parent
|
||||
/// @see Parent
|
||||
/// @ingroup component
|
||||
Component* Component::Parent() {
|
||||
return parent_;
|
||||
@@ -100,7 +100,7 @@ void Component::TakeFocus() {
|
||||
/// @brief Detach this children from its parent.
|
||||
/// @see Attach
|
||||
/// @see Detach
|
||||
/// @see Parent
|
||||
/// @see Parent
|
||||
/// @ingroup component
|
||||
void Component::Detach() {
|
||||
if (!parent_)
|
||||
@@ -113,7 +113,7 @@ void Component::Detach() {
|
||||
/// @brief Attach this element to its parent.
|
||||
/// @see Attach
|
||||
/// @see Detach
|
||||
/// @see Parent
|
||||
/// @see Parent
|
||||
/// @ingroup component
|
||||
void Component::Attach(Component* parent) {
|
||||
Detach();
|
||||
@@ -121,7 +121,6 @@ void Component::Attach(Component* parent) {
|
||||
parent_->children_.push_back(this);
|
||||
}
|
||||
|
||||
|
||||
} // namespace ftxui
|
||||
|
||||
// Copyright 2020 Arthur Sonzogni. All rights reserved.
|
||||
|
Reference in New Issue
Block a user