컨텐츠로 이동
Cataclysm: Bright Nights
GitHubDiscord

User Interface

이 컨텐츠는 아직 번역되지 않았습니다.

Cataclysm: Bright Nights uses ncurses, or in the case of the tiles build, an ncurses port, for user interface. Window management is achieved by ui_adaptor, which requires a resizing callback and a redrawing callback for each UI to handle resizing and redrawing. Details on how to use ui_adaptor can be found within ui_manager.h.

Some good examples of the usage of ui_adaptor can be found within the following files:

  • query_popup and static_popup in popup.h/cpp
  • Messages::dialog in messages.cpp