Forgotten files. Oops. :P
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4072 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7335f587be
commit
5407fa5f84
@ -26,7 +26,7 @@ AS_CREATE_BITMAP,
|
||||
AS_DELETE_BITMAP,
|
||||
|
||||
// Cursor definitions
|
||||
AS_SET_CURSOR_DATA,
|
||||
AS_SET_CURSOR_DATA, // offset 10
|
||||
AS_SET_CURSOR_BCURSOR,
|
||||
AS_SET_CURSOR_BBITMAP,
|
||||
AS_SET_CURSOR_SYSTEM,
|
||||
@ -34,10 +34,11 @@ AS_SET_CURSOR_SYSTEM,
|
||||
AS_SET_SYSCURSOR_DATA,
|
||||
AS_SET_SYSCURSOR_BCURSOR,
|
||||
AS_SET_SYSCURSOR_BBITMAP,
|
||||
AS_SET_SYSCURSOR_DEFAULTS,
|
||||
AS_GET_SYSCURSOR,
|
||||
|
||||
AS_SHOW_CURSOR,
|
||||
AS_HIDE_CURSOR,
|
||||
AS_HIDE_CURSOR, // offset 20
|
||||
AS_OBSCURE_CURSOR,
|
||||
AS_QUERY_CURSOR_HIDDEN,
|
||||
|
||||
@ -50,7 +51,7 @@ AS_HIDE_WINDOW,
|
||||
AS_QUIT_WINDOW,
|
||||
AS_SEND_BEHIND,
|
||||
AS_SET_LOOK,
|
||||
AS_SET_FEEL,
|
||||
AS_SET_FEEL, // 30
|
||||
AS_SET_FLAGS,
|
||||
AS_DISABLE_UPDATES,
|
||||
AS_ENABLE_UPDATES,
|
||||
@ -60,7 +61,7 @@ AS_NEEDS_UPDATE,
|
||||
AS_WINDOW_TITLE,
|
||||
AS_ADD_TO_SUBSET,
|
||||
AS_REM_FROM_SUBSET,
|
||||
AS_SET_ALIGNMENT,
|
||||
AS_SET_ALIGNMENT, // 40
|
||||
AS_GET_ALIGNMENT,
|
||||
AS_GET_WORKSPACES,
|
||||
AS_SET_WORKSPACES,
|
||||
@ -70,7 +71,7 @@ AS_SET_SIZE_LIMITS,
|
||||
AS_ACTIVATE_WINDOW,
|
||||
AS_WINDOW_MINIMIZE,
|
||||
AS_UPDATE_IF_NEEDED,
|
||||
_ALL_UPDATED_, // this should be moved in place of _UPDATE_IF_NEEDED_ in AppDefs.h
|
||||
_ALL_UPDATED_, // this should be moved in place of _UPDATE_IF_NEEDED_ in AppDefs.h (50)
|
||||
|
||||
|
||||
// BPicture definitions
|
||||
@ -88,7 +89,7 @@ AS_GET_STYLE_FOR_FACE,
|
||||
|
||||
// This will be modified. Currently a kludge for the input server until
|
||||
// BScreens are implemented by the IK Taeam
|
||||
AS_GET_SCREEN_MODE,
|
||||
AS_GET_SCREEN_MODE, // 60
|
||||
|
||||
// Global function call defs
|
||||
AS_SET_UI_COLORS,
|
||||
@ -101,7 +102,7 @@ AS_SET_WORKSPACE_COUNT,
|
||||
AS_CURRENT_WORKSPACE,
|
||||
AS_ACTIVATE_WORKSPACE,
|
||||
AS_SET_SCREEN_MODE,
|
||||
AS_GET_SCROLLBAR_INFO,
|
||||
AS_GET_SCROLLBAR_INFO, // 70
|
||||
AS_SET_SCROLLBAR_INFO,
|
||||
AS_IDLE_TIME,
|
||||
AS_SELECT_PRINTER_PANEL,
|
||||
@ -113,7 +114,7 @@ AS_SET_MOUSE_MODE,
|
||||
AS_GET_MOUSE_MODE,
|
||||
|
||||
// Hook function messages
|
||||
AS_WORKSPACE_ACTIVATED,
|
||||
AS_WORKSPACE_ACTIVATED, // 80
|
||||
AS_WORKSPACES_CHANGED,
|
||||
AS_WINDOW_ACTIVATED,
|
||||
AS_SCREENMODE_CHANGED,
|
||||
@ -127,7 +128,7 @@ AS_SET_LOW_COLOR,
|
||||
AS_SET_VIEW_COLOR,
|
||||
|
||||
AS_STROKE_ARC,
|
||||
AS_STROKE_BEZIER,
|
||||
AS_STROKE_BEZIER, // 90
|
||||
AS_STROKE_ELLIPSE,
|
||||
AS_STROKE_LINE,
|
||||
AS_STROKE_LINEARRAY,
|
||||
@ -138,7 +139,7 @@ AS_STROKE_SHAPE,
|
||||
AS_STROKE_TRIANGLE,
|
||||
|
||||
AS_FILL_ARC,
|
||||
AS_FILL_BEZIER,
|
||||
AS_FILL_BEZIER, // 100
|
||||
AS_FILL_ELLIPSE,
|
||||
AS_FILL_POLYGON,
|
||||
AS_FILL_RECT,
|
||||
@ -149,7 +150,7 @@ AS_FILL_TRIANGLE,
|
||||
|
||||
AS_MOVEPENBY,
|
||||
AS_MOVEPENTO,
|
||||
AS_SETPENSIZE,
|
||||
AS_SETPENSIZE, // 110
|
||||
|
||||
AS_DRAW_STRING,
|
||||
AS_SET_FONT,
|
||||
@ -162,7 +163,7 @@ AS_LAYER_CREATE,
|
||||
AS_LAYER_DELETE,
|
||||
AS_LAYER_CREATE_ROOT,
|
||||
AS_LAYER_DELETE_ROOT,
|
||||
AS_LAYER_ADD_CHILD,
|
||||
AS_LAYER_ADD_CHILD, // 120
|
||||
AS_LAYER_REMOVE_CHILD,
|
||||
AS_LAYER_REMOVE_SELF,
|
||||
AS_LAYER_SHOW,
|
||||
@ -173,7 +174,7 @@ AS_LAYER_INVALIDATE,
|
||||
AS_LAYER_DRAW,
|
||||
|
||||
AS_LAYER_GET_TOKEN,
|
||||
AS_LAYER_ADD,
|
||||
AS_LAYER_ADD, // 130
|
||||
AS_LAYER_REMOVE
|
||||
};
|
||||
|
||||
|
@ -21,12 +21,16 @@
|
||||
//
|
||||
// File Name: SysCursor.h
|
||||
// Author: DarkWyrm <bpmagic@columbus.rr.com>
|
||||
// Description: *PRIVATE* Definition header for system cursor API
|
||||
// Description: Private file encapsulating OBOS system cursor API
|
||||
//
|
||||
//------------------------------------------------------------------------------
|
||||
#ifndef SYSCURSOR_H_
|
||||
#define SYSCURSOR_H_
|
||||
|
||||
#include <Bitmap.h>
|
||||
#include <Cursor.h>
|
||||
#include <Message.h>
|
||||
|
||||
typedef enum
|
||||
{
|
||||
B_CURSOR_DEFAULT=0,
|
||||
@ -42,4 +46,34 @@ typedef enum
|
||||
B_CURSOR_INVALID
|
||||
} cursor_which;
|
||||
|
||||
class ServerCursor;
|
||||
|
||||
void set_syscursor(cursor_which which, const BCursor *cursor);
|
||||
void set_syscursor(cursor_which which, const BBitmap *bitmap);
|
||||
|
||||
cursor_which get_syscursor(void);
|
||||
|
||||
void setcursor(cursor_which which);
|
||||
|
||||
const char *CursorWhichToString(cursor_which which);
|
||||
BBitmap *CursorDataToBitmap(int8 *data);
|
||||
|
||||
/*!
|
||||
\brief Class to manage system cursor sets
|
||||
*/
|
||||
class CursorSet : public BMessage
|
||||
{
|
||||
public:
|
||||
CursorSet(const char *name);
|
||||
status_t Save(const char *path,int32 saveflags=0);
|
||||
status_t Load(const char *path);
|
||||
status_t AddCursor(cursor_which which,const BBitmap *cursor, const BPoint &hotspot);
|
||||
status_t AddCursor(cursor_which which, int8 *data);
|
||||
void RemoveCursor(cursor_which which);
|
||||
status_t FindCursor(cursor_which which, BBitmap **cursor, BPoint *hotspot);
|
||||
status_t FindCursor(cursor_which which, ServerCursor **cursor);
|
||||
void Rename(const char *name);
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user