scrollpad: adjust indentation in header file
This commit is contained in:
@@ -24,13 +24,12 @@
|
|||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "strbuffer.h"
|
#include "strbuffer.h"
|
||||||
|
|
||||||
namespace NC
|
namespace NC {//
|
||||||
{
|
|
||||||
/// Scrollpad is specialized window that can hold large portion of text and
|
/// Scrollpad is specialized window that can hold large portion of text and
|
||||||
/// supports scrolling if the amount of it is bigger than the window area.
|
/// supports scrolling if the amount of it is bigger than the window area.
|
||||||
class Scrollpad: public Window
|
struct Scrollpad: public Window
|
||||||
{
|
{
|
||||||
public:
|
|
||||||
/// Constructs an empty scrollpad with given parameters
|
/// Constructs an empty scrollpad with given parameters
|
||||||
/// @param startx X position of left upper corner of constructed window
|
/// @param startx X position of left upper corner of constructed window
|
||||||
/// @param starty Y position of left upper corner of constructed window
|
/// @param starty Y position of left upper corner of constructed window
|
||||||
@@ -131,6 +130,7 @@ namespace NC
|
|||||||
|
|
||||||
size_t m_real_height;
|
size_t m_real_height;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ namespace NC {//
|
|||||||
/// window or taken as raw string at any time.
|
/// window or taken as raw string at any time.
|
||||||
template <typename C> class basic_buffer
|
template <typename C> class basic_buffer
|
||||||
{
|
{
|
||||||
friend class Scrollpad;
|
friend struct Scrollpad;
|
||||||
|
|
||||||
/// Struct used for storing information about
|
/// Struct used for storing information about
|
||||||
/// one color/format flag along with its position
|
/// one color/format flag along with its position
|
||||||
|
|||||||
Reference in New Issue
Block a user