Lines Matching refs:cursor

27 	\name Name of the cursor set.
37 \brief Saves the data in the cursor set to a file
61 \brief Loads the data into the cursor set from a file
84 \brief Adds the cursor to the set and replaces any existing entry for the given specifier
85 \param which System cursor specifier defined in CursorSet.h
86 \param cursor BBitmap to represent the new cursor. Size should be 48x48 or less.
87 \param hotspot The recipient of the hotspot for the cursor
90 - \c B_BAD_VALUE: cursor is NULL
94 CursorSet::AddCursor(BCursorID which, const BBitmap *cursor,
97 if (cursor == NULL)
107 message.AddRect("_frame", cursor->Bounds());
108 message.AddInt32("_cspace", cursor->ColorSpace());
111 message.AddInt32("_rowbytes", cursor->BytesPerRow());
113 message.AddData("_data", B_RAW_TYPE, cursor->Bits(), cursor->BitsLength());
120 \brief Adds the cursor to the set and replaces any existing entry for the given specifier
121 \param which System cursor specifier defined in CursorSet.h
122 \param data R5 cursor data pointer
126 function must convert the R5 cursor data into a BBitmap
131 // Convert cursor data to a bitmap because all cursors are internally stored
146 \brief Removes the data associated with the specifier from the cursor set
147 \param which System cursor specifier defined in CursorSet.h
157 \brief Retrieves a cursor from the set.
158 \param which System cursor specifier defined in CursorSet.h
159 \param cursor Bitmap** to receive a newly-allocated BBitmap containing the appropriate data
160 \param hotspot The recipient of the hotspot for the cursor
164 - \c B_NAME_NOT_FOUND: The specified cursor does not exist in this set
181 || strcmp(className, "cursor") != 0) {
211 \brief Retrieves a cursor from the set.
212 \param which System cursor specifier defined in CursorSet.h
213 \param cursor ServerCursor** to receive a newly-allocated ServerCursor containing the appropriate data
217 - \c B_NAME_NOT_FOUND: The specified cursor does not exist in this set
234 || strcmp(className, "cursor") != 0) {
249 ServerCursor *cursor = new(std::nothrow) ServerCursor(
252 if (cursor == NULL)
255 memcpy(cursor->Bits(), buffer,
256 min_c(bufferLength, (ssize_t)cursor->BitsLength()));
258 *_cursor = cursor;
279 \brief Renames the cursor set
296 \brief Returns a string for the specified cursor attribute
297 \param which System cursor specifier defined in CursorSet.h
298 \return Name for the cursor specifier
313 return "No cursor";
366 \brief Creates a new BBitmap from R5 cursor data
367 \param data Pointer to data in the R5 cursor data format
382 // Now that we have all the setup, we're going to map (for now) the cursor
396 // for each row in the cursor data
409 // for each column in each row of cursor data