skia2/samplecode
Hal Canary ff2e8fe65f sk_app, Sample: Unify InputState enum.
replace() {
      if git grep -q "$1")";
      then sed -i -e "s#${1}#${2}#g" $(git grep -l "$1");
      fi
    }
    replace 'k\([A-Za-z]*\)_InputState' 'InputState::k\1'
    replace '\(\(sk_app::\|\)Window\|Sample\|\)::InputState' 'InputState'

Change-Id: I4cc18814fb1fbdd1f240aabba05aae79c54a4841
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/227642
Commit-Queue: Hal Canary <halcanary@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Auto-Submit: Hal Canary <halcanary@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2019-07-16 14:51:03 +00:00
..
DecodeFile.h Sample/Filter2View: make it work without /skimages 2019-07-08 17:05:23 +00:00
PerlinPatch.cpp Sample not RefCnted; ClickHandling moved out of viewer 2019-07-15 17:59:15 +00:00
Sample2PtRadial.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
Sample.cpp Samle:🐭 fix wrong assert 2019-07-16 14:12:36 +00:00
Sample.h sk_app, Sample: Unify InputState enum. 2019-07-16 14:51:03 +00:00
SampleAAClip.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleAAGeometry.cpp Sample not RefCnted; ClickHandling moved out of viewer 2019-07-15 17:59:15 +00:00
SampleAARectModes.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleAARects.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleAndroidShadows.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleAnimatedImage.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleAnimatedText.cpp Remove WallTimer class. 2019-07-15 16:06:11 +00:00
SampleAnimBlur.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleArc.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleAtlas.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleBitmapRect.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleCamera.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleCCPRGeometry.cpp Sample not RefCnted; ClickHandling moved out of viewer 2019-07-15 17:59:15 +00:00
SampleChart.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleChineseFling.cpp Samples: simplify Sample::Event 2019-07-08 19:09:42 +00:00
SampleCircle.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleClip.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleClipDrawMatch.cpp Samples: simplify Sample::Event 2019-07-08 19:09:42 +00:00
SampleClock.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleColorFilter.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleComplexClip.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleCowboy.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleCusp.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleDegenerateQuads.cpp Sample not RefCnted; ClickHandling moved out of viewer 2019-07-15 17:59:15 +00:00
SampleDegenerateTwoPtRadials.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleEffects.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleEmboss.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleFatBits.cpp Sample not RefCnted; ClickHandling moved out of viewer 2019-07-15 17:59:15 +00:00
SampleFillType.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleFilter2.cpp Sample/Filter2View: make it work without /skimages 2019-07-08 17:05:23 +00:00
SampleFilterQuality.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleFlutterAnimate.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleFontCache.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleGlyphTransform.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleGradients.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleHairCurves.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleHairline.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleHairModes.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleHT.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleIdentityScale.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleLayerMask.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleLayers.cpp Sample not RefCnted; ClickHandling moved out of viewer 2019-07-15 17:59:15 +00:00
SampleLCD.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleLighting.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleLitAtlas.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleLua.cpp Sample not RefCnted; ClickHandling moved out of viewer 2019-07-15 17:59:15 +00:00
SampleManyRects.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleMegaStroke.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleMixer.cpp Sample not RefCnted; ClickHandling moved out of viewer 2019-07-15 17:59:15 +00:00
SampleParagraph.cpp Adding locale 2019-07-09 20:55:51 +00:00
SamplePatch.cpp Sample not RefCnted; ClickHandling moved out of viewer 2019-07-15 17:59:15 +00:00
SamplePath.cpp Sample not RefCnted; ClickHandling moved out of viewer 2019-07-15 17:59:15 +00:00
SamplePathClip.cpp Sample not RefCnted; ClickHandling moved out of viewer 2019-07-15 17:59:15 +00:00
SamplePathEffects.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SamplePathOverstroke.cpp Samples: simplify Sample::Event 2019-07-08 19:09:42 +00:00
SamplePathText.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SamplePolyToPoly.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleQuadStroker.cpp Sample not RefCnted; ClickHandling moved out of viewer 2019-07-15 17:59:15 +00:00
SampleRectanizer.cpp Samples: simplify Sample::Event 2019-07-08 19:09:42 +00:00
SampleRegion.cpp Sample not RefCnted; ClickHandling moved out of viewer 2019-07-15 17:59:15 +00:00
SampleRepeatTile.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleSG.cpp Sample not RefCnted; ClickHandling moved out of viewer 2019-07-15 17:59:15 +00:00
SampleShaders.cpp Sample/Shaders: use resources; cleanup code 2019-07-08 19:31:42 +00:00
SampleShadowColor.cpp Samples: simplify Sample::Event 2019-07-08 19:09:42 +00:00
SampleShadowReference.cpp Samples: simplify Sample::Event 2019-07-08 19:09:42 +00:00
SampleShadowUtils.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleShip.cpp Remove WallTimer class. 2019-07-15 16:06:11 +00:00
SampleSlides.cpp ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
SampleStringArt.cpp ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
SampleStrokePath.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleStrokeRect.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleSubpixelTranslate.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleSVGFile.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleTextBox.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleTextEffects.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleTextureDomain.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleThinAA.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleTiling.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleUnpremul.cpp Samples: simplify Sample::Event 2019-07-08 19:09:42 +00:00
SampleVertices.cpp Sample not RefCnted; ClickHandling moved out of viewer 2019-07-15 17:59:15 +00:00
SampleWritePixels.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleXfer.cpp Sample not RefCnted; ClickHandling moved out of viewer 2019-07-15 17:59:15 +00:00
SampleXfermodesBlur.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
vertexdump.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00