SameBoy/gtk3/widgets/printer_window.h

17 lines
604 B
C
Raw Permalink Normal View History

2021-01-03 18:07:48 +00:00
#ifndef printer_window_h
#define printer_window_h
#include <gtk/gtk.h>
#include <Core/gb.h>
#define PRINTER_WINDOW_TYPE (printer_window_get_type())
G_DECLARE_FINAL_TYPE(PrinterWindow, printer_window, SAMEBOY, PRINTER_WINDOW, GtkWindow)
PrinterWindow *printer_window_new(void);
void printer_window_clear(PrinterWindow *self);
bool printer_window_save(PrinterWindow *self);
void printer_window_update(PrinterWindow *self, uint32_t *image, uint8_t height, uint8_t top_margin, uint8_t bottom_margin, uint8_t exposure);
2021-01-03 18:07:48 +00:00
void printer_window_set_suggestion_prefix(PrinterWindow *self, char* prefix);
#endif