2014-06-18 21:32:48 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2014 Google Inc.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef Resources_DEFINED
|
|
|
|
#define Resources_DEFINED
|
|
|
|
|
|
|
|
#include "SkString.h"
|
|
|
|
|
2014-10-26 12:23:53 +00:00
|
|
|
class SkBitmap;
|
|
|
|
|
2014-06-18 21:32:48 +00:00
|
|
|
SkString GetResourcePath(const char* resource = "");
|
2014-07-11 19:14:51 +00:00
|
|
|
void SetResourcePath(const char* );
|
2014-06-18 21:32:48 +00:00
|
|
|
|
2014-10-26 12:23:53 +00:00
|
|
|
bool GetResourceAsBitmap(const char* resource, SkBitmap* dst);
|
|
|
|
|
2014-06-18 21:32:48 +00:00
|
|
|
#endif // Resources_DEFINED
|