strbuffer: reorder headers

master
Andrzej Rybczak 14 years ago
parent b1ff896cb6
commit 0cfe5d8f01
  1. 8
      src/strbuffer.h
  2. 4
      src/window.h

@ -21,12 +21,11 @@
#ifndef _STRBUFFER_H #ifndef _STRBUFFER_H
#define _STRBUFFER_H #define _STRBUFFER_H
#include "window.h"
#include "utility/numeric_conversions.h"
#include <list> #include <list>
#include "utility/numeric_conversions.h"
#include "window.h"
namespace NC { namespace NC {//
/// Buffer template class that can store text along with its /// Buffer template class that can store text along with its
/// format attributes. The content can be easily printed to /// format attributes. The content can be easily printed to
@ -63,6 +62,7 @@ template <typename C> class basic_buffer
/// ///
std::list<FormatPos> itsFormat; std::list<FormatPos> itsFormat;
public: public:
/// Constructs an empty buffer /// Constructs an empty buffer
/// ///

@ -119,8 +119,8 @@
/// NC namespace provides set of easy-to-use /// NC namespace provides set of easy-to-use
/// wrappers over original curses library /// wrappers over original curses library
/// ///
namespace NC namespace NC {//
{
/// Colors used by NCurses /// Colors used by NCurses
/// ///
enum Color { clDefault, clBlack, clRed, clGreen, clYellow, clBlue, clMagenta, clCyan, clWhite, clEnd }; enum Color { clDefault, clBlack, clRed, clGreen, clYellow, clBlue, clMagenta, clCyan, clWhite, clEnd };

Loading…
Cancel
Save