Commit Graph

218 Commits (9d516d8c8c96803fad594d224ebb94b90f80a7b1)

Author SHA1 Message Date
Nick Black e591ec2e98
cell -> nccell throughout much of remaining API (#1535)
cell -> nccell throughout much of the API #1532
3 years ago
joseLuís 5f96acc9e3 [rust] refacture NcVisual module
- separate the methods into its own module.
- add constants NCVISUAL_OPTION_ADDALPHA, NCVISUAL_OPTION_HORALIGNED, NCVISUAL_OPTION_VERALIGNED
- add NcRgba type.
- update the docs.
3 years ago
joseLuís 48ab7e0945 [rust] fix #1509
- fix bugs in macros: error, error_ref & error_ref_mut
- remove issue-1509 example
- minor improvements
- rustfmt
3 years ago
nick black bb0d6c2e80 [rust] update fullsize_pixel_without_plane() 3 years ago
nick black bac7d634d9 [visual] pipe transcolor through, use it everywhere #1518 3 years ago
nick black 33929cf91e
[rust] update to nccell 3 years ago
joseLuís bc80350384 [rust] several fixes
- fix after renaming cell functions.
- fix some NcVisual method names and docs
- fix some rustdoc warnings
3 years ago
nick black 849ec2748f
[rust] nccell updates 3 years ago
nick black ff76dba6ed
cell_strdup -> nccell_strdup 3 years ago
joseLuís 1afe6f162e rust: add new pixel geometry functionality
- add NcPlane method .pixelgeom.
- upgrade full-capabilities example.
- fix NcVisual method .blitter_geom docs.
- rustfmt
3 years ago
Nick Black 04b1ba8ed2
Dankamongmen/unify geom (#1514)
deprecate ncvisual_geom() in favor of new ncvisual_blitter_geom(), which allows caller to get the blitter used. replace the checks and calculations in ncvisual_render() with a call to ncvisual_blitter_geom(), unifying the two paths (and eliminating several bugs in the unloved ncvisual_geom()).
3 years ago
joseLuís 429ca673d3 rust: several fixes; add example for issue #1509
- fix method name: NcPlane.at_yx_cell().
- tell bidngen derive more traits when it can
- update .gitignore so it doesn't ignore rust/build
3 years ago
joseLuís 7d51756a12 rust: new poc-planebase example; doc improvements
- improve NcVisual.from_rgba documentation.
- fix Notcurses.term_dim_yx documentation.
- new example `poc-planebase` to help find the bug.
- improve full-capabilities example a little.
3 years ago
joseLuís 60c874f835 rust: impl ncplane_as_rgba; refactor macros
- rename and refactor NcPlane method rgba() to as_rgba().
- add example `issue-rgba` that shows a problem when the plane has text.
- refactor `error_ref` & `error_ref_mut` macros to allow custom return values
3 years ago
joseLuís 4996bebad0 rust: add constant NCOPTION_NO_CLEAR_BITMAPS 3 years ago
joseLuís 7c6083ee1a rust: add missing functions & constants; refactor
- implement methods for ncplane_resize_marginalized & notcurses_debug_caps.
- add constants NCPLANE_OPTION_MARGINALIZED & NCPLANE_OPTION_VERALIGNED.
- signature updates for NcChannel* & NcPixel trait methods.
- minor improvements.
3 years ago
joseLuís ae2af14281 rust: new methods, refactor methods and planes example
- add NcChannelPair constructors.
- change some NcChannel methods to return Self: set(), set_alpha()
- add NcPlane methods move_rel() & resize_simple_rel().
- add example full-planes (WIP).
- remove proto-example full-basics.
- small update of poc-menu example.
4 years ago
joseLuís 435b8cb6a7 rust: refactor examples & palette_size method
- refactor Notcurses.palette_size() to return an NcResult.
- refactor & rename example direct-text.rs to direct-capabilities.rs.
- new example full-capabilities.rs
4 years ago
joseLuís 1e274287f6 rust: add NcTree widget.
- created all methods except .goto().
- WIP callback types.
- minor updates.
- rustfmt.
4 years ago
joseLuís aa9bf7a0e7 rust: add ncplane_abs_yx, ncplane_abs_y, ncplane_abs_x
- minor updates
4 years ago
joseLuís 29ac41440c rust: add NcPlane methods resize_maximize & rgba; fix #1508 4 years ago
joseLuís 8cf52672cb rust: rustfmt 4 years ago
joseLuís 89e38c11f3 rust: add ncvisual methods & pixel-cell example 4 years ago
joseLuís 1c5ee9eb8c rust: add more functions and methods
- add functions: ncdirect_core_init & notcurses_core_init (methods pending)
- add functions & methods: ncdirect_readline & notcurses_can_braille
- minor fixes
4 years ago
joseLuís 5492119263 rust: add *_check_pixel_support functions + example 4 years ago
joseLuís 43d1f7192b rust: refactor NcError constructor methods 4 years ago
nick black a8a42c2a50 [planes] implement ncplane_resize_marginalized() #1472 4 years ago
nick black 50df69ab31 [planes] implement MARGINALIZED in ncplane_create() #1472 4 years ago
nick black a9d9093e22 rust: fix up notcurses_align() unification #1468 4 years ago
nick black df85fb55ba [bitmaps] fix bitmap placement when making a new plane #1468 4 years ago
nick black 229c1ab3c2 ncplane_new_internal: use ncplane_valign() #1468 4 years ago
nick black fc79dcd77a update rust for halign/valign #1468 4 years ago
nick black 033ae7f93e [capabilities] eradicate notcurses_canpixel() 4 years ago
nick black 1a1305faee rust: adapt NcDirect::render_frame() #1411 4 years ago
nick black 70be457071
rust: hide blitset definition 4 years ago
nick black 74f7597d09 rust: drop unused import 4 years ago
nick black 53c52e30ff remove c++/rust channel wholesalers 4 years ago
nick black 16ec1c3618 rust: purge NCOPTION_VERIFY_SIXEL 4 years ago
nick black 7724f6301e s/notcurses_cansixel/notcurses_canpixel/g #200 4 years ago
nick black 901ccc2d28 rust/python: ncblit_sixel -> ncblit_pixel 4 years ago
Ben Spencer 9625450848 rust: fix a couple of doc comments 4 years ago
nick black d732ffc1f4
rust: use CELL_BG_ALPHA_MASK not CHANNEL_ALPHA_MASK 4 years ago
nick black f775ae6b59 rust: update stats() 4 years ago
nick black 6c48c82171 rust: CELL_NOBACKGROUND_MASK oughtn't be exported 4 years ago
joseLuís da5f86cc8f rust: rename NcDimension to NcDim; rustfmt 4 years ago
joseLuís 1622375d41 rust: add NCDIRECT_OPTION_NO_QUIT_SIGHANDLERS 4 years ago
joseLuís 1218e8fb7f rust: refactor module header summary info
- refactor headers for Notcurses & NcDirect modules.
4 years ago
joseLuís 6938188b19 rust: NcCell updates
- update NcCell documentation according to last release.
- implement NcCell.load method.
- bonus: remove old "width bias" info from the python bindings.
- bonus: add some (commented out) profile settings to Cargo.toml.
4 years ago
José Luis Cruz 1c12b73a80 remove warning 4 years ago
nick black 69e54bf9e3 rust: drop more wideasian 4 years ago