Commit Graph

18 Commits

Author SHA1 Message Date
joseLuís
123c0d6307 [rust] fix check_pixel_support; #2162
- add new type `NcPixelImpl`.
- change `check_pixel_support` return type to `NcPixelImpl`.
- update `pixel-cell` example.
- remove remaining reference to removed `blink`.
- remove reference to removed `ncvisual_default_blitter`.
- rustfmt
2021-09-13 11:45:43 +02:00
joseLuís
dbc060503c [rust] fix example; update function-summary.sh 2021-07-27 16:54:12 +02:00
joseLuís
b372a492ad [rust] rename macros & update docs
- rename psleep to prs
- rename rsleep to nrs
- deprecate and hide docs for fsleep, psleep, prsleep, rsleep.
- update examples
2021-07-09 11:33:23 +02:00
joseLuís
90a2ff6fca [rust] fix pixel-cell example
- fix some docs and parameter names.
2021-06-20 13:48:26 +02:00
joseLuís
bcd09be7d3 [rust] deprecate Notcurses use and rename it to Nc.
In order to be consistent with the rest of the naming scheme, and in order to avoid conflicts with the higher level rust wrappers, which will be using `Notcurses` for the wrapper struct from now on.

- also deprecate `NotcursesOptions` and rename it to `NcOptions`.
- update examples, docs and readme.
2021-06-15 21:00:52 +02:00
joseLuís
2c8a364f3a [rust] fix pixel-cell example
- fix column and row order in visual resize methods
2021-06-13 22:39:11 +02:00
joseLuís
3d830f5e73 [rust] updates against 2.3.4
- remove ncvisual_inflate and add ncvisual_resize_noninterpolative & fix example.
- add notcurses_detected_terminal & ncdirect_detected_terminal.
- take into account new static functions pending to implement:
  ncdirect_light_box, ncdirect_heavy_box, nccells_light_box, nccells_heavy_box, nccells_ascii_box.
- update module info headers notation.
2021-06-13 13:07:00 +02:00
joseLuís
852cde9a75 [rust] add NCVISUAL_OPTION_NOINTERPOLATE
- update the `pixel-cell` example.
- change the type of ncvisual flags parameter to u32.
- minor doc fixes.
2021-06-08 21:18:58 +02:00
nick black
7b7308e866
[rust] pixel-cell example: make 'em match #1728 2021-06-06 15:14:58 -04:00
joseLuís
129e208438 [rust] refactor Notcurses & NcDirect wrapping approach
- remove `Nc` & `NcD` wrappers, to move them to notcurses-rs library.
- update the summary header format for Notcurses and NcDirect
- update docs and examples
2021-05-05 19:33:00 +02:00
joseLuís
c7f1c32f7f [rust] update pixel-cell example; #1546 2021-04-18 13:56:49 +02:00
joseLuís
08a3edb71f [rust] update pixel-cell example; #1546 2021-04-18 11:33:58 +02:00
joseLuís
eaee89c99f [rust] renamed FullMode & DirectMode to Nc & NcD
- improve pixel-cell example.
- rustfmt
2021-04-17 22:13:43 +02:00
nick black
76241f81d2 [rust] adapt pixel-cell.rs 2021-04-10 12:02:58 -04:00
joseLuís
36a7355cd8 rust: minor examples updates 2021-04-07 21:27:10 +02:00
joseLuís
aa9bf7a0e7 rust: add ncplane_abs_yx, ncplane_abs_y, ncplane_abs_x
- minor updates
2021-04-07 11:47:05 +02:00
joseLuís
63d8645f04 rust: improve pixel-cell example 2021-04-06 12:30:32 +02:00
joseLuís
89e38c11f3 rust: add ncvisual methods & pixel-cell example 2021-04-05 23:55:24 +02:00