3 * Copyright 2006 The Android Open Source Project
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
10 #ifndef SkDisplayRandom_DEFINED
11 #define SkDisplayRandom_DEFINED
13 #include "SkDisplayable.h"
14 #include "SkMemberInfo.h"
25 class SkDisplayRandom : public SkDisplayable {
26 DECLARE_DISPLAY_MEMBER_INFO(Random);
28 #ifdef SK_DUMP_ENABLED
29 void dump(SkAnimateMaker* ) override;
31 bool getProperty(int index, SkScriptValue* value) const override;
32 bool setProperty(int index, SkScriptValue& ) override;
37 mutable SkRandom fRandom;
40 #endif // SkDisplayRandom_DEFINED