Searched refs:mode1 (Results 1 – 9 of 9) sorted by relevance
274 display_mode *mode1 = (display_mode *)_mode1; in _CompareModes() local277 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()
40 static int _CompareModes(const void* mode1, const void* mode2);
23 mode1->SetLabel(B_TRANSLATE("Normal mode")); in MiniPulseView()24 mode1->SetMessage(new BMessage(PV_NORMAL_MODE)); in MiniPulseView()125 mode1->SetTarget(messenger); in AttachedToWindow()
43 mode1->SetLabel(B_TRANSLATE("Normal mode")); in DeskbarPulseView()44 mode1->SetMessage(new BMessage(PV_NORMAL_MODE)); in DeskbarPulseView()75 mode1->SetTarget(messenger); in AttachedToWindow()
32 BMenuItem *mode1, *mode2, *preferences, *about; variable
70 mode1 = new BMenuItem("", NULL, 0, 0); in Init()77 popupmenu->AddItem(mode1); in Init()
41 mode1->SetLabel(B_TRANSLATE("Mini mode")); in NormalPulseView()42 mode1->SetMessage(new BMessage(PV_MINI_MODE)); in NormalPulseView()319 mode1->SetTarget(messenger); in AttachedToWindow()
93 display_mode *mode1 = (display_mode *)_mode1; in compare_mode() local98 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()
137 display_mode *mode1 = (display_mode *)_mode1; in compare_mode() local141 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()