Back to index

nux  3.0.0
Namespaces | Functions | Variables
TextEntry.cpp File Reference
#include "Nux.h"
#include "Layout.h"
#include "HLayout.h"
#include "VLayout.h"
#include "Validator.h"
#include "cairo/cairo.h"
#include "pango/pango.h"
#include "pango/pangocairo.h"
#include "NuxGraphics/CairoGraphics.h"
#include "TextEntry.h"
#include "TextEntryComposeSeqs.h"

Go to the source code of this file.


namespace  nux
 The Writer singleton is responsible for controlling where the logging message go.


static const Color nux::kStrongCursorColor (0.9f, 0.9f, 0.9f, 1.0f)
static const Color nux::kWeakCursorColor (1.0f, 1.0f, 1.0f, 0.5f)
static const Color nux::kDefaultTextColor (0, 0, 0, 1.0f)
static const Color nux::kDefaultBackgroundColor (1, 1, 1, 1.0f)
static const Color nux::kDefaultSelectionBackgroundColor (0.5, 0.5, 0.5, 1.0f)
static const Color nux::kDefaultSelectionTextColor (1, 1, 1, 1.0f)
static unsigned long long nux::GetCurrentTime ()
static std::string nux::CleanupLineBreaks (const char *source)


static const int nux::kInnerBorderX = 2
static const int nux::kInnerBorderY = 0
static const int nux::kCursorBlinkTimeout = 400
static const double nux::kStrongCursorLineWidth = 1
static const double nux::kStrongCursorBarWidth = 1
static const double nux::kWeakCursorLineWidth = 3
static const double nux::kWeakCursorBarWidth = 3
static const unsigned long long nux::kTripleClickTimeout = 500
static const std::string nux::kDefaultFontName = "Ubuntu"