Home
last modified time | relevance | path

Searched refs:mode1 (Results 1 – 9 of 9) sorted by relevance

/haiku/src/libs/glut/
H A DglutGameMode.cpp274 display_mode *mode1 = (display_mode *)_mode1; in _CompareModes() local
277 if (mode1->virtual_width != mode2->virtual_width) in _CompareModes()
278 return mode2->virtual_width - mode1->virtual_width; in _CompareModes()
280 if (mode1->virtual_height != mode2->virtual_height) in _CompareModes()
281 return mode2->virtual_height - mode1->virtual_height; in _CompareModes()
283 if (mode1->space != mode2->space) in _CompareModes()
284 return _GetModePixelDepth(mode2) - _GetModePixelDepth(mode1); in _CompareModes()
286 return _GetModeRefreshRate(mode2) - _GetModeRefreshRate(mode1); in _CompareModes()
H A DglutGameMode.h40 static int _CompareModes(const void* mode1, const void* mode2);
/haiku/src/apps/pulse/
H A DMiniPulseView.cpp23 mode1->SetLabel(B_TRANSLATE("Normal mode")); in MiniPulseView()
24 mode1->SetMessage(new BMessage(PV_NORMAL_MODE)); in MiniPulseView()
125 mode1->SetTarget(messenger); in AttachedToWindow()
H A DDeskbarPulseView.cpp43 mode1->SetLabel(B_TRANSLATE("Normal mode")); in DeskbarPulseView()
44 mode1->SetMessage(new BMessage(PV_NORMAL_MODE)); in DeskbarPulseView()
75 mode1->SetTarget(messenger); in AttachedToWindow()
H A DPulseView.h32 BMenuItem *mode1, *mode2, *preferences, *about; variable
H A DPulseView.cpp70 mode1 = new BMenuItem("", NULL, 0, 0); in Init()
77 popupmenu->AddItem(mode1); in Init()
H A DNormalPulseView.cpp41 mode1->SetLabel(B_TRANSLATE("Mini mode")); in NormalPulseView()
42 mode1->SetMessage(new BMessage(PV_MINI_MODE)); in NormalPulseView()
319 mode1->SetTarget(messenger); in AttachedToWindow()
/haiku/src/preferences/screen/
H A DScreenMode.cpp93 display_mode *mode1 = (display_mode *)_mode1; in compare_mode() local
98 combine1 = get_combine_mode(*mode1); in compare_mode()
101 width1 = mode1->virtual_width; in compare_mode()
102 height1 = mode1->virtual_height; in compare_mode()
121 return (int)(10 * get_refresh_rate(*mode1) in compare_mode()
/haiku/src/add-ons/accelerants/common/
H A Dcreate_display_modes.cpp137 display_mode *mode1 = (display_mode *)_mode1; in compare_mode() local
141 width1 = mode1->virtual_width; in compare_mode()
142 height1 = mode1->virtual_height; in compare_mode()
152 if (mode1->space != mode2->space) in compare_mode()
153 return mode1->space - mode2->space; in compare_mode()
155 return (int)(100 * (get_refresh_rate(*mode1) - get_refresh_rate(*mode2))); in compare_mode()