Commit Graph

29 Commits (2bd3fe5f9272e5b5ca7435ac4e9b5770190e832d)

Author SHA1 Message Date
joseLuís fe275447fb [rust] rename `NcPixelGeometry` fields 3 years ago
joseLuís 3fed537854 [rust] remove NcDirectV type alias, use NcPlane instead 3 years ago
joseLuís 90a2ff6fca [rust] fix pixel-cell example
- fix some docs and parameter names.
3 years ago
joseLuís e5092ad4eb [rust] add ncvisual_from_rgb_* functions and methods
- update some docs.
3 years ago
joseLuís 2ba4777443 [rust] rename `NCCELL_`* constants to `NCALPHA_`*
- move `NCALPHA_`* constants to the channel module where `NcAlphaBits`
is defined.
- fix several docs and doclinks.
- rustfmt.
3 years ago
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.
3 years ago
joseLuís e14f77433f [rust]
- improve docs.
- fix some doclinks.
3 years ago
joseLuís 48c85d5220 [rust] rustfmt; fix docs 3 years ago
nick black ca4a1c7fd8 roll back wayward sed on rust 3 years ago
nick black cadd4aefee s/CELL_ALPHA_/NCCELL_ALPHA_/g 3 years ago
joseLuís 2c8a364f3a [rust] fix pixel-cell example
- fix column and row order in visual resize methods
3 years ago
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.
3 years ago
joseLuís 125ab361e6 [rust] add pending functions
- include new functions: ncdirect_stream, ncdirect_supported_styles, ncdirect_styles, nccell_width, ncinput_nomod_p.
- account for functions: ncplane_halign, ncplane_valign.
- rename ncpalette_get_rgb and ncpalette_set_rgb to ncpalette_get_rgb8 and ncpalette_set_rgb8 respectively.
- minor formatting fixes.
3 years ago
joseLuís ad7b67ec5b [rust] fix docs 3 years ago
joseLuís fce6ee22db [rust] update ncdirectf_geom & NcVGeom #1746 #1749 3 years ago
joseLuís 0ea7c5236d [rust] add example issue #1751 3 years ago
joseLuís 8d902f5c2b [rust] update ncdirectf_render #1738 3 years ago
joseLuís 9d1ca028c5 [rust] fix ncdirectf_render method #1738 3 years ago
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.
3 years ago
joseLuís c3f1d6c4a3 [rust] wrap ncdirectf functions
- add type aliases: NcDirectF (NcVisual alias), NcDirectV (NcPlane alias).
- implement wrapper methods for the `ncdirect_*` functions on NcDirectF.
- the methods over NcDirectF are prefixed with `ncdirectf_` to distinguish them
  from the other NcVisual methods (since they are both type aliases, they
  share their methods).
- fix typos in `direct.h`:
  - ncdirect_geom_frame > ncdirectf_geom()
  - ncdirect_render_loaded_frame > ncdirectf_render()
- add NcVGeom struct.
- minor fixes & rustfmt.
3 years ago
joseLuís c52e9c5a47 [rust] add NCVISUAL_OPTION_CHILDPLANE
- update docs
3 years ago
joseLuís aa0e242a7a [rust] bugfix & a couple of minor updates 3 years ago
joseLuís b7bfbb0f90 [rust] fix hundreds of clippy warnings 3 years ago
joseLuís 9e2add4e46 [rust] update capabilities, support new functions.
- add new Notcurses methods: `canhalfblock()` and `canquadrant()`.
- add doc links to NCBLIT_* flags from the capabilities methods.
- update the full-capabilites example to include `canhalfblock`, `canquadrant`,
  `canchangecolor` and `canfade` functions.
- rustfmt
4 years ago
joseLuís 5c216c2f9b [rust] blitter related updates
- move blitter type, NCBLIT_* constants and NcPixelGeometry from the plane module to the visual module.
- add information about blitter graceful degradation the NcBlitter type.
- add cross linking from/to the NCVISUAL_OPTION_NODEGRADE flag.
- update the full-capabilites example to include braille.
4 years ago
joseLuís bc123fbba8 undo prev. ncvisual_resize related changes #1559 4 years ago
joseLuís 0ec15fa920 update doc for ncvisual_resize; fix #1559 4 years ago
joseLuís 88c89f2d30 [rust] add ncvisual_inflate; update function-summary; fixes
- add ncvisual_inflate function
- update function-summary script & related data
- update cell inner comments.
- fix several doc inner links.
4 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.
4 years ago