shumate/shumate-inspector-settings-private.h
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /* | ||
| 2 | * Copyright (C) 2023 James Westman <james@jwestman.net> | ||
| 3 | * | ||
| 4 | * This library is free software; you can redistribute it and/or | ||
| 5 | * modify it under the terms of the GNU Lesser General Public | ||
| 6 | * License as published by the Free Software Foundation; either | ||
| 7 | * version 2.1 of the License, or (at your option) any later version. | ||
| 8 | * | ||
| 9 | * This library is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | * Lesser General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU Lesser General Public | ||
| 15 | * License along with this library; if not, see <https://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include <glib-object.h> | ||
| 21 | |||
| 22 | G_BEGIN_DECLS | ||
| 23 | |||
| 24 | #define SHUMATE_TYPE_INSPECTOR_SETTINGS (shumate_inspector_settings_get_type()) | ||
| 25 | |||
| 26 |
3/6✓ Branch 3 → 4 taken 10 times.
✗ Branch 3 → 7 not taken.
✓ Branch 4 → 5 taken 10 times.
✗ Branch 4 → 6 not taken.
✗ Branch 5 → 6 not taken.
✓ Branch 5 → 7 taken 10 times.
|
10 | G_DECLARE_FINAL_TYPE (ShumateInspectorSettings, shumate_inspector_settings, SHUMATE, INSPECTOR_SETTINGS, GObject) |
| 27 | |||
| 28 | ShumateInspectorSettings *shumate_inspector_settings_get_default (void); | ||
| 29 | |||
| 30 | void shumate_inspector_settings_reset (ShumateInspectorSettings *self); | ||
| 31 | |||
| 32 | gboolean shumate_inspector_settings_get_show_debug_overlay (ShumateInspectorSettings *self); | ||
| 33 | void shumate_inspector_settings_set_show_debug_overlay (ShumateInspectorSettings *self, gboolean show_debug_overlay); | ||
| 34 | |||
| 35 | gboolean shumate_inspector_settings_get_show_tile_bounds (ShumateInspectorSettings *self); | ||
| 36 | void shumate_inspector_settings_set_show_tile_bounds (ShumateInspectorSettings *self, gboolean show_tile_bounds); | ||
| 37 | |||
| 38 | gboolean shumate_inspector_settings_get_show_collision_boxes (ShumateInspectorSettings *self); | ||
| 39 | void shumate_inspector_settings_set_show_collision_boxes (ShumateInspectorSettings *self, gboolean show_collision_boxes); | ||
| 40 | |||
| 41 | G_END_DECLS | ||
| 42 |