/*
 * keypad_screen.h
 *
 *  Created on: Aug 11, 2023
 *      Author: leo
 */

#ifndef INC_KEYPAD_SCREEN_H_
#define INC_KEYPAD_SCREEN_H_

#include <stdint.h>

#include "lvgl.h"

typedef struct keypad_data keypad_data;

typedef void (*keypad_on_result_cb)(keypad_data* data);

struct keypad_data {
  lv_obj_t* parent;
  keypad_on_result_cb cb;
  uint32_t value;
  void* user_data;
};

void Keypad_screen_launch(keypad_data* data);
#endif