Home
last modified time | relevance | path

Searched refs:window_pos (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/dports/emulators/fs-uae-launcher/fs-uae-launcher-3.0.5/launcher/ui/
H A Dtitlebar.py25 self.window_pos = (-1, -1)
44 self.window_pos = self.parent().get_position()
49 window_pos = (
50 self.window_pos[0] + mouse_pos[0] - self.mouse_pos[0],
51 self.window_pos[1] + mouse_pos[1] - self.mouse_pos[1],
53 self.parent().set_position(window_pos)
/dports/games/battletanks/btanks-0.9.8083/editor/
H A Dbase_brush.h48 …virtual void render(sdlx::Surface &surface, const v2<int>& window_pos, const v2<int>& window_pos_a…
58 …virtual void render(sdlx::Surface &surface, const v2<int>& window_pos, const v2<int>& window_pos_a…
68 …virtual void render(sdlx::Surface &surface, const v2<int>& window_pos, const v2<int>& window_pos_a…
77 …virtual void render(sdlx::Surface &surface, const v2<int>& window_pos, const v2<int>& window_pos_a…
96 …virtual void render(sdlx::Surface &surface, const v2<int>& window_pos, const v2<int>& window_pos_a…
H A Dbase_brush.cpp47 void Brush::render(sdlx::Surface &surface, const v2<int>& window_pos, const v2<int>& window_pos_ali… in render() argument
72 void Eraser::render(sdlx::Surface &surface, const v2<int>& window_pos, const v2<int>& window_pos_al… in render() argument
119 void FillerBrush::render(sdlx::Surface &surface, const v2<int>& window_pos, const v2<int>& window_p… in render() argument
139 void ObjectBrush::render(sdlx::Surface &surface, const v2<int>& window_pos, const v2<int>& window_p… in render() argument
140 editor->moveObjectHack(object, window_pos - object->size.convert<int>() / 2); in render()
/dports/games/julius/julius-1.7.0/src/platform/
H A Dscreen.c31 } window_pos = {0, 0, 1}; variable
246 window_pos.x = x; in platform_screen_move()
247 window_pos.y = y; in platform_screen_move()
248 window_pos.centered = 0; in platform_screen_move()
254 SDL_GetWindowPosition(SDL.window, &window_pos.x, &window_pos.y); in platform_screen_set_fullscreen()
286 if (window_pos.centered) { in platform_screen_set_windowed()
306 SDL_GetWindowPosition(SDL.window, &window_pos.x, &window_pos.y); in platform_screen_set_window_size()
312 if (window_pos.centered) { in platform_screen_set_window_size()
327 window_pos.centered = 1; in platform_screen_center_window()
/dports/games/dose-response/dose-response-179c326/src/engine/
H A Dglutin.rs104 fn get_current_monitor(monitors: &[MonitorId], window_pos: Point) -> Option<MonitorId> { in get_current_monitor()
116 if window_pos >= monitor_pos && window_pos < monitor_bottom_left { in get_current_monitor()
218 let mut window_pos = { in main_loop() localVariable
224 log::info!("Window pos: {:?}", window_pos); in main_loop()
225 let mut pre_fullscreen_window_pos = window_pos; in main_loop()
227 let mut current_monitor = get_current_monitor(&monitors, window_pos); in main_loop()
290 window_pos.x = new_pos.x as i32; in main_loop()
291 window_pos.y = new_pos.y as i32; in main_loop()
292 current_monitor = get_current_monitor(&monitors, window_pos); in main_loop()
401 pre_fullscreen_window_pos = window_pos; in main_loop()
[all …]
/dports/devel/godot/godot-3.2.3-stable/scene/gui/
H A Dline_edit.cpp677 window_pos = 0;
1015 window_pos = op.window_pos;
1035 window_pos = op.window_pos;
1062 int ofs = window_pos;
1218 window_pos = CLAMP(window_pos - 1, 0, MAX(text.length() - 1, 0));
1273 window_pos = 0;
1382 window_pos = p_pos;
1383 if (window_pos < 0) window_pos = 0;
1405 window_pos = 0;
1765 op.window_pos = window_pos;
[all …]
/dports/devel/godot-tools/godot-3.2.3-stable/scene/gui/
H A Dline_edit.cpp677 window_pos = 0;
1015 window_pos = op.window_pos;
1035 window_pos = op.window_pos;
1062 int ofs = window_pos;
1218 window_pos = CLAMP(window_pos - 1, 0, MAX(text.length() - 1, 0));
1273 window_pos = 0;
1382 window_pos = p_pos;
1383 if (window_pos < 0) window_pos = 0;
1405 window_pos = 0;
1765 op.window_pos = window_pos;
[all …]
/dports/emulators/mess/mame-mame0226/src/osd/modules/input/
H A Dinput_win32.cpp160 RECT window_pos = {0}; in poll() local
161 …ointer_cast<win_window_info>(osd_common_t::s_window_list.front())->platform_window(), &window_pos); in poll()
164 win32_mouse.last_point.x = window_pos.left + (window_pos.right - window_pos.left) / 2; in poll()
165 win32_mouse.last_point.y = window_pos.top + (window_pos.bottom - window_pos.top) / 2; in poll()
/dports/emulators/mame/mame-mame0226/src/osd/modules/input/
H A Dinput_win32.cpp160 RECT window_pos = {0}; in poll() local
161 …ointer_cast<win_window_info>(osd_common_t::s_window_list.front())->platform_window(), &window_pos); in poll()
164 win32_mouse.last_point.x = window_pos.left + (window_pos.right - window_pos.left) / 2; in poll()
165 win32_mouse.last_point.y = window_pos.top + (window_pos.bottom - window_pos.top) / 2; in poll()
/dports/audio/liblastfm-qt5/liblastfm-1.0.9-5-g4433165/src/fingerprint/fplib/
H A DFingerprintExtractor.cpp416 size_t window_pos = pd.m_downsampledProcessSize - pd.m_normWindow.size() / 2; in process() local
417 const size_t end_window_pos = window_pos + pd.m_normWindow.size(); in process()
420 for (; window_pos < end_window_pos ; ++window_pos) in process()
421 pd.m_normWindow.add(pd.m_pDownsampledPCM[window_pos] * pd.m_pDownsampledPCM[window_pos]); in process()
424 for (; pos < pd.m_downsampledProcessSize + pd.m_compensateBufferSize; ++pos, ++window_pos) in process()
427 pd.m_normWindow.add(pd.m_pDownsampledPCM[window_pos] * pd.m_pDownsampledPCM[window_pos]); in process()
480 …size_t window_pos = static_cast<unsigned int>(pd.m_compensateBufferSize + (pd.m_normWindow.size() … in process() local
482 …mpledProcessSize + pd.m_compensateBufferSize /* m_fullDownsampledBufferSize*/; ++pos, ++window_pos) in process()
485 pd.m_normWindow.add(pd.m_pDownsampledPCM[window_pos] * pd.m_pDownsampledPCM[window_pos]); in process()
/dports/editors/kakoune/kakoune-2021.11.08/src/
H A Dwindow.cc151 LineCount buffer_line = setup.window_pos.line + line; in update_display_buffer()
154 … auto beg_byte = get_byte_to_column(buffer(), tabstop, {buffer_line, setup.window_pos.column}); in update_display_buffer()
157 …: get_byte_to_column(buffer(), tabstop, {buffer_line, setup.window_pos.column + setup.window_range… in update_display_buffer()
171 set_position(setup.window_pos); in update_display_buffer()
212 kak_assert(setup.window_pos.line >= 0 and setup.window_pos.line < window.buffer().line_count()); in check_display_setup()
213 kak_assert(setup.window_pos.column >= 0); in check_display_setup()
249 auto underflow = std::max(-setup.window_pos.column, in compute_display_setup()
253 setup.window_pos.column += underflow; in compute_display_setup()
259 setup.window_pos.column += overflow; in compute_display_setup()
/dports/games/augustus/augustus-3.1.0/src/platform/
H A Dscreen.c46 } window_pos = {0, 0, 1}; variable
339 window_pos.x = x; in platform_screen_move()
340 window_pos.y = y; in platform_screen_move()
341 window_pos.centered = 0; in platform_screen_move()
347 SDL_GetWindowPosition(SDL.window, &window_pos.x, &window_pos.y); in platform_screen_set_fullscreen()
379 if (window_pos.centered) { in platform_screen_set_windowed()
399 SDL_GetWindowPosition(SDL.window, &window_pos.x, &window_pos.y); in platform_screen_set_window_size()
405 if (window_pos.centered) { in platform_screen_set_window_size()
420 window_pos.centered = 1; in platform_screen_center_window()
/dports/devel/godot2-tools/godot-2.1.6-stable/scene/gui/
H A Dline_edit.cpp618 int char_ofs = window_pos;
760 int ofs = window_pos;
891 window_pos = cursor_pos;
904 window_pos = 0;
953 window_pos = cursor_pos;
969 int wp = window_pos;
989 if (wp != window_pos)
1002 window_pos = p_pos;
1003 if (window_pos < 0) window_pos = 0;
1031 window_pos = 0;
[all …]
/dports/devel/godot2/godot-2.1.6-stable/scene/gui/
H A Dline_edit.cpp618 int char_ofs = window_pos;
760 int ofs = window_pos;
891 window_pos = cursor_pos;
904 window_pos = 0;
953 window_pos = cursor_pos;
969 int wp = window_pos;
989 if (wp != window_pos)
1002 window_pos = p_pos;
1003 if (window_pos < 0) window_pos = 0;
1031 window_pos = 0;
[all …]
/dports/x11-wm/plasma5-kwin/kwin-5.23.5/src/effects/wobblywindows/
H A Dwobblywindows.cpp637 Pair window_pos = wwi.origin[0]; in updateWindowWobblyDatas() local
639 Pair move = {window_pos.x - current_pos.x, window_pos.y - current_pos.y}; in updateWindowWobblyDatas()
661 Pair move = {window_pos.x - current_pos.x, window_pos.y - current_pos.y}; in updateWindowWobblyDatas()
683 Pair move = {window_pos.x - current_pos.x, window_pos.y - current_pos.y}; in updateWindowWobblyDatas()
705 Pair move = {window_pos.x - current_pos.x, window_pos.y - current_pos.y}; in updateWindowWobblyDatas()
728 Pair window_pos = wwi.origin[i]; in updateWindowWobblyDatas() local
730 Pair move = {window_pos.x - current_pos.x, window_pos.y - current_pos.y}; in updateWindowWobblyDatas()
754 Pair move = {window_pos.x - current_pos.x, window_pos.y - current_pos.y}; in updateWindowWobblyDatas()
778 Pair move = {window_pos.x - current_pos.x, window_pos.y - current_pos.y}; in updateWindowWobblyDatas()
802 Pair move = {window_pos.x - current_pos.x, window_pos.y - current_pos.y}; in updateWindowWobblyDatas()
[all …]
/dports/lang/clover/mesa-21.3.6/src/intel/tools/
H A Daubinator_viewer_urb.h38 const ImVec2 window_pos = ImGui::GetWindowPos(); in DrawAllocation() local
44 const float x = window_pos.x + label_size.x; in DrawAllocation()
45 const float y = window_pos.y + s * row_height; in DrawAllocation()
47 ImVec2 alloc_pos(window_pos.x, y); in DrawAllocation()
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/intel/tools/
H A Daubinator_viewer_urb.h38 const ImVec2 window_pos = ImGui::GetWindowPos(); in DrawAllocation() local
44 const float x = window_pos.x + label_size.x; in DrawAllocation()
45 const float y = window_pos.y + s * row_height; in DrawAllocation()
47 ImVec2 alloc_pos(window_pos.x, y); in DrawAllocation()
/dports/graphics/libosmesa/mesa-21.3.6/src/intel/tools/
H A Daubinator_viewer_urb.h38 const ImVec2 window_pos = ImGui::GetWindowPos(); in DrawAllocation() local
44 const float x = window_pos.x + label_size.x; in DrawAllocation()
45 const float y = window_pos.y + s * row_height; in DrawAllocation()
47 ImVec2 alloc_pos(window_pos.x, y); in DrawAllocation()
/dports/graphics/mesa-libs/mesa-21.3.6/src/intel/tools/
H A Daubinator_viewer_urb.h38 const ImVec2 window_pos = ImGui::GetWindowPos(); in DrawAllocation() local
44 const float x = window_pos.x + label_size.x; in DrawAllocation()
45 const float y = window_pos.y + s * row_height; in DrawAllocation()
47 ImVec2 alloc_pos(window_pos.x, y); in DrawAllocation()
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/intel/tools/
H A Daubinator_viewer_urb.h38 const ImVec2 window_pos = ImGui::GetWindowPos(); in DrawAllocation() local
44 const float x = window_pos.x + label_size.x; in DrawAllocation()
45 const float y = window_pos.y + s * row_height; in DrawAllocation()
47 ImVec2 alloc_pos(window_pos.x, y); in DrawAllocation()
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/intel/tools/
H A Daubinator_viewer_urb.h38 const ImVec2 window_pos = ImGui::GetWindowPos(); in DrawAllocation() local
44 const float x = window_pos.x + label_size.x; in DrawAllocation()
45 const float y = window_pos.y + s * row_height; in DrawAllocation()
47 ImVec2 alloc_pos(window_pos.x, y); in DrawAllocation()
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/intel/tools/
H A Daubinator_viewer_urb.h38 const ImVec2 window_pos = ImGui::GetWindowPos(); in DrawAllocation() local
44 const float x = window_pos.x + label_size.x; in DrawAllocation()
45 const float y = window_pos.y + s * row_height; in DrawAllocation()
47 ImVec2 alloc_pos(window_pos.x, y); in DrawAllocation()
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/intel/tools/
H A Daubinator_viewer_urb.h38 const ImVec2 window_pos = ImGui::GetWindowPos(); in DrawAllocation() local
44 const float x = window_pos.x + label_size.x; in DrawAllocation()
45 const float y = window_pos.y + s * row_height; in DrawAllocation()
47 ImVec2 alloc_pos(window_pos.x, y); in DrawAllocation()
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/intel/tools/
H A Daubinator_viewer_urb.h38 const ImVec2 window_pos = ImGui::GetWindowPos(); in DrawAllocation() local
44 const float x = window_pos.x + label_size.x; in DrawAllocation()
45 const float y = window_pos.y + s * row_height; in DrawAllocation()
47 ImVec2 alloc_pos(window_pos.x, y); in DrawAllocation()
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/intel/tools/
H A Daubinator_viewer_urb.h38 const ImVec2 window_pos = ImGui::GetWindowPos(); in DrawAllocation() local
44 const float x = window_pos.x + label_size.x; in DrawAllocation()
45 const float y = window_pos.y + s * row_height; in DrawAllocation()
47 ImVec2 alloc_pos(window_pos.x, y); in DrawAllocation()

12345678910>>...13