Changes to support system cursors
Moved cursor_which defs to a separate file git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3967 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7e3a607f22
commit
a72997e0d4
@ -25,9 +25,17 @@ AS_DELETE_WINDOW,
|
||||
AS_CREATE_BITMAP,
|
||||
AS_DELETE_BITMAP,
|
||||
|
||||
// Cursor definitions
|
||||
AS_SET_CURSOR_DATA,
|
||||
AS_SET_CURSOR_BCURSOR,
|
||||
AS_SET_CURSOR_BBITMAP,
|
||||
AS_SET_CURSOR_SYSTEM,
|
||||
|
||||
AS_SET_SYSCURSOR_DATA,
|
||||
AS_SET_SYSCURSOR_BCURSOR,
|
||||
AS_SET_SYSCURSOR_BBITMAP,
|
||||
AS_GET_SYSCURSOR,
|
||||
|
||||
AS_SHOW_CURSOR,
|
||||
AS_HIDE_CURSOR,
|
||||
AS_OBSCURE_CURSOR,
|
||||
|
45
headers/private/app/SysCursor.h
Normal file
45
headers/private/app/SysCursor.h
Normal file
@ -0,0 +1,45 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// Copyright (c) 2001-2002, OpenBeOS
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
||||
// copy of this software and associated documentation files (the "Software"),
|
||||
// to deal in the Software without restriction, including without limitation
|
||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
// and/or sell copies of the Software, and to permit persons to whom the
|
||||
// Software is furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
// File Name: SysCursor.h
|
||||
// Author: DarkWyrm <bpmagic@columbus.rr.com>
|
||||
// Description: *PRIVATE* Definition header for system cursor API
|
||||
//
|
||||
//------------------------------------------------------------------------------
|
||||
#ifndef SYSCURSOR_H_
|
||||
#define SYSCURSOR_H_
|
||||
|
||||
typedef enum
|
||||
{
|
||||
B_CURSOR_DEFAULT=0,
|
||||
B_CURSOR_TEXT,
|
||||
B_CURSOR_MOVE,
|
||||
B_CURSOR_DRAG,
|
||||
B_CURSOR_RESIZE,
|
||||
B_CURSOR_RESIZE_NWSE,
|
||||
B_CURSOR_RESIZE_NESW,
|
||||
B_CURSOR_RESIZE_NS,
|
||||
B_CURSOR_RESIZE_EW,
|
||||
B_CURSOR_OTHER,
|
||||
B_CURSOR_INVALID
|
||||
} cursor_which;
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user