Overview

Standard Controls provide pre-built UI components for applications, implemented at the kernel level in kernel/gui/components.asm.

Available Controls

Button

  • Normal, hover, and pressed states
  • Text label support
  • Click event handling
  • API: gui_draw_button()

Label

  • Static text display
  • Configurable color and font
  • API: gui_draw_label()

Input Field

  • Text input with cursor
  • Focus handling
  • Keyboard input processing
  • API: gui_draw_input()

Control States

  • Normal - Default state
  • Hover - Mouse over control
  • Pressed - Mouse button down
  • Disabled - Control disabled
  • Focused - Control has keyboard focus

Future Controls

  • Checkbox
  • Radio button
  • List box
  • Combo box
  • Scroll bar
  • Progress bar
  • Slider