2
0
mirror of https://github.com/rivo/tview.git synced 2024-11-17 03:26:09 +00:00
Commit Graph

731 Commits

Author SHA1 Message Date
Oliver
83d0a16fb2 Added background colors and text attributes to color tags. Resolves #91 2018-04-01 21:19:10 +02:00
Oliver
74643a2db5 Pages should clear their background before redrawing. Fixes #89 2018-03-29 18:28:32 +02:00
Oliver
87ba87feda Bufix in Pages: Avoid calling a nil function. Fixes #85 2018-03-25 17:52:41 +02:00
Oliver
6e3b8a41c8 A Box's inner rect will now clamp to screen space. Resolves #79 2018-03-23 21:09:02 +01:00
Oliver
761e3d72da Added Primitive demo to go along with the GitHub Wiki entry on how to create your own primitive. 2018-03-19 21:25:30 +01:00
Oliver
b357eaf10f Drop-down allows typing to directly jump to options. Resolves #77 2018-03-18 20:42:51 +01:00
Oliver
258c9d1f8e Forms will attempt to keep focused form items within available area. Fixes #79 2018-03-15 17:54:17 +01:00
Oliver
370ee01609 Added placeholder text to InputField. Resolves #75 2018-03-15 17:14:14 +01:00
Oliver
0b69b9b581 Updated release history. 2018-03-13 08:17:06 +01:00
Oliver
11727c933b Added suspended mode to Application. (Swallows one key event, tcell issue pending.) Resolves #70 2018-03-13 08:16:09 +01:00
Oliver
7e4958256f List (and therefore also DropDown) will scroll if currently selected item is not on screen anymore. Fixes #71 2018-03-11 09:51:15 +01:00
Oliver
45acc0d895 Added getters for some callback functions. Resolves #65 2018-03-10 23:30:49 +01:00
Oliver
c96894c0cf Bugfix which caused a crash in Table class. Fixes #67 2018-03-10 12:59:42 +01:00
Oliver
c2f07f9548 Some housekeeping. 2018-03-05 16:37:10 +01:00
Oliver
ccd80aa4fc Minor code reduction. 2018-03-05 14:18:04 +01:00
Oliver
8cb36ea743 Added expansion factor to table cells which grows columns if there is more space than needed. Resolves #62 2018-03-05 14:07:18 +01:00
Oliver
a3971dc430 Rewrote WordWrap() function due to bugs. 2018-03-04 15:01:12 +01:00
Oliver
3bac79f308 Added RemoveItem() to Grid and Flex. Resolves #63 2018-03-02 17:07:46 +01:00
Oliver
a5c65a977d Added an initial guide for contributions. 2018-03-01 18:29:33 +01:00
rivo
cbeeab5280
Merge pull request #61 from robinator8/master
The screenshots were added for the GitHub Wiki originally. (All the demos are in the Wiki, too.) But I guess it makes to have them show up as well when browsing the code.
2018-02-28 20:37:00 +01:00
Robert Craig
7c2d6fc65f Added README files for demos to make screenshots easier to view on github 2018-02-28 10:24:01 -05:00
Oliver
8c2cd21162 Added a Draw callback to Box which exposes tcell.Screen. Resolves #57 2018-02-22 12:33:11 +01:00
Oliver
aea500559b Formatting fix. 2018-02-20 17:34:19 +01:00
Oliver
1b155a1def Application now provides direct access to the screen object via before/after-draw callback functions. Resolves #59 2018-02-20 17:15:42 +01:00
Oliver
2d4d9c0a7d Minor argument name change for clarity. 2018-02-20 16:47:11 +01:00
Oliver
aafd9b6c4b Made Grid.SetSize() a bit more powerful. 2018-02-20 11:56:44 +01:00
Oliver
5248687f16 Merge branch 'grid' 2018-02-20 11:38:40 +01:00
Oliver
fd3e872331 Introducing Grid. Resolves #23 2018-02-20 11:37:51 +01:00
Oliver
fc2a37cc86 Added a Grid example to the presentation. 2018-02-20 11:35:32 +01:00
Oliver
02207b90b2 Added a Grid example to the presentation. 2018-02-20 11:30:57 +01:00
Oliver
91a6ff44b6 Finished implementation of grid layout. 2018-02-20 11:19:30 +01:00
Oliver
c7b3072f7e Progressing with Grid. 2018-02-19 20:23:01 +01:00
Oliver
3625d3b928 Added API for new Grid class. 2018-02-16 08:37:25 +01:00
Oliver
f6602e7eb1 Updated Flex documentation. 2018-02-15 18:35:27 +01:00
Oliver
37a7254a64 Some comment cleanup. 2018-02-13 14:17:51 +01:00
rivo
2a7e773060
Merge pull request #56 from sachaos/master
Add GetOffset method on Table
2018-02-13 14:15:23 +01:00
Takumasa Sakao
453c374c1c Add GetOffset method on Table 2018-02-12 03:35:26 +09:00
Oliver
acf9158c77 Flex layout can have nil elements. 2018-02-06 12:30:52 +01:00
Oliver
d448b35bc5 Changed the wording in the README. There are no releases. Resolves #50 2018-02-05 14:17:38 +01:00
Oliver
2a83b20ce3 Improved documentation. 2018-01-24 21:48:53 +01:00
Oliver
03571f15bb When a page with focus is removed, we should not end up with no focus anywhere. Also some simplifications. 2018-01-21 21:50:11 +01:00
Oliver
ef6026df3d Fixed table background colors. More sophisticated but more aesthetically pleasing. Fixes #20 2018-01-20 23:04:09 +01:00
Oliver
f3686bfe15 Fixed Table.SetCellSimple(). Resolves #35 2018-01-20 15:59:52 +01:00
Oliver
89ae756605 Adding a page and switching to it is now possible. 2018-01-19 21:12:33 +01:00
Oliver
7c086b1113 Updated Form documentation. 2018-01-19 08:37:01 +01:00
Oliver
4db30f9ed4 "FieldLength" is now "FieldWidth" everywhere for clarity and consistency. Sorry for this breaking change. It is better in the long run. 2018-01-17 21:17:59 +01:00
Oliver
258f212e5e Added color tag functionality to all strings. Resolves #25 2018-01-17 17:13:36 +01:00
Oliver
13cf1c1ee4 Added a way to output tags as cleartext in TextView even if dynamic colors or regions are enabled. 2018-01-17 10:09:09 +01:00
Oliver
95e3124245 Fixed Table cell background colors for column-only selections. 2018-01-17 09:34:45 +01:00
Oliver
e349b48fe4 Updated readme. 2018-01-17 07:44:49 +01:00