Searched refs:drag (Results 1 - 13 of 13) sorted by relevance

/haiku/src/apps/soundrecorder/
H A DScopeView.cpp297 // fill the drag message
298 BMessage drag(B_SIMPLE_DATA);
299 drag.AddInt32("be:actions", B_COPY_TARGET);
300 drag.AddString("be:clip_name", "Audio Clip");
301 drag.AddString("be:types", B_FILE_MIME_TYPE);
324 DragMessage(&drag, bitmap, B_OP_ALPHA, BPoint(0,0));
/haiku/src/add-ons/screen_savers/flurry/
H A DShared.h92 float drag; member in struct:flurry_info_t
H A DSmoke.cpp222 // slow this particle down by info->drag
223 deltax *= info->drag;
224 deltay *= info->drag;
225 deltaz *= info->drag;
H A DFlurry.cpp171 fFlurryInfo->drag = (float)pow(0.9965, fFlurryInfo->fDeltaTime * 85.0);
/haiku/src/apps/people/
H A DPictureView.cpp439 // fill the drag message
440 BMessage drag(B_SIMPLE_DATA);
441 drag.AddInt32("be:actions", B_COPY_TARGET);
442 drag.AddInt32("be:actions", B_TRASH_TARGET);
448 drag.AddString("be:clip_name", name.String());
467 drag.AddString("be:types", formats[j].MIME);
469 drag.AddString("be:filetypes", formats[j].MIME);
470 drag.AddString("be:type_descriptions", formats[j].name);
478 drag.AddString("be:types", B_FILE_MIME_TYPE);
484 DragMessage(&drag, bitma
[all...]
/haiku/src/preferences/mail/
H A DFilterConfigView.cpp77 BMessage drag(kMsgItemDragged);
78 drag.AddInt32("index", index);
79 DragMessage(&drag, bitmap, B_OP_ALPHA, point - frame.LeftTop(), this);
/haiku/src/apps/webpositive/
H A DURLInputGroup.cpp595 BMessage drag(B_SIMPLE_DATA);
596 drag.AddInt32("be:actions", B_COPY_TARGET);
597 drag.AddString("be:clip_name", fileName.String());
598 drag.AddString("be:filetypes", "application/x-vnd.Be-bookmark");
600 drag.AddString("be:types", B_FILE_MIME_TYPE);
609 drag.AddMessage("be:originator-data", &data);
614 DragMessage(&drag, iconClone, B_OP_ALPHA, offset);
/haiku/src/apps/showimage/
H A DShowImageView.cpp807 // left mouse drag
858 // fill the drag message
859 BMessage drag(B_SIMPLE_DATA);
860 drag.AddInt32("be:actions", B_COPY_TARGET);
861 drag.AddString("be:clip_name", "Bitmap Clip");
863 drag.AddPoint("be:_source_point", sourcePoint);
864 drag.AddRect("be:_frame", fSelectionBox.Bounds());
865 if (_AddSupportedTypes(&drag, bitmap)) {
867 drag.AddString("be:types", B_FILE_MIME_TYPE);
879 DragMessage(&drag, bitma
[all...]
/haiku/src/apps/charactermap/
H A DCharacterView.cpp447 // Update character - we want to drag the one we originally clicked
462 BView* view = new BView(frame, "drag", 0, 0);
483 BMessage drag(B_MIME_DATA);
488 drag.AddData("text/plain", B_MIME_DATA, text, strlen(text));
490 DragMessage(&drag, bitmap, B_OP_ALPHA, offset);
/haiku/src/apps/diskprobe/
H A DDataView.cpp1016 BMessage *drag = new BMessage(B_MIME_DATA); local
1019 drag->AddPointer("be:originator", this);
1020 //drag->AddString("be:clip_name", "Byte Clipping");
1021 //drag->AddInt32("be_actions", B_TRASH_TARGET);
1027 drag->AddData(B_FILE_MIME_TYPE, B_MIME_TYPE, data, length);
1029 drag->AddData("text/plain", B_MIME_TYPE, data, length);
1048 DragMessage(drag, frame, NULL);
1110 // handle drag message and tracking
/haiku/src/preferences/keymap/
H A DKeyboardLayoutView.cpp468 BView* view = new BView(rect, "drag", B_FOLLOW_NONE, 0);
482 BMessage drag(B_MIME_DATA);
483 drag.AddInt32("key", key->code);
490 drag.AddData("text/plain", B_MIME_DATA, string, numBytes);
494 DragMessage(&drag, bitmap, B_OP_ALPHA, offset);
/haiku/headers/os/interface/
H A DTextView.h239 virtual void GetDragParameters(BMessage* drag,
/haiku/src/kits/interface/
H A DTextView.cpp3122 BTextView::GetDragParameters(BMessage* drag, BBitmap** bitmap, BPoint* point, argument
3126 if (drag == NULL)
3130 drag->AddPointer("be:originator", this);
3131 drag->AddInt32("be_actions", B_TRASH_TARGET);
3136 drag->AddData("text/plain", B_MIME_TYPE, text, numBytes);
3143 drag->AddData("application/x-vnd.Be-text_run_array", B_MIME_TYPE,
4721 // hide the previous drag caret
4777 // we are tracking the mouse for drag action, if the mouse has moved
4779 // we initiate a drag now:
4888 //! Initiates a drag operatio
[all...]

Completed in 205 milliseconds