Searched refs:button (Results 1 - 25 of 80) sorted by last modified time

1234

/haiku/src/kits/tracker/
H A DFilePanelPriv.cpp586 // adjust button state
587 BButton* button = dynamic_cast<BButton*>(FindView("default button")); local
588 if (button == NULL)
627 // selection mode then we don't disable button ever
646 button->SetLabel(buttonText.String());
647 button->SetEnabled(enabled);
727 BButton* default_button = new BButton(BRect(), "default button",
739 BButton* cancel_button = new BButton(BRect(), "cancel button",
1169 BButton* button local
1188 BButton* button local
1255 BButton* button = dynamic_cast<BButton*>(FindView("default button")); local
[all...]
H A DFindPanel.cpp811 // add Search button
812 BButton* button; local
814 button = new BButton("save", B_TRANSLATE("Save"),
817 button = new BButton("find", B_TRANSLATE("Search"),
820 button->MakeDefault(true);
844 button->SetExplicitAlignment(BAlignment(B_ALIGN_RIGHT, B_ALIGN_BOTTOM));
869 .Add(button)
920 BButton* button = dynamic_cast<BButton*>(FindView("remove button")); local
921 if (button !
2198 BButton* button = dynamic_cast<BButton*>(FindView("remove button")); local
[all...]
H A DFilePanel.cpp249 BFilePanel::SetButtonLabel(file_panel_button button, const char* text) argument
255 static_cast<TFilePanel*>(fWindow)->SetButtonLabel(button, text);
H A DDraggableContainerIcon.cpp178 uint32 button; local
179 GetMouse(&tmpLoc, &button);
180 if (button)
181 message.AddInt32("buttons", (int32)button);
183 if ((button & B_PRIMARY_MOUSE_BUTTON) != 0) {
/haiku/src/preferences/filetypes/
H A DApplicationTypesWindow.cpp177 BButton* button = new BButton("remove", B_TRANSLATE("Remove uninstalled"), local
244 .Add(button)
/haiku/headers/os/interface/
H A DInterfaceDefs.h163 uint32 button[B_MAX_MOUSE_BUTTONS]; member in struct:mouse_map
H A DWindow.h144 void SetDefaultButton(BButton* button);
/haiku/src/apps/haikudepot/ui/
H A DPackageInfoView.cpp284 // Rate button
345 // Forward to window (The button has us as target so
531 BButton* button = (BButton*)fButtons.ItemAtFast(i); local
532 button->RemoveSelf();
533 delete button;
566 BButton* button = (BButton*)fButtons.ItemAtFast(index++); local
567 button->SetLabel(action->Title());
568 button->SetMessage(message);
578 BButton* button = new BButton(action->Title(), message); local
579 fLayout->AddView(button);
586 _MatchesPackageActionMessage(BButton *button, BMessage* message) argument
604 BButton* button = static_cast<BButton*>(fButtons.ItemAt(i)); local
[all...]
/haiku/src/apps/webpositive/
H A DBrowserWindow.cpp274 BButton("close button", NULL, message),
295 // Draw the button frame
567 "find bar previous button tooltip"));
572 "find bar next button tooltip"));
749 // Do it in such a way that the user sees the Go-button go down.
2538 BrowserWindow::_InvokeButtonVisibly(BButton* button) argument
2540 button->SetValue(B_CONTROL_ON);
2542 button->Invoke();
2544 button->SetValue(B_CONTROL_OFF);
H A DBrowserWindow.h213 void _InvokeButtonVisibly(BButton* button);
/haiku/src/apps/mail/
H A DMailWindow.cpp1123 A popup from a button is good only when the behavior has some
1126 have an extra button attached to the main one which has a
1128 button is a good example of this.
1130 TODO: Replace this code with a split toolbar button
1147 // Default action for left clicking on the spam button.
1169 // TODO: This needs removed in favor of a split toolbar button.
1170 // See comments for Spam button
1196 // TODO: This needs removed in favor of a split toolbar button.
1197 // See comments for Spam button
1515 BButton* button local
3337 BButton* button = fToolBar->FindButton(command); local
[all...]
/haiku/src/apps/diskprobe/
H A DFindWindow.cpp526 BButton* button = new BButton(B_TRANSLATE("Find"), local
528 button->MakeDefault(true);
550 .Add(button);
553 button->Frame().Height() * 3 + 30);
/haiku/src/tests/kits/game/chart/
H A DChartWindow.cpp305 when you press the button "Auto demo". */
368 BButton *button; local
564 /* create the offwindow (invisible) button on the left side.
566 button. */
573 /* refresh rate picture button */
585 /* background color button */
597 /* star density button */
722 /* Automatic demonstration activation button */
724 button = new BButton(r, "", B_TRANSLATE("Auto demo"),
726 button
[all...]
/haiku/src/apps/magnify/
H A DMagnify.cpp1440 // secondary button was clicked or control key was down, show menu and return
1632 uint32 button; local
1634 GetMouse(&loc, &button);
1678 uint32 button; local
1682 GetMouse(&loc, &button);
/haiku/src/apps/launchbox/
H A DPadView.cpp278 PadView::AddButton(LaunchButton* button, LaunchButton* beforeButton) argument
280 button->SetIconSize(fIconSize);
283 fButtonLayout->AddView(fButtonLayout->IndexOfView(beforeButton), button);
285 fButtonLayout->AddView(button);
292 PadView::RemoveButton(LaunchButton* button) argument
294 bool result = fButtonLayout->RemoveView(button);
312 PadView::DisplayMenu(BPoint where, LaunchButton* button) const
318 LaunchButton* nearestButton = button;
320 // find the nearest button
327 // add button
[all...]
/haiku/src/bin/screen_blanker/
H A DPasswordWindow.cpp57 BButton* button = new BButton(BRect(), "unlock", B_TRANSLATE("Unlock"), local
59 customBox->AddChild(button);
60 button->MakeDefault(true);
61 button->ResizeToPreferred();
62 button->SetTarget(NULL, be_app);
65 button->MoveTo(frame.right - button->Bounds().Width(), frame.bottom + 10.0);
66 customBox->ResizeTo(frame.right + 10.0, button->Frame().bottom + 10.0);
/haiku/src/kits/tracker/infowindow/
H A DHeaderView.cpp462 uint32 button; local
463 GetMouse(&tmpLoc, &button);
464 if (button)
465 dragMessage.AddInt32("buttons", (int32)button);
/haiku/src/kits/interface/
H A DAlert.cpp138 // TODO: window loses default button on dearchive!
187 // Stow the button width
369 BButton* button = _CreateButton(fButtons.size(), label);
370 fButtons.push_back(button);
373 SetDefaultButton(button);
374 fButtonLayout->AddView(button);
593 // Must have at least one button
595 debugger("BAlerts must have at least one button.");
606 BButton* button = ButtonAt(index); local
607 if (button
614 BButton* button = ButtonAt(index); local
622 BButton* button = ButtonAt(index); local
[all...]
H A DWindow.cpp1754 BWindow::SetDefaultButton(BButton* button) argument
1757 if (fDefaultButton == button)
1761 // tell old button it's no longer the default one
1767 fDefaultButton = button;
1769 if (button != NULL) {
1770 // notify new default button
3227 // if we have a default button, it might want to hear
/haiku/src/apps/debugger/user_interface/gui/util/
H A DAlertWithCheckbox.cpp72 BButton* button = new BButton(label1, label1, new BMessage(kButton1Message)); local
73 button->MakeDefault(true);
74 layoutBuilder.Add(button);
78 BButton* button = new BButton(label2, label2, new BMessage(kButton2Message)); local
79 layoutBuilder.Add(button);
83 BButton* button = new BButton(label3, label3, new BMessage(kButton3Message)); local
84 layoutBuilder.Add(button);
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_synaptics.cpp301 for (int button = 0; button < sTouchpadInfo.nExtendedButtons;
302 button++) {
304 pressed = event_buffer[4 + button % 2] >> button / 2 & 0x1;
306 sTouchpadInfo.extendedButtonsState |= 1 << button;
308 sTouchpadInfo.extendedButtonsState &= ~(1 << button);
357 TRACE("SYNAPTICS: middle button %2x\n", val[0] >> 2 & 1);
/haiku/src/apps/terminal/
H A DTermView.h257 void _SendMouseEvent(int32 button, int32 mode,
/haiku/src/apps/webpositive/tabview/
H A DTabManager.cpp75 rgb_color button = tint_color(base, 1.07); local
77 button, flags, 0);
191 // for the button to stay "down"
281 // side of the button and a little below.
305 void AddScrollLeftButton(TabButton* button) argument
307 fScrollLeftTabButton = button;
308 GroupLayout()->AddView(button, 0.0f);
311 void AddScrollRightButton(TabButton* button) argument
313 fScrollRightTabButton = button;
314 GroupLayout()->AddView(button, 0.
317 AddTabMenuButton(TabMenuTabButton* button) argument
[all...]
/haiku/src/add-ons/input_server/devices/mouse/
H A DMouseInputDevice.cpp188 fSettings.map.button[i] = B_MOUSE_BUTTON(i + 1);
697 newButtons |= fSettings.map.button[i];
/haiku/src/preferences/input/
H A DMouseSettings.cpp27 static const int32 kDefaultMouseType = 3; // 3 button mouse
137 printf("type:\t\t%" B_PRId32 " button mouse\n", fSettings.type);
139 printf("button[%d]: %" B_PRId32 "\n", i, fSettings.map.button[i]);
193 map.button[0] = B_PRIMARY_MOUSE_BUTTON;
194 map.button[1] = B_SECONDARY_MOUSE_BUTTON;
195 map.button[2] = B_TERTIARY_MOUSE_BUTTON;
196 map.button[3] = B_MOUSE_BUTTON(4);
197 map.button[4] = B_MOUSE_BUTTON(5);
198 map.button[
317 SetMapping(int32 index, uint32 button) argument
[all...]

Completed in 416 milliseconds

1234