shumate/vector/shumate-vector-symbol-container-private.h
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /* | ||
| 2 | * Copyright (C) 2021 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 "shumate-map-source.h" | ||
| 21 | #include "shumate-layer.h" | ||
| 22 | #include "shumate-vector-collision-private.h" | ||
| 23 | |||
| 24 | G_BEGIN_DECLS | ||
| 25 | |||
| 26 | |||
| 27 | #define SHUMATE_TYPE_VECTOR_SYMBOL_CONTAINER (shumate_vector_symbol_container_get_type()) | ||
| 28 | ✗ | G_DECLARE_FINAL_TYPE (ShumateVectorSymbolContainer, shumate_vector_symbol_container, SHUMATE, VECTOR_SYMBOL_CONTAINER, ShumateLayer) | |
| 29 | |||
| 30 | ShumateVectorSymbolContainer *shumate_vector_symbol_container_new (ShumateMapSource *map_source, | ||
| 31 | ShumateViewport *viewport); | ||
| 32 | |||
| 33 | void shumate_vector_symbol_container_add_symbols (ShumateVectorSymbolContainer *self, | ||
| 34 | GPtrArray *symbol_infos, | ||
| 35 | int tile_x, | ||
| 36 | int tile_y, | ||
| 37 | int zoom); | ||
| 38 | |||
| 39 | void shumate_vector_symbol_container_remove_symbols (ShumateVectorSymbolContainer *self, | ||
| 40 | int tile_x, | ||
| 41 | int tile_y, | ||
| 42 | int zoom); | ||
| 43 | |||
| 44 | ShumateMapSource *shumate_vector_symbol_container_get_map_source (ShumateVectorSymbolContainer *self); | ||
| 45 | void shumate_vector_symbol_container_set_map_source (ShumateVectorSymbolContainer *self, | ||
| 46 | ShumateMapSource *map_source); | ||
| 47 | |||
| 48 | ShumateVectorCollision *shumate_vector_symbol_container_get_collision (ShumateVectorSymbolContainer *self); | ||
| 49 | |||
| 50 | char *shumate_vector_symbol_container_get_debug_text (ShumateVectorSymbolContainer *self); | ||
| 51 | |||
| 52 | G_END_DECLS | ||
| 53 |