-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e25674b
commit 1e2c598
Showing
2 changed files
with
38 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,17 @@ | ||
#ifndef SCROLLER_H | ||
#define SCROLLER_H | ||
#ifndef SNAPPYWINDOW_H | ||
#define SNAPPYWINDOW_H | ||
|
||
#include <ftxui/component/component.hpp> | ||
|
||
#include "ftxui/component/component_base.hpp" // for Component | ||
|
||
namespace ftxui { | ||
/** | ||
* @brief This Scroller Element is a modified version of the Scroller in the following repository: | ||
* Title: git-tui | ||
* Author: Arthur Sonzogni | ||
* Date: 2021 | ||
* Availability: https://github.com/ArthurSonzogni/git-tui/blob/master/src/scroller.cpp | ||
* @brief | ||
* | ||
* @param selectedCommit | ||
* @param child | ||
* @return Component | ||
*/ | ||
Component SnappyWindow(); | ||
|
||
} // namespace ftxui | ||
#endif /* end of include guard: SCROLLER_H */ | ||
#endif /* end of include guard: SNAPPYWINDOW_H */ |