From 4ea281c750c5afcc68f2832bb42d98a1cbce6735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Wed, 16 Jul 2014 18:53:56 -0700 Subject: rename llmr => mbgl --- include/llmr/style/style.hpp | 68 -------------------------------------------- 1 file changed, 68 deletions(-) delete mode 100644 include/llmr/style/style.hpp (limited to 'include/llmr/style/style.hpp') diff --git a/include/llmr/style/style.hpp b/include/llmr/style/style.hpp deleted file mode 100644 index cf091ad814..0000000000 --- a/include/llmr/style/style.hpp +++ /dev/null @@ -1,68 +0,0 @@ -#ifndef LLMR_STYLE_STYLE -#define LLMR_STYLE_STYLE - -#include -#include - -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -namespace llmr { - -class Sprite; -class StyleLayer; -class StyleLayerGroup; -struct BackgroundProperties; - -class Style { -public: - struct exception : std::runtime_error { exception(const char *msg) : std::runtime_error(msg) {} }; - -public: - Style(); - - void loadJSON(const uint8_t *const data); - - size_t layerCount() const; - void updateProperties(float z, timestamp t); - - void setDefaultTransitionDuration(uint16_t duration_milliseconds = 0); - - void setAppliedClasses(const std::vector &classes); - const std::vector &getAppliedClasses() const; - void toggleClass(const std::string &name); - - // Updates the styling information to reflect the current array - // of applied classes. - void updateClasses(); - - bool hasTransitions() const; - - const BackgroundProperties &getBackgroundProperties() const; - -public: - std::shared_ptr sprite; - std::shared_ptr layers; - std::vector appliedClasses; - std::string sprite_url; - std::string glyph_url; - - -private: - PropertyTransition defaultTransition; - bool initial_render_complete = false; - - mutable uv::rwlock mtx; -}; - -} - -#endif -- cgit v1.2.1