FTXUI 6.0.0 dhe 6.0.1

FTXUI 6.0.0 dhe 6.0.1

28 mars, pas më shumë se një vit e gjysmë zhvillimi, u lëshuan versionet 6.0.0 dhe 6.0.1 të bibliotekës shumëplatformëshe FTXUI, e cila është projektuar për të krijuar aplikacione me ndërfaqe tekstuale në C++ dhe shpërndahet nën licencën MIT.

Veçoritë e bibliotekës:

  • stil funksional, tĂ« ngjashĂ«m me React JS;
  • stil tĂ« thjeshtĂ« dhe elegant (sipas autorit tĂ« bibliotekĂ«s);
  • pĂ«rpunimi i ngjarjeve tĂ« tastierĂ«s dhe tĂ« "mausit";
  • mbĂ«shtetje pĂ«r UTF8 dhe Unicode;
  • mbĂ«shtetje pĂ«r True Color;
  • mbĂ«shtetje pĂ«r ndryshimin e stilit tĂ« kursorit;
  • mbĂ«shtetje pĂ«r animacione;
  • mbĂ«shtetje pĂ«r vizatimin;
  • mungesĂ« varĂ«sish nga palĂ« tĂ« treta;
  • shumĂ«platformĂ«si (Linux/MacOS, WebAssembly, Windows).

Lista e ndryshimeve:

  • Komponenti:
    • u shtua mbĂ«shtetje pĂ«r hyrjen e papĂ«rpunuar, duke lejuar pĂ«rcaktimin e njĂ« numri mĂ« tĂ« madh çelĂ«sash;
    • u shtua ScreenInteractive::ForceHandleCtrlC(false), e cila lejon komponentin tĂ« rishkruajĂ« krejtĂ«sisht trajtuesin standard tĂ« Ctrl+C;
    • u shtuan ngjarjet Mouse::WheelLeft dhe Mouse::WheelRight;
    • u shtua Event::DebugString();
    • u shtua mbĂ«shtetje pĂ«r modin e ngjitjes Input dhe opsioni InputOption::insert;
    • u shtua opsioni DropdownOption pĂ«r konfigurimin e listes sĂ« rĂ«nĂ«;
    • u shtuan mbĂ«shtetje pĂ«r selektimin dhe funksionet ScreenInteractive::GetSelection() dhe ScreenInteractive::SelectionChange(
);
    • Ă«shtuar ScreenInteractive::FullscreenPrimaryScreen(), e cila lejon shfaqjen e komponentit nĂ« ekran tĂ« plotĂ« nĂ« ekranin kryesor, jo nĂ« alternativ;
    • Ă«shtuar ComponentBase::Index(), e cila lejon marrjen e indeksit tĂ« komponentit nĂ« prindin e tij;
    • Ă«shtuar EntryState::index, e cila lejon marrjen e indeksit tĂ« artikullit nĂ« menu;
    • Ă«shtuar SliderOption::on_change, e cila lejon vendosjen e trajtuesit tĂ« ndryshimit tĂ« vlerĂ«s sĂ« slider-it;
  • DOM:
    • Ă«shtuar dekoratori i kurses;
    • Ă«shtuar indikatori horizontal hscroll_indicator;
    • Dimension::Fit(..) Ă«shtĂ« shtuar opsioni extend_beyond_screen, i cili lejon elementin tĂ« ketĂ« madhĂ«si mĂ« tĂ« madhe se ekrani;
    • Ă«shtĂ« shtuar mbĂ«shtetje pĂ«r pĂ«rzgjedhjen dhe dekoratorĂ«t:
      • selectionColor;
      • selectionBackgroundColor;
      • selectionForegroundColor;
      • selectionStyle(style);
      • selectionStyleReset;
  • Ekrani:
    • Ă«shtuar funksioni Box::IsEmpty();
    • Ă«shtĂ« shtuar mbĂ«shtetje pĂ«r transparencĂ«n dhe funksionet:;
      • Color::RGBA(r,g,b,a);
      • Color::HSVA(r,g,b,a);
      • Color::Blend(Color);
      • Color::IsOpaque();
  • Util:
    • Ă«shtĂ« shtuar mbĂ«shtetje pĂ«r adaptern arbitrar pĂ«r ConstStringListRef;
  • NdĂ«rtimi:
    • Ă«shtĂ« shtuar mbĂ«shtetje pĂ«r ndĂ«rtimin me CMake «unity/jumbo»;
  • Korrigjime tĂ« gabimeve.

Në screenshot - utiliteti rgb-tui nga autori i bibliotekës.

Burimi: linux.org.ru

Bleni hostim tĂ« besueshĂ«m pĂ«r faqe me mbrojtje nga DDoS, serverĂ« VPS VDS đŸ”„ Bleni hostim tĂ« besueshĂ«m pĂ«r faqe me mbrojtje nga DDoS, serverĂ« VPS VDS | ProHoster