HomeSort by relevance Sort by last modified time
    Searched defs:CommandSet (Results 1 - 2 of 2) sorted by null

  /external/skia/tools/viewer/sk_app/
CommandSet.cpp 8 #include "CommandSet.h"
15 CommandSet::CommandSet()
33 void CommandSet::attach(Window* window) {
37 bool CommandSet::onKey(Window::Key key, Window::InputState state, uint32_t modifiers) {
50 bool CommandSet::onChar(SkUnichar c, uint32_t modifiers) {
61 bool CommandSet::onSoftkey(const SkString& softkey) {
71 void CommandSet::addCommand(SkUnichar c, const char* group, const char* description,
76 void CommandSet::addCommand(Window::Key k, const char* keyName, const char* group,
87 bool CommandSet::compareCommandKey(const Command& first, const Command& second)
    [all...]
CommandSet.h 24 * An app can simply store an instance of CommandSet and then use it as follows:
32 * events to the CommandSet's onKey, onChar, and onSoftKey.
35 * The CommandSet always binds 'h' to cycle through two different help screens. The first shows
39 class CommandSet {
41 CommandSet();

Completed in 46 milliseconds