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

/haiku-fatelf/src/apps/pulse/
H A DPulseView.h32 BMenuItem *mode1, *mode2, *preferences, *about; member in class:PulseView
H A DPulseView.cpp55 mode1 = new BMenuItem("", NULL, 0, 0);
62 popupmenu->AddItem(mode1);
H A DDeskbarPulseView.cpp39 mode1->SetLabel(B_TRANSLATE("Normal mode"));
40 mode1->SetMessage(new BMessage(PV_NORMAL_MODE));
69 mode1->SetTarget(messenger);
H A DMiniPulseView.cpp23 mode1->SetLabel(B_TRANSLATE("Normal mode"));
24 mode1->SetMessage(new BMessage(PV_NORMAL_MODE));
125 mode1->SetTarget(messenger);
H A DNormalPulseView.cpp57 mode1->SetLabel(B_TRANSLATE("Mini mode"));
58 mode1->SetMessage(new BMessage(PV_MINI_MODE));
250 mode1->SetTarget(messenger);
/haiku-fatelf/src/libs/glut/
H A DglutGameMode.cpp274 display_mode *mode1 = (display_mode *)_mode1; local
277 if (mode1->virtual_width != mode2->virtual_width)
278 return mode2->virtual_width - mode1->virtual_width;
280 if (mode1->virtual_height != mode2->virtual_height)
281 return mode2->virtual_height - mode1->virtual_height;
283 if (mode1->space != mode2->space)
284 return _GetModePixelDepth(mode2) - _GetModePixelDepth(mode1);
286 return _GetModeRefreshRate(mode2) - _GetModeRefreshRate(mode1);
H A DglutGameMode.h40 static int _CompareModes(const void* mode1, const void* mode2);
/haiku-fatelf/src/add-ons/accelerants/common/
H A Dcreate_display_modes.cpp132 display_mode *mode1 = (display_mode *)_mode1; local
136 width1 = mode1->virtual_width;
137 height1 = mode1->virtual_height;
147 if (mode1->space != mode2->space)
148 return mode1->space - mode2->space;
150 return (int)(100 * (get_refresh_rate(*mode1) - get_refresh_rate(*mode2)));
/haiku-fatelf/src/preferences/screen/
H A DScreenMode.cpp65 display_mode *mode1 = (display_mode *)_mode1; local
70 combine1 = get_combine_mode(*mode1);
73 width1 = mode1->virtual_width;
74 height1 = mode1->virtual_height;
93 return (int)(10 * get_refresh_rate(*mode1)

Completed in 52 milliseconds