scrollpad: adjust indentation in header file

This commit is contained in:
Andrzej Rybczak
2012-09-03 15:32:20 +02:00
parent af2cdca3d0
commit 1a4151b189
2 changed files with 106 additions and 106 deletions

View File

@@ -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

View File

@@ -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