Searched refs:screen (Results 76 - 100 of 131) sorted by last modified time

123456

/haiku/src/add-ons/screen_savers/message/
H A DMessage.cpp169 BScreen screen(view->Window());
170 if (!screen.IsValid())
174 BBitmap buffer(view->Bounds(), screen.ColorSpace(), true);
/haiku/src/apps/deskcalc/
H A DCalcWindow.cpp40 BScreen screen(this);
41 rgb_color baseColor = screen.DesktopColor();
155 // make sure window frame is on screen (center, if not)
156 BScreen screen(this);
157 BRect screenFrame = screen.Frame();
/haiku/src/preferences/screensaver/
H A DScreenSaverWindow.cpp319 B_TRANSLATE("Turn off screen"), new BMessage(kMsgTurnOffCheckBox));
492 BScreen screen(Window());
493 uint32 dpmsCapabilities = screen.DPMSCapabilites();
781 // Blackness is a built-in screen saver
863 // remove old screen saver preview & config
890 // create new screen saver preview & config
930 : B_TRANSLATE("Could not load screen saver"));
/haiku/src/apps/deskbar/
H A DCalendarMenuWindow.cpp139 BRect screen(BScreen().Frame());
141 float right = screen.right;
142 float bottom = screen.bottom;
144 BRect rightTop(right / 2.0, screen.top, right, bottom / 2.0);
146 BRect leftBottom(screen.left, bottom / 2.0, right / 2.0, bottom + 1.0);
/haiku/src/apps/people/
H A DPictureView.cpp374 PictureView::_ShowPopUpMenu(BPoint screen) argument
390 menu->Go(screen, true, true, true);
/haiku/src/add-ons/screen_savers/shelf/
H A DShelf.cpp117 help << B_TRANSLATE("Drop replicants on the full-screen window "
132 BScreen screen; local
133 fConfigWindow = new BWindow(screen.Frame(), "Shelf Config",
/haiku/src/bin/screenmode/
H A Dscreenmode.cpp90 "Sets the specified screen mode. When no screen mode has been chosen,\n"
96 " -s --short\t\twhen no mode is given the current screen mode is\n"
130 // TODO: add a possibility to set a virtual screen size in addition to
248 BScreen screen; local
251 screen.GetBrightness(&previousBrightness);
264 screen.SetBrightness(brightness);
270 printf("Available screen modes:\n");
359 "%s: Could not set screen mode "
372 "reset the screen mod
[all...]
/haiku/src/preferences/datatranslations/
H A DDataTranslationsWindow.cpp68 // Make sure that the window isn't positioned off screen
69 BScreen screen; local
70 BRect screenFrame = screen.Frame();
/haiku/src/apps/launchbox/
H A DMainWindow.cpp238 BScreen screen(this);
246 if (screen.Frame().bottom - Frame().bottom
255 if (screen.Frame().right - Frame().right
544 BScreen screen(this);
545 BRect screenFrame = screen.Frame();
567 BScreen screen(this);
568 BRect screenFrame = screen.Frame();
576 // see which border we mean depending on screen position
/haiku/src/apps/workspaces/
H A DWorkspaces.cpp218 BScreen screen; local
225 && settings.FindRect("screen", &fScreenFrame) == B_OK;
241 // we now also store the frame of the screen to know
247 fScreenFrame = screen.Frame();
255 // if the current screen frame is different from the one
257 if (fScreenFrame != screen.Frame())
258 UpdateFramesForScreen(screen.Frame());
275 && settings.AddRect("screen", fScreenFrame) == B_OK
288 // don't change the position if the screen frame hasn't changed
311 BScreen screen; local
742 BScreen screen; local
826 BScreen screen; local
845 BScreen screen; local
1111 BScreen screen; local
[all...]
/haiku/src/apps/diskprobe/
H A DDiskProbe.cpp117 BScreen screen; local
118 fMessage.AddRect("window_frame", BLayoutUtils::AlignInFrame(screen.Frame(),
146 // check if the window frame is on screen at all
147 BScreen screen; local
148 if (screen.Frame().Contains(settings.window_frame.LeftTop())
149 && settings.window_frame.Width() < screen.Frame().Width()
150 && settings.window_frame.Height() < screen.Frame().Height())
338 BScreen screen; local
339 BRect screenBorder = screen.Frame();
/haiku/src/libs/glut/
H A DglutGameMode.cpp101 BScreen screen;
105 screen.GetMode(fGameModeWorkspace, &fOriginalMode);
109 status_t status = screen.SetMode(fGameModeWorkspace, mode, false);
115 screen.GetMode(fGameModeWorkspace, &fCurrentMode);
171 BScreen screen; local
174 screen.SetMode(fGameModeWorkspace, &fOriginalMode, true);
192 BScreen screen; local
193 if (screen.GetModeList(&fModesList, &fModesCount) == B_OK) {
/haiku/src/add-ons/tracker/zipomatic/
H A DZipOMaticWindow.cpp281 BScreen screen; local
286 if (!screen.Frame().Contains(centeredRect))
297 if (!screen.Frame().Contains(tryRect))
300 if (!screen.Frame().Contains(tryRect))
312 if (!screen.Frame().Contains(tryRect))
315 if (!screen.Frame().Contains(tryRect))
/haiku/src/apps/showimage/
H A DFilter.cpp788 BScreen screen; local
834 index = screen.IndexForColor(color);
835 actualColor = screen.ColorForIndex(index);
885 index = screen.IndexForColor(color);
886 actualColor = screen.ColorForIndex(index);
/haiku/src/add-ons/input_server/filters/shortcut_catcher/
H A DCommandActuators.cpp1272 // Force where into the screen space
1274 BScreen screen; local
1275 where.ConstrainTo(screen.Frame());
/haiku/src/kits/interface/
H A DScreen.cpp50 BPrivateScreen* screen = BPrivateScreen::GetNext(fScreen); local
51 if (screen != NULL) {
52 fScreen = screen;
H A DPrivateScreen.cpp47 fLock("screen list")
124 // search for the screen ID
127 BPrivateScreen* screen = screens->list.ItemAt(i); local
129 if (screen->ID() == id) {
130 screen->_Acquire();
131 return screen;
143 BPrivateScreen* screen = new (std::nothrow) BPrivateScreen(id); local
144 if (screen == NULL)
147 screens->list.AddItem(screen);
148 return screen;
153 Put(BPrivateScreen* screen) argument
172 GetNext(BPrivateScreen* screen) argument
[all...]
H A DToolTipManager.cpp171 Makes sure the tool tip can be shown on screen in its entirety, ie. it will
182 BScreen screen(Window());
183 BRect screenFrame = screen.Frame().InsetBySelf(2, 2);
186 // Ensure that the tip can be placed on screen completely
244 // screen frame. Try to fit the tooltip on the requested side of the
283 // Cut off any out-of-screen areas
/haiku/headers/private/interface/
H A DPrivateScreen.h37 static void Put(BPrivateScreen* screen);
39 static BPrivateScreen* GetNext(BPrivateScreen* screen);
/haiku/src/preferences/repositories/
H A DRepositoriesWindow.cpp40 // Size and location on screen
43 BScreen screen; local
44 BRect screenFrame = screen.Frame();
/haiku/src/libs/print/libprint/
H A DPreview.cpp965 BScreen screen; local
966 if (screen.Frame().right == 0.0)
976 rect = screen.Frame();
977 // dimensions so that window does not reach outside of screen
/haiku/src/apps/stylededit/
H A DStyledEditApp.cpp45 BScreen screen; local
46 BRect screenBorder = screen.Frame();
62 BScreen screen; local
63 BRect screenBorder = screen.Frame();
/haiku/src/apps/login/
H A DDesktopWindow.cpp36 BScreen screen; local
38 desktop->SetViewColor(screen.DesktopColor());
/haiku/src/apps/soundrecorder/
H A DRecorderWindow.cpp196 // Set up size limits based on new screen size
197 BScreen screen(this);
198 BRect rect = screen.Frame();
202 // Don't zoom to cover all of screen; user can resize last bit if necessary.
/haiku/src/bin/
H A Dscreeninfo.cpp94 BScreen screen(B_MAIN_SCREEN_ID);
97 screen_id screenIndex = screen.ID();
100 // At the moment, screen.ID() is always 0;
101 printf("Screen %" B_PRId32 ":", screen.ID().id);
102 if (screen.GetDeviceInfo(&info) != B_OK) {
113 } while (screen.SetToNext() == B_OK);

Completed in 320 milliseconds

123456