32 Commits

Author SHA1 Message Date
65dea7f84f draw cursor skinner in insert mode 2016-10-29 15:11:42 -04:00
827f4efdd9 handle keys based on code point with modifier flags 2016-10-29 01:51:16 -04:00
fa752fefde begin reworking keyboard handling 2016-10-29 01:40:27 -04:00
7ba7abc029 keep track of current keymod 2016-10-29 00:43:25 -04:00
0a1bb6eb92 remove unused Window::m_start_piece 2016-09-26 20:24:16 -04:00
c2c0d6f042 add a piece table insertion test 2016-09-25 23:01:59 -04:00
7e518cd27a rename draw_text() to draw_buffer() 2016-09-13 22:55:48 -04:00
b9d7e1f93e Show cursor position in status bar 2016-09-13 22:51:51 -04:00
f9fd1dc754 Add a status bar (empty for now) 2016-09-13 22:26:56 -04:00
c852e9991b add a rectangle shader 2016-09-13 22:19:47 -04:00
6d8c8e76a9 add colrow_to_xy() and refactor to use it 2016-09-13 21:46:31 -04:00
980ec3a295 draw cursor crosshairs 2016-09-13 21:25:10 -04:00
cde71ac70a keep a target cursor column to move to when moving cursor up or down 2016-09-12 21:38:13 -04:00
f876b68bd0 Add cursor movements to move to SOL and EOL. 2016-09-07 22:31:24 -04:00
7df23e971e Unlock cursor from first screen row 2016-09-06 22:58:33 -04:00
7784024af1 remove Window::scroll_{up,down}() 2016-09-06 21:42:38 -04:00
86246385d4 Draw text based on new cursor movement system
The cursor row still locked to the first row for now
2016-09-06 21:05:24 -04:00
01bf455e68 Use an OpenGL array object to draw the cursor 2016-08-27 21:38:48 -04:00
11cac3c8b5 add a PieceTable::Cursor to Window 2016-08-01 22:02:42 -04:00
5a942a61a9 add FlatShader; draw a cursor 2016-07-31 23:08:26 -04:00
7064afc1f1 rename PieceDescriptor to just Piece 2016-07-30 09:52:46 -04:00
cef49e9e6e rename OpenGL "programs" to "shaders" 2016-07-29 21:27:32 -04:00
d043137099 Window: calculate m_rows 2016-07-29 21:12:54 -04:00
862b414c1d Window: rename m_chars_per_line -> m_columns 2016-07-29 21:06:28 -04:00
b64b9bed23 begin restructuring keyboard event handling more permanently 2016-07-24 22:45:28 -04:00
31422709e8 Wrap lines 2016-07-24 20:35:01 -04:00
20a2786755 Render from the piece table! 2016-07-19 22:34:11 -04:00
5bcd55ba97 add custom key repeat handler to allow for user-configurable, mode-dependent key repeats 2016-07-10 21:23:49 -04:00
b1684f1341 scroll through file with J/K keys 2016-07-10 20:13:40 -04:00
d8fcbcd428 render a file's contents 2016-07-10 17:24:00 -04:00
6cf59fa7d7 draw some test text in Window for now 2016-07-10 16:26:37 -04:00
ecc2d3ce35 add initial Window class 2016-07-01 19:21:02 -04:00