CEUI#

CEUI is an immediate-mode UI toolkit for TI-84 Plus CE C programs and flash apps. It is compiled into your program, so you only pay for the widgets you use, and it needs only graphx on the calculator.

Get started · Guide · API reference · GitHub

Immediate mode

Call widgets from a loop. State lives in your own variables, with no widget tree and no callbacks.

The frame loop
Pay for what you use

Link time optimization drops every widget, style and glyph your program never calls.

Size and speed
Keypad first

Arrows move focus spatially across rows, grids and forms. Scroll areas follow the focus.

Keys and focus
Every common widget

Buttons, switches, sliders, pickers, text fields, lists, tables, tabs, dialogs, menus and toasts.

Widgets
Themes as data

Four built-in themes. A style is a 29 byte record and colors are palette slots, so dark mode is a palette write.

Themes
Redraws only what changed

Each frame is compared with the one before, and only the tiles under changed commands are drawn again.

Size and speed

At a glance#

#include <ui.h>

int main(void)
{
  int presses = 0;

  ui_init();
  while (ui_frame()) {
    ui_titlebar("Hello", NULL);
    if (ui_button("Press me")) presses++;
    ui_label(ui_fmt("Pressed %d times", presses));
    if (ui_key_pressed(sk_Clear)) ui_quit();
  }
  ui_exit();
  return 0;
}
NAME = HELLO
UI_THEME = default
include vendor/ceui/ui.mk
include $(shell cedev-config --makefile)
The CEUI gallery test program in the default theme

The gallery test program in the default theme.#