cursorwindow.cxx File Reference

This file defines the implementation of a CursorWindow on all platforms. More...

#include <cxxtls/foreach.h>
#include <cxxtls/cursorwindow.h>
#include <cxxtls/cursesinterface.h>
#include <cxxtls/strtool.h>
#include <cxxtls/file.h>
#include <cxxtls/viewer.h>
#include <portable_io.h>
#include <set>
Include dependency graph for cursorwindow.cxx:

Go to the source code of this file.

Classes

struct  compare_port_by_col_row
struct  compare_port_by_row_col
class  Impl
 This class holds the dialog implementation data. More...
struct  visible_page
 Find the dialog element with a given name. More...
class  Impl
 Instead of burdening the include/cursorwindow file with these messy implementation details, they are encapsulated in this nested type which is not implemented in the aforenamed header. More...
class  Impl
 Instead of burdening the include/cursorwindow file with these messy implementation details, they are encapsulated in this nested type which is not implemented in the aforenamed header. More...
class  Window
 This class holds the real CursorWindow datastructures. It is hidden from view because its inclusion is unnecessary and because curses might be included which adds all kinds of annoying macros into your compilation stream. More...
struct  SaveRestoreActiveWindow
 This class exists to provide a way of saving and restoring the currently active viewport. You declare a variable of this type, initializing it with the pointer to the cursor window. It then saves the currently active viewport. When the SaveRestoreActiveWindow object is destructed, it restores the active viewport. More...
struct  port
 This class holds the actual viewport specific data. More...

Namespaces

namespace  cxxtls
 

The namespace that encapsulates most of the functionality in the CXX toolkit.


Defines

#define port   viewport::port
#define repaint_handler   viewport::repaint_handler

Typedefs

typedef CursorWindow::row_col row_col
typedef std::string string
typedef CursorWindow::viewport viewport

Functions

template<class Iterator >
int count_distance (Iterator a, Iterator b)
void dumpimpl (CursorWindow::Dialog::Impl *impl_)
static void output_short_string (viewport *v, string const &s, size_t maxlen)

Variables

static bool key_map_initialized = false
const long WHalfCell = (WScale / 2) - 1
 window size scale factor. window sizes are kept in a scaled up form so that resizes don't continually round down the window coordinates and move things around mistakenly.
const long WScale = 10000

Detailed Description

This file defines the implementation of a CursorWindow on all platforms.

Definition in file cursorwindow.cxx.


Define Documentation

#define port   viewport::port

Definition at line 120 of file cursorwindow.cxx.

Definition at line 121 of file cursorwindow.cxx.

Generated on Wed Feb 29 22:51:23 2012 for CXXUtilities by  doxygen 1.6.3