10#ifndef __GUI_BACKEND_EDITOR_SETTINGS_H__
11#define __GUI_BACKEND_EDITOR_SETTINGS_H__
21#define EDITOR_SETTINGS_SCHEMA_VERSION 1
40static const cyaml_schema_field_t editor_settings_fields_schema[] = {
49static const cyaml_schema_value_t editor_settings_schema = {
57editor_settings_set_scroll_start_x (
EditorSettings * self,
int x,
bool validate);
60editor_settings_set_scroll_start_y (
EditorSettings * self,
int y,
bool validate);
void editor_settings_append_scroll(EditorSettings *self, int dx, int dy, bool validate)
Appends the given deltas to the scroll x/y values.
#define YAML_VALUE_PTR(cc, fields_schema)
Schema to be used as a pointer.
int scroll_start_x
Horizontal scroll start position.
int scroll_start_y
Vertical scroll start position.
double hzoom_level
Horizontal zoom level.