Home
last modified time | relevance | path

Searched refs:button_width (Results 1 – 4 of 4) sorted by relevance

/third_party/cef/tests/cefclient/browser/
Droot_window_win.cc653 const int button_width = GetButtonWidth(hwnd_); in OnSize() local
693 hdwp = DeferWindowPos(hdwp, back_hwnd_, nullptr, x_offset, 0, button_width, in OnSize()
695 x_offset += button_width; in OnSize()
697 button_width, urlbar_height, SWP_NOZORDER); in OnSize()
698 x_offset += button_width; in OnSize()
700 button_width, urlbar_height, SWP_NOZORDER); in OnSize()
701 x_offset += button_width; in OnSize()
702 hdwp = DeferWindowPos(hdwp, stop_hwnd_, nullptr, x_offset, 0, button_width, in OnSize()
704 x_offset += button_width; in OnSize()
878 const int button_width = GetButtonWidth(hwnd_); in OnCreate() local
[all …]
Dviews_window.cc446 const int button_width = menu_button->GetSize().width; in OnMenuButtonPressed() local
448 point.x += button_width - 4; in OnMenuButtonPressed()
450 point.x -= button_width - 4; in OnMenuButtonPressed()
/third_party/flutter/glfw/tests/
Djoysticks.c90 const int button_width = width / button_count; in draw_joystick() local
99 glRecti(x + i * button_width, in draw_joystick()
101 x + (i + 1) * button_width, in draw_joystick()
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11messagebox.c233 int button_width = MIN_BUTTON_WIDTH; in X11_MessageBoxInitPositions() local
282 button_width = IntMax( button_width, data->buttonpos[ i ].text_width ); in X11_MessageBoxInitPositions()
309 button_width += button_text_height; in X11_MessageBoxInitPositions()
312 … width_of_buttons = data->numbuttons * button_width + ( data->numbuttons - 1 ) * button_spacing; in X11_MessageBoxInitPositions()
326 data->buttonpos[ i ].rect.w = button_width; in X11_MessageBoxInitPositions()
330 data->buttonpos[ i ].x = x + ( button_width - data->buttonpos[ i ].text_width ) / 2; in X11_MessageBoxInitPositions()
334 x += button_width + button_spacing; in X11_MessageBoxInitPositions()