/* * mandelbrot-zoom.h * * Created on: 13.01.2018 * Author: Superleo1810 */ #ifndef MANDELBROT_ZOOM_H_ #define MANDELBROT_ZOOM_H_ #include #include "settings.h" #include "conversion.h" #include "render.h" #include "sets.h" typedef struct Ui_settings { GtkWindow *settings; GtkSpinButton *iterationsSp; GtkSpinButton *threadsSp; GtkButton *colorFromBtn; GtkButton *colorToBtn; GtkEntry *zoomToXEntry; GtkEntry *zoomToYEntry; GtkEntry *speedEntry; GtkRadioButton *modeCPURd; GtkRadioButton *modeGPURd; GtkCheckButton *exportCb; GtkRadioButton *gifRd; GtkSpinButton *widthSp; GtkSpinButton *heightSp; GtkSpinButton *fpsRenderSp; GtkSpinButton *fpsVideoSp; GtkSpinButton *bitrateSp; GtkEntry *exportTf; GtkButton *startBtn; GtkButton *exitBtn; GtkColorSelectionDialog *colorDialog; } Ui_settings; Ui_settings ui_settings; Config config; u8 currentColor; int main(int argc, char **argv); void on_iterationsSp_valueChanged(); void on_threadsSp_valueChanged(); void on_colorFromBtn_clicked(); void on_colorToBtn_clicked(); void on_exportCb_toggled(); void on_exportTf_changed(); void on_widthSp_valueChanged(); void on_heightSp_valueChanged(); void on_fpsRenderSp_valueChanged(); void on_fpsVideoSp_valueChanged(); void on_bitrateSp_valueChanged(); void on_startBtn_clicked(); void on_exitBtn_clicked(); #endif /* MANDELBROT_ZOOM_H_ */