Alexandre Bury
8acc08f340
Rustfmt
2018-06-10 23:29:19 -07:00
Alexandre Bury
fd09b5f806
Use Vec2 in backend methods
2018-04-02 18:08:12 -07:00
Alexandre Bury
126530b9a9
Cursive::new now takes the backend as argument
2018-04-01 16:39:03 -07:00
SEGFAULT
76d340f11d
Making backend::Backend
into a std::Box
able trait ( #229 )
...
* Making Backend into a Boxable Trait
* Fixed up some typos in the previous and modified some of the docs so they still compile.
* Minor Changes requested by @gyscos
* Whoops
2018-04-01 15:35:37 -07:00
Alexandre Bury
da8310b076
Rustfmt
2018-01-22 14:37:27 -08:00
Alexandre Bury
3674c118cb
Rustfmt
2018-01-22 11:55:56 -08:00
Alexandre Bury
f8588e74c1
Rustfmt
2018-01-09 15:17:49 +01:00
Alexandre Bury
2d7f8295cf
Add Effect::{Bold,Italic,Underline}
2018-01-05 13:57:39 +01:00
Alexandre Bury
e4cd68a4eb
Rustfmt
2017-12-30 23:03:42 +01:00
Alexandre Bury
93982517ae
Fix clippy warnings
2017-10-13 11:24:17 -07:00
Alexandre Bury
5f3e4b1842
Produce mouse events from BLT backend
2017-10-13 00:20:27 -07:00
Alexandre Bury
a4ca7bbf1e
Rustfmt
2017-10-12 16:43:59 -07:00
Alexandre Bury
7df4b06ef8
Backend::poll_event now takes &mut self
...
To manage an internal buffer, in case backend events and cursive events
don't match 1-for-1.
Planned uses: mouse support (translate click into Press+Release).
2017-10-08 16:02:43 -07:00
hcpl
ca4410030a
Use log
crate
...
This provides a uniform way to handle logging and can be combined with
logs from other libraries in end-user apps.
2017-08-23 17:49:09 +03:00
Alexandre Bury
a48ff9082f
Replace println_stderr! with eprintln!
2017-08-14 17:01:49 -07:00
Alexandre Bury
2ffae1f524
Rename {Color,ColorStyle}::Default to TerminalDefault
2017-07-18 01:36:34 +02:00
hcpl
28d0db1bb6
Make use of colors preset by terminals
2017-07-16 16:05:04 +03:00
Alexandre Bury
9089d9fd88
Cleaner colors example
2017-06-14 00:43:03 -07:00
Alexandre Bury
7a7ccbf45c
Add colors example
2017-06-14 00:08:58 -07:00
Alexandre Bury
dea07d29cf
Give the background color to the clear method.
2017-06-12 23:29:26 -07:00
Alexandre Bury
5c42a59954
Refactor colors management
...
Do not register pairs with backend. Let backend cache color pairs if
needed.
2017-06-12 11:59:33 -07:00
Alexandre Bury
b63762d441
View::find_any now takes a closure instead of returning reference
...
Also updated Finder::find and find_id.
2017-02-07 15:49:06 -08:00
nabijaczleweli
e33474dd74
Fix back-end warnings
2016-10-12 20:06:04 +02:00
Alexandre Bury
2dc75c2ec0
Make window resizeable in BLT backend
2016-10-12 09:35:03 -07:00
Alexandre Bury
65d86f3638
Add Event::Exit
...
Currently only sent by the bear lib terminal.
2016-10-11 17:48:37 -07:00
nabijaczleweli
c4baa0f570
Add BearLibTerminal backend
2016-10-12 01:48:22 +02:00