Ignore:
Timestamp:
Apr 26, 2006, 8:53:08 PM (15 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Fixed indentation. I did it myself, I'm a big boy.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cxx/caca++.h

    r899 r917  
    3131{
    3232    friend class Caca;
    33   public:
     33 public:
    3434    enum caca_event_type
    35     {
    36         CACA_EVENT_NONE =          0x0000, /**< No event. */
     35        {
     36            CACA_EVENT_NONE =          0x0000, /**< No event. */
    3737
    38         CACA_EVENT_KEY_PRESS =     0x0001, /**< A key was pressed. */
    39         CACA_EVENT_KEY_RELEASE =   0x0002, /**< A key was released. */
    40         CACA_EVENT_MOUSE_PRESS =   0x0004, /**< A mouse button was pressed. */
    41         CACA_EVENT_MOUSE_RELEASE = 0x0008, /**< A mouse button was released. */
    42         CACA_EVENT_MOUSE_MOTION =  0x0010, /**< The mouse was moved. */
    43         CACA_EVENT_RESIZE =        0x0020, /**< The window was resized. */
     38            CACA_EVENT_KEY_PRESS =     0x0001, /**< A key was pressed. */
     39            CACA_EVENT_KEY_RELEASE =   0x0002, /**< A key was released. */
     40            CACA_EVENT_MOUSE_PRESS =   0x0004, /**< A mouse button was pressed. */
     41            CACA_EVENT_MOUSE_RELEASE = 0x0008, /**< A mouse button was released. */
     42            CACA_EVENT_MOUSE_MOTION =  0x0010, /**< The mouse was moved. */
     43            CACA_EVENT_RESIZE =        0x0020, /**< The window was resized. */
    4444
    45         CACA_EVENT_ANY =           0xffff  /**< Bitmask for any event. */
    46     } type;
     45            CACA_EVENT_ANY =           0xffff  /**< Bitmask for any event. */
     46        } type;
    4747
    48   protected:
     48 protected:
    4949    caca_event e;
    5050};
     
    5252class Caca
    5353{
    54   public:
     54 public:
    5555    Caca();
    5656    Caca(Cucul *cv);
     
    7070    void setMouse(int);
    7171
    72   private:
     72 private:
    7373    caca_display_t *dp;
    7474};
Note: See TracChangeset for help on using the changeset viewer.