Edit

kc3-lang/angle/util/mouse.h

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2014-08-21 10:04:04
    Hash : 1cfaaf8a
    Message : Add a util project to share between samples and tests. This code shares the Window and EGL logic between the two projects. BUG=angle:730 Change-Id: I8940371226a8f7b02579c332f51679c4a5d0e2a5 Reviewed-on: https://chromium-review.googlesource.com/212799 Tested-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Brandon Jones <bajones@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org>

  • util/mouse.h
  • //
    // Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style license that can be
    // found in the LICENSE file.
    //
    
    #ifndef SAMPLE_UTIL_MOUSE_H
    #define SAMPLE_UTIL_MOUSE_H
    
    enum MouseButton
    {
        MOUSEBUTTON_UNKNOWN,
        MOUSEBUTTON_LEFT,
        MOUSEBUTTON_RIGHT,
        MOUSEBUTTON_MIDDLE,
        MOUSEBUTTON_BUTTON4,
        MOUSEBUTTON_BUTTON5,
        MOUSEBUTTON_COUNT,
    };
    
    #endif // SAMPLE_UTIL_MOUSE_H