/haiku/src/apps/mail/ |
H A D | FindWindow.cpp | 70 void FindWindow::DoFind(BWindow* window, const char* text) argument 72 if (window == NULL) { 74 while ((window = be_app->WindowAt(i++)) != NULL) { 75 // Send the text to a waiting window 76 if (window != fFindWindow) 77 if (dynamic_cast<TMailWindow*>(window) != NULL) 78 break; // Found a window 82 /* ask that window who is in the front */ 83 window = dynamic_cast<TMailWindow*>(window) 240 Find(BWindow* window) argument 252 FindAgain(BWindow* window) argument [all...] |
/haiku/src/servers/app/stackandtile/ |
H A D | StackAndTile.h | 56 virtual void WindowAdded(Window* window); 57 virtual void WindowRemoved(Window* window); 62 virtual void MouseDown(Window* window, BMessage* message, 64 virtual void MouseUp(Window* window, BMessage* message, 66 virtual void MouseMoved(Window* window, BMessage* message, argument 69 virtual void WindowMoved(Window* window); 70 virtual void WindowResized(Window* window); 71 virtual void WindowActivated(Window* window); 72 virtual void WindowSentBehind(Window* window, 74 virtual void WindowWorkspacesChanged(Window* window, [all...] |
H A D | Stacking.cpp | 62 Window* window = desktop->WindowForClientLooperPort(port); local 63 if (!parent || !window) { 69 SATWindow* candidate = stackAndTile->GetSATWindow(window); 73 // Is that window already part of the stack? 101 Window* window = desktop->WindowForClientLooperPort(port); 102 if (!window) { 107 SATWindow* candidate = stackAndTile->GetSATWindow(window); 133 ServerWindow* window = removeWindow->GetWindow()->ServerWindow(); 135 reply.Attach<port_id>(window->ClientLooperPort()); 136 reply.Attach<int32>(window 166 ServerWindow* window = satWindow->GetWindow()->ServerWindow(); local 209 SATStacking(SATWindow* window) argument 229 Window* window = fSATWindow->GetWindow(); local 292 Window* window = fSATWindow->GetWindow(); local 305 _IsStackableWindow(Window* window) argument [all...] |
H A D | StackAndTile.cpp | 71 for (Window *window = windows.FirstWindow(); window != NULL; 72 window = window->NextWindow(kAllWindowList)) 73 WindowAdded(window); 105 StackAndTile::WindowAdded(Window* window) argument 107 SATWindow* satWindow = new (std::nothrow)SATWindow(this, window); 111 ASSERT(fSATWindowMap.find(window) == fSATWindowMap.end()); 112 fSATWindowMap[window] = satWindow; 117 StackAndTile::WindowRemoved(Window* window) argument 249 Window* window = frontWindow->GetWindow(); local 264 MouseDown(Window* window, BMessage* message, const BPoint& where) argument 308 MouseUp(Window* window, BMessage* message, const BPoint& where) argument 318 WindowMoved(Window* window) argument 332 WindowResized(Window* window) argument 347 WindowActivated(Window* window) argument 358 WindowSentBehind(Window* window, Window* behindOf) argument 384 WindowWorkspacesChanged(Window* window, uint32 workspaces) argument 410 WindowHidden(Window* window, bool fromMinimize) argument 426 WindowMinimized(Window* window, bool minimize) argument 449 WindowTabLocationChanged(Window* window, float location, bool isShifting) argument 457 SizeLimitsChanged(Window* window, int32 minWidth, int32 maxWidth, int32 minHeight, int32 maxHeight) argument 471 WindowLookChanged(Window* window, window_look look) argument 481 WindowFeelChanged(Window* window, window_feel feel) argument 500 SetDecoratorSettings(Window* window, const BMessage& settings) argument 511 GetDecoratorSettings(Window* window, BMessage& settings) argument 522 GetSATWindow(Window* window) argument 551 SATWindow* window = it->second; local 697 _GetSATGroup(SATWindow* window) argument 738 Window* window = fCurrentWindow; local 797 SATWindow* window = fCurrentArea->LayerOrder().ItemAt(fWindowIndex); local 816 SATWindow* window = fCurrentArea->LayerOrder().ItemAt(fWindowIndex); local [all...] |
/haiku/src/apps/bootmanager/ |
H A D | BootManager.cpp | 42 BootManagerWindow* window = new BootManagerWindow(); local 43 window->Show();
|
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/ |
H A D | PopupView.cpp | 29 PopupView::SetPopupWindow(PopupWindow* window) argument 31 fWindow = window;
|
/haiku/src/tests/kits/game/chart/ |
H A D | ChartView.cpp | 29 ChartWindow *window = dynamic_cast<ChartWindow *>(Window()); local 30 if (window == NULL) 33 if ((window->fOffscreen != 0) && (window->fCurrentSettings.display == DISPLAY_BITMAP)) 34 DrawBitmap(window->fOffscreen, rect, rect); 38 /* Send a message to the window if the user click anywhere in the animation 58 of the window animation. The color coding depends of the target framerate 63 ChartWindow *window = dynamic_cast<ChartWindow *>(Window()); local 64 if (window == NULL) 67 for (int32 i = 0; i < window [all...] |
/haiku/src/tests/servers/app/playground/ |
H A D | main.cpp | 21 BWindow* window = new ObjectWindow(frame, B_TRANSLATE_SYSTEM_NAME("Playground")); local 23 window->Show();
|
/haiku/src/tests/kits/interface/ |
H A D | MenuBeginningTest.cpp | 25 show_window(BWindow *window) argument 40 window->AddChild(bar); 41 window->Show(); 48 BWindow *window = new TestWindow(); local 49 show_window(window);
|
H A D | PulseTest.cpp | 52 show_window(BWindow *window) argument 54 BView *view = new PulseView(window->Bounds(), "pulse view", B_FOLLOW_ALL, B_PULSE_NEEDED|B_WILL_DRAW); 55 window->SetPulseRate(500000); 56 window->AddChild(view); 57 window->Show(); 65 BWindow *window = new BWindow(BRect(100, 100, 400, 300), "pulse test", local 67 show_window(window);
|
/haiku/src/servers/app/decorator/ |
H A D | DecorManager.cpp | 85 DecorAddOn::AllocateWindowBehaviour(Window* window) argument 87 return new (std::nothrow)SATWindowBehaviour(window, 88 window->Desktop()->GetStackAndTile()); 128 DecorManager::AllocateDecorator(Window* window) argument 140 if (window == fPreviewWindow) { 142 return fPreviewDecor->AllocateDecorator(window->Desktop(), 143 window->GetDrawingEngine(), window->Frame(), window->Title(), 144 window 157 AllocateWindowBehaviour(Window* window) argument 170 CleanupForWindow(Window* window) argument 185 PreviewDecorator(BString path, Window* window) argument [all...] |
H A D | WindowBehaviour.cpp | 33 WindowBehaviour::AlterDeltaForSnap(Window* window, BPoint& delta, bigtime_t now) argument 40 \brief Handles a mouse-down message for the window. 53 different button has been used or a different window was targeted). This
|
/haiku/src/tests/servers/app/newerClipping/ |
H A D | Desktop.h | 53 bool AddWindow(WindowLayer* window); 54 bool RemoveWindow(WindowLayer* window); 55 int32 IndexOf(WindowLayer* window) const; 57 bool HasWindow(WindowLayer* window) const; 66 void MoveWindowBy(WindowLayer* window, int32 x, int32 y); 67 void ResizeWindowBy(WindowLayer* window, int32 x, int32 y); 69 void ShowWindow(WindowLayer* window); 70 void HideWindow(WindowLayer* window); 71 void SetWindowHidden(WindowLayer* window, bool hidden); 73 void BringToFront(WindowLayer* window); [all...] |
/haiku/src/servers/app/ |
H A D | Desktop.h | 147 Window* window, BRegion& dirty); 148 // the window lock must be held when calling 177 void SelectWindow(Window* window); 178 void ActivateWindow(Window* window); 179 void SendWindowBehind(Window* window, 183 void ShowWindow(Window* window); 184 void HideWindow(Window* window, 186 void MinimizeWindow(Window* window, bool minimize); 188 void MoveWindowBy(Window* window, float x, float y, 190 void ResizeWindowBy(Window* window, floa [all...] |
H A D | DesktopListener.cpp | 69 DesktopObservable::NotifyWindowAdded(Window* window) argument 77 listener->WindowAdded(window); 82 DesktopObservable::NotifyWindowRemoved(Window* window) argument 90 listener->WindowRemoved(window); 125 DesktopObservable::NotifyMouseDown(Window* window, BMessage* message, argument 134 listener->MouseDown(window, message, where); 139 DesktopObservable::NotifyMouseUp(Window* window, BMessage* message, argument 148 listener->MouseUp(window, message, where); 153 DesktopObservable::NotifyMouseMoved(Window* window, BMessage* message, argument 162 listener->MouseMoved(window, messag 167 NotifyWindowMoved(Window* window) argument 180 NotifyWindowResized(Window* window) argument 193 NotifyWindowActivated(Window* window) argument 206 NotifyWindowSentBehind(Window* window, Window* behindOf) argument 219 NotifyWindowWorkspacesChanged(Window* window, uint32 workspaces) argument 233 NotifyWindowHidden(Window* window, bool fromMinimize) argument 246 NotifyWindowMinimized(Window* window, bool minimize) argument 259 NotifyWindowTabLocationChanged(Window* window, float location, bool isShifting) argument 273 NotifySizeLimitsChanged(Window* window, int32 minWidth, int32 maxWidth, int32 minHeight, int32 maxHeight) argument 288 NotifyWindowLookChanged(Window* window, window_look look) argument 301 NotifyWindowFeelChanged(Window* window, window_feel feel) argument 314 SetDecoratorSettings(Window* window, const BMessage& settings) argument 331 GetDecoratorSettings(Window* window, BMessage& settings) argument [all...] |
H A D | WindowList.h | 30 void AddWindow(Window* window, Window* before = NULL); 31 void RemoveWindow(Window* window); 33 bool HasWindow(Window* window) const; 34 bool ValidateWindow(Window* window) const;
|
/haiku/src/apps/icon-o-matic/ |
H A D | IconEditorApp.cpp | 87 // Run the QuitRequested() hook in each window's own thread. Otherwise 88 // the BAlert which a window shows when an icon is not saved will not 89 // repaint the window. (BAlerts check which thread is running Go() and 92 for (int32 i = 0; BWindow* window = WindowAt(i); i++) { 93 if (!window->Lock()) 95 // Try to cast the window while the pointer must be valid. 96 MainWindow* mainWindow = dynamic_cast<MainWindow*>(window); 97 window->Unlock(); 100 BMessenger messenger(window, window); 128 MainWindow* window; local 140 MainWindow* window; local 165 MainWindow* window = _NewWindow(); local 230 MainWindow* window; local 276 MainWindow* window = _NewWindow(); local 291 MainWindow* window = new MainWindow(fLastWindowFrame, this, local [all...] |
/haiku/src/apps/poorman/ |
H A D | PoorManLogger.cpp | 28 PoorManWindow* window = static_cast<PoorManApplication*>(be_app)->GetPoorManWindow(); local 30 if(!window->LogConsoleFlag() && !window->LogFileFlag()) 33 BMessenger messenger(window);
|
/haiku/src/preferences/network/ |
H A D | Network.cpp | 38 NetworkWindow* window = new NetworkWindow(); local 39 window->Show();
|
/haiku/src/preferences/sounds/ |
H A D | HApp.cpp | 28 HWindow* window = new HWindow(BRect(-1, -1, 390, 420), local 30 window->Show();
|
/haiku/src/apps/cortex/ParameterView/ |
H A D | ParameterWindowManager.cpp | 66 BWindow *window) 68 window(window) 75 BWindow *window; member in struct:window_map_entry 130 if (entry && entry->window) { 132 entry->window->Lock(); 133 entry->window->Quit(); 198 BWindow *window = 0; local 199 if (_findWindowFor(ref->id(), &window)) { 200 // window fo 64 window_map_entry( const NodeRef *ref, BWindow *window) argument 295 BWindow *window; local 313 _addWindowFor( const NodeRef *ref, BWindow *window) argument [all...] |
/haiku/src/tests/libs/alm/ |
H A D | HelloWorld.cpp | 31 // create a new BALMLayout and use it for this window 64 BWindow* window = new BWindow(BRect(30, 30, 100, 100), local 67 window->SetLayout(new BGroupLayout(B_VERTICAL)); 71 window->AddChild(new BStringView("", "An error occurred!")); 73 window->AddChild(clone); 74 window->Show(); 98 HelloWorldWindow* window = new HelloWorldWindow(frameRect); local 99 window->Show();
|
/haiku/src/kits/tracker/ |
H A D | Tracker.cpp | 292 // open desktop window 312 // add the root icon to desktop window 347 BWindow* window = NULL; local 348 while ((window = WindowAt(index++)) != NULL) { 349 if (window == fSettingsWindow) { 372 BContainerWindow* window local 375 if (window != NULL && window->Lock()) { 376 if (window->TargetModel() != NULL 377 && !window 633 BContainerWindow* window = dynamic_cast<BContainerWindow*>( local 729 BContainerWindow* window = FindParentContainerWindow(&ref); local 760 BContainerWindow* window = FindParentContainerWindow(&ref); local 1076 BContainerWindow* window = NULL; local 1212 BDeskWindow* window = dynamic_cast<BDeskWindow*>( local 1231 BContainerWindow* window = dynamic_cast<BContainerWindow*>( local 1254 BContainerWindow* window = dynamic_cast<BContainerWindow*> local 1289 BContainerWindow* window = dynamic_cast<BContainerWindow*>( local 1306 BInfoWindow* window = dynamic_cast<BInfoWindow*>( local 1322 BQueryContainerWindow* window = dynamic_cast<BQueryContainerWindow*>( local 1343 BQueryContainerWindow* window local 1373 BContainerWindow* window = dynamic_cast<BContainerWindow*>( local 1400 BContainerWindow* window = dynamic_cast<BContainerWindow*>( local 1420 BContainerWindow* window = closeList.ItemAt(index); local 1434 BWindow* window = fWindowList.ItemAt(index); local 1457 BWindow* window = WindowAt(index); local 1467 BWindow* window = fWindowList.ItemAt(index); local 1652 BContainerWindow* window = FindContainerWindow(&resolvedChild); local 1694 CloseParentWindowCommon(BContainerWindow* window) argument 1713 BContainerWindow* window = FindContainerWindow(parent); local [all...] |
/haiku/src/apps/webpositive/ |
H A D | BrowserApp.cpp | 138 BAboutWindow* window = new BAboutWindow(kApplicationName, local 141 // create the about window 160 window->AddCopyright(2007, "Haiku, Inc."); 161 window->AddAuthors(authors); 162 window->AddExtraInfo(aboutText.String()); 164 window->Show(); 213 fLastWindowFrame = fSettings->GetValue("window frame", fLastWindowFrame); 215 BRect downloadWindowFrame = fSettings->GetValue("downloads window frame", 217 BRect settingsWindowFrame = fSettings->GetValue("settings window frame", 219 BRect consoleWindowFrame = fSettings->GetValue("console window fram 272 BrowserWindow* window = new(std::nothrow) BrowserWindow(frame, local 317 BrowserWindow* window; local 474 BrowserWindow* window = NULL; local 567 BrowserWindow* window = new BrowserWindow(fLastWindowFrame, fSettings, local 577 _CreateNewTab(BrowserWindow* window, const BString& url, bool select) argument 588 _ShowWindow(const BMessage* message, BWindow* window) argument [all...] |
/haiku/src/apps/launchbox/ |
H A D | App.cpp | 59 for (int32 i = 0; settings.FindMessage("window", i, &windowMessage) 66 MainWindow* window = new MainWindow(name.String(), frame, local 68 window->Show(); 82 MainWindow* window = new MainWindow(B_TRANSLATE("Pad 1"), frame, true); local 83 window->Show(); 94 bool wasCloned = message->FindMessage("window", settings) == B_OK; 99 MainWindow* window = new MainWindow(name.String(), local 102 window->MoveBy(10, 10); 103 window->Show(); 164 for (int32 i = 0; BWindow* window [all...] |