|
fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation) ![]() |
#include <stdio.h>#include <stdlib.h>#include <FL/fl_utf8.h>#include "flstring.h"#include <limits.h>#include <ctype.h>#include <FL/Fl.H>#include <FL/Fl_Text_Buffer.H>#include <FL/Fl_Text_Display.H>#include <FL/Fl_Window.H>
Go to the source code of this file.
Defines | |
| #define | TOP_MARGIN 1 |
| #define | BOTTOM_MARGIN 1 |
| #define | LEFT_MARGIN 3 |
| #define | RIGHT_MARGIN 3 |
| #define | NO_HINT -1 |
| #define | FILL_MASK 0x0100 |
| #define | SECONDARY_MASK 0x0200 |
| #define | PRIMARY_MASK 0x0400 |
| #define | HIGHLIGHT_MASK 0x0800 |
| #define | BG_ONLY_MASK 0x1000 |
| #define | TEXT_ONLY_MASK 0x2000 |
| #define | STYLE_LOOKUP_MASK 0xff |
| #define | MAX_DISP_LINE_LEN 1000 |
| #define | TMPFONTWIDTH 6 |
Functions | |
| void | fl_text_drag_me (int pos, Fl_Text_Display *d) |
| #define BG_ONLY_MASK 0x1000 |
Definition at line 60 of file Fl_Text_Display.cxx.
Referenced by Fl_Text_Display::draw_string(), and Fl_Text_Display::handle_vline().
| #define BOTTOM_MARGIN 1 |
Definition at line 48 of file Fl_Text_Display.cxx.
Referenced by Fl_Text_Display::draw(), and Fl_Text_Display::resize().
| #define FILL_MASK 0x0100 |
Definition at line 56 of file Fl_Text_Display.cxx.
Referenced by Fl_Text_Display::draw_string(), and Fl_Text_Display::position_style().
| #define HIGHLIGHT_MASK 0x0800 |
Definition at line 59 of file Fl_Text_Display.cxx.
Referenced by Fl_Text_Display::clear_rect(), Fl_Text_Display::draw_string(), and Fl_Text_Display::position_style().
| #define LEFT_MARGIN 3 |
Definition at line 49 of file Fl_Text_Display.cxx.
Referenced by Fl_Text_Display::draw(), and Fl_Text_Display::resize().
| #define MAX_DISP_LINE_LEN 1000 |
Definition at line 67 of file Fl_Text_Display.cxx.
| #define NO_HINT -1 |
Definition at line 52 of file Fl_Text_Display.cxx.
Referenced by Fl_Text_Display::buffer_modified_cb(), Fl_Text_Display::Fl_Text_Display(), Fl_Text_Display::insert(), and Fl_Text_Display::overstrike().
| #define PRIMARY_MASK 0x0400 |
Definition at line 58 of file Fl_Text_Display.cxx.
Referenced by Fl_Text_Display::clear_rect(), Fl_Text_Display::draw_string(), and Fl_Text_Display::position_style().
| #define RIGHT_MARGIN 3 |
Definition at line 50 of file Fl_Text_Display.cxx.
Referenced by Fl_Text_Display::draw(), and Fl_Text_Display::resize().
| #define SECONDARY_MASK 0x0200 |
Definition at line 57 of file Fl_Text_Display.cxx.
Referenced by Fl_Text_Display::position_style().
| #define STYLE_LOOKUP_MASK 0xff |
Definition at line 62 of file Fl_Text_Display.cxx.
Referenced by Fl_Text_Display::draw_string(), and Fl_Text_Display::string_width().
| #define TEXT_ONLY_MASK 0x2000 |
Definition at line 61 of file Fl_Text_Display.cxx.
Referenced by Fl_Text_Display::draw_string().
| #define TMPFONTWIDTH 6 |
Definition at line 81 of file Fl_Text_Display.cxx.
Referenced by Fl_Text_Display::draw_cursor(), Fl_Text_Display::draw_line_numbers(), and Fl_Text_Display::xy_to_rowcol().
| #define TOP_MARGIN 1 |
Definition at line 47 of file Fl_Text_Display.cxx.
Referenced by Fl_Text_Display::draw(), and Fl_Text_Display::resize().
| void fl_text_drag_me | ( | int | pos, |
| Fl_Text_Display * | d | ||
| ) |
Definition at line 3472 of file Fl_Text_Display.cxx.
References Fl_Text_Display::buffer(), Fl_Text_Display::DRAG_CHAR, Fl_Text_Display::DRAG_LINE, Fl_Text_Display::DRAG_WORD, Fl_Text_Display::dragPos, Fl_Text_Display::dragType, Fl_Text_Display::insert_position(), Fl_Text_Display::word_end(), and Fl_Text_Display::word_start().