nesemu/gui/actions.c

18 lines
396 B
C
Raw Permalink Normal View History

//
// Created by william on 9/2/24.
//
#include "actions.h"
#include "gui.h"
void process_action(ActionType type) {
switch (type) {
case ACTION_TYPE_OPEN_WINDOW_NAMETABLE:
gui_window_create(WINDOW_TYPE_NAMETABLE);
break;
case ACTION_TYPE_OPEN_WINDOW_PATTERN_TABLE:
gui_window_create(WINDOW_TYPE_PATTERN_TABLE);
break;
}
}