Home
last modified time | relevance | path

Searched refs:cx (Results 1 – 25 of 47) sorted by relevance

12

/GUIX-v6.4.1/guix_studio/
DScrollHelper.cpp69 if ((bar == SB_HORZ) && (windowSize.cx < m_displaySize.cx)) in SetScrollPos()
71 int deltaPos = newpos - m_scrollPos.cx; in SetScrollPos()
72 m_scrollPos.cx += deltaPos; in SetScrollPos()
73 m_attachWnd->SetScrollPos(SB_HORZ, m_scrollPos.cx, redraw); in SetScrollPos()
100 if ( m_displaySize.cx > 0 && m_pageSize.cx > 0 && m_scrollPos.cx > 0 ) in ScrollToOrigin()
102 int deltaPos = -m_scrollPos.cx; in ScrollToOrigin()
103 m_scrollPos.cx += deltaPos; in ScrollToOrigin()
104 m_attachWnd->SetScrollPos(SB_HORZ, m_scrollPos.cx, TRUE); in ScrollToOrigin()
144 deltaPos = -m_pageSize.cx; in OnHScroll()
149 deltaPos = m_pageSize.cx; in OnHScroll()
[all …]
Dmessage_dialog.cpp120 temp_width += temp_size.cx; in AddCStaticControl()
122 if (temp_size.cx > size.right) in AddCStaticControl()
124 size.right = temp_size.cx + 16; in AddCStaticControl()
142 if (temp_size.cx > size.right) in AddCStaticControl()
144 size.right = temp_size.cx + 16; in AddCStaticControl()
Dscreen_flow_edit_dlg.cpp119 void screen_flow_button_frame::OnSize(UINT nType, int cx, int cy) in OnSize() argument
121 CWnd::OnSize(nType, cx, cy); in OnSize()
419 scaled_line_start.x - scrollpos.cx, in OnPaint()
421 scaled_line_end.x - scrollpos.cx, in OnPaint()
481 rectF.X = (REAL)(scaled_rect.left - scrollpos.cx); in OnPaint()
506 pt.x += scrollpos.cx; in OnLButtonDown()
527 dirty.left -= scrollpos.cx; in OnLButtonDown()
528 dirty.right -= scrollpos.cx; in OnLButtonDown()
571 pt.x += scrollpos.cx; in OnRButtonUp()
602 scaled_rect.OffsetRect(-scrollpos.cx, -scrollpos.cy); in OnSetFocus()
[all …]
Dleft_panel_frame.cpp92 void left_top_panel_frame::OnSize(UINT ntype, int cx, int cy) in OnSize() argument
94 CWnd::OnSize(ntype, cx, cy); in OnSize()
189 void left_bottom_panel_frame::OnSize(UINT ntype, int cx, int cy) in OnSize() argument
191 CWnd::OnSize(ntype, cx, cy); in OnSize()
Dtrigger_action_select_dlg.cpp106 sz.cx += tm.tmAveCharWidth; in UpdateListBoxHorizontalExtend()
108 if (sz.cx > dx) in UpdateListBoxHorizontalExtend()
109 dx = sz.cx; in UpdateListBoxHorizontalExtend()
Dtarget_view.cpp134 void target_view::OnSize(UINT nType, int cx, int cy) in OnSize() argument
136 CView::OnSize(nType, cx, cy); in OnSize()
281 sizetotal.cx = size.right - size.left + 2; in UpdateScrollSize()
295 void target_frame::OnSize(UINT nType, int cx, int cy) in OnSize() argument
297 CView::OnSize(nType, cx, cy); in OnSize()
Dleft_panel_frame.h17 afx_msg void OnSize(UINT nType, int cx, int cy);
40 afx_msg void OnSize(UINT nType, int cx, int cy);
Dright_panel_frame.cpp70 void right_panel_frame::OnSize(UINT ntype, int cx, int cy) in OnSize() argument
72 CWnd::OnSize(ntype, cx, cy); in OnSize()
Dimport_sprite_frames_dlg.cpp179 sz.cx += tm.tmAveCharWidth; in UpdateListBoxHorizontalExtend()
181 if (sz.cx > dx) in UpdateListBoxHorizontalExtend()
182 dx = sz.cx; in UpdateListBoxHorizontalExtend()
Drich_text_edit_dlg.h33 afx_msg void OnSize(UINT nType, int cx, int cy);
87 afx_msg void OnSize(UINT nType, int cx, int cy);
127 afx_msg void OnSize(UINT nType, int cx, int cy);
Dtarget_view.h21 afx_msg void OnSize(UINT nType, int cx, int cy);
54 afx_msg void OnSize(UINT nType, int cx, int cy);
Dscreen_flow_edit_dlg.h25 afx_msg void OnSize(UINT nType, int cx, int cy);
65 afx_msg void OnSize(UINT nType, int cx, int cy);
124 afx_msg void OnSize(UINT nType, int cx, int cy);
Dstring_table_edit_dlg.h104 afx_msg void OnSize(UINT nType, int cx, int cy);
179 afx_msg void OnSize(UINT nType, int cx, int cy);
239 afx_msg void OnSize(UINT nType, int cx, int cy);
/GUIX-v6.4.1/common/src/
Dgx_display_driver_8bpp_rotated_pixelmap_rotate.c76 INT angle, INT cx, INT cy) in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate() argument
113 GX_SWAP_VALS(cx, cy); in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
132 cx = pixelmap->gx_pixelmap_height - cx - 1; in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
151 x = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv); in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
152 y = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv); in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
157 newxpos = xpos + cx - x; in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
237 INT angle, INT cx, INT cy) in _gx_display_driver_8bpp_rotated_pixelmap_transparent_rotate() argument
274 GX_SWAP_VALS(cx, cy); in _gx_display_driver_8bpp_rotated_pixelmap_transparent_rotate()
293 cx = pixelmap->gx_pixelmap_height - cx - 1; in _gx_display_driver_8bpp_rotated_pixelmap_transparent_rotate()
312 x = (cx - srcxres) * cosv - (cy - srcyres) * sinv; in _gx_display_driver_8bpp_rotated_pixelmap_transparent_rotate()
[all …]
Dgx_display_driver_8bpp_pixelmap_rotate.c81 INT angle, INT cx, INT cy) in _gx_display_driver_8bpp_pixelmap_raw_rotate() argument
127 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_8bpp_pixelmap_raw_rotate()
128 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + yres; in _gx_display_driver_8bpp_pixelmap_raw_rotate()
130 newxpos = xpos + cx - xres; in _gx_display_driver_8bpp_pixelmap_raw_rotate()
141 xx = GX_FIXED_VAL_TO_INT((x - xres) * cosv + (y - yres) * sinv) + cx; in _gx_display_driver_8bpp_pixelmap_raw_rotate()
211 INT angle, INT cx, INT cy) in _gx_display_driver_8bpp_pixelmap_transparent_rotate() argument
257 x = (cx - srcxres) * cosv - (cy - srcyres) * sinv; in _gx_display_driver_8bpp_pixelmap_transparent_rotate()
258 y = (cy - srcyres) * cosv + (cx - srcxres) * sinv; in _gx_display_driver_8bpp_pixelmap_transparent_rotate()
263 newxpos = xpos + cx - xres; in _gx_display_driver_8bpp_pixelmap_transparent_rotate()
274 xx = GX_FIXED_VAL_TO_INT((x - xres) * cosv + (y - yres) * sinv) + cx; in _gx_display_driver_8bpp_pixelmap_transparent_rotate()
[all …]
Dgx_display_driver_4bpp_pixelmap_rotate.c81 INT angle, INT cx, INT cy) in _gx_display_driver_4bpp_pixelmap_raw_rotate() argument
133 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_4bpp_pixelmap_raw_rotate()
134 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + yres; in _gx_display_driver_4bpp_pixelmap_raw_rotate()
136 newxpos = xpos + cx - xres; in _gx_display_driver_4bpp_pixelmap_raw_rotate()
155 xx = GX_FIXED_VAL_TO_INT((x - xres) * cosv + (y - yres) * sinv) + cx; in _gx_display_driver_4bpp_pixelmap_raw_rotate()
241 INT angle, INT cx, INT cy) in _gx_display_driver_4bpp_pixelmap_transparent_rotate() argument
297 x = (cx - srcxres) * cosv - (cy - srcyres) * sinv; in _gx_display_driver_4bpp_pixelmap_transparent_rotate()
298 y = (cy - srcyres) * cosv + (cx - srcxres) * sinv; in _gx_display_driver_4bpp_pixelmap_transparent_rotate()
303 newxpos = xpos + cx - xres; in _gx_display_driver_4bpp_pixelmap_transparent_rotate()
322 xx = GX_FIXED_VAL_TO_INT((x - xres) * cosv + (y - yres) * sinv) + cx; in _gx_display_driver_4bpp_pixelmap_transparent_rotate()
[all …]
Dgx_display_driver_1bpp_pixelmap_rotate.c81 INT angle, INT cx, INT cy) in _gx_display_driver_1bpp_pixelmap_raw_rotate() argument
133 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_1bpp_pixelmap_raw_rotate()
134 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + yres; in _gx_display_driver_1bpp_pixelmap_raw_rotate()
136 newxpos = xpos + cx - xres; in _gx_display_driver_1bpp_pixelmap_raw_rotate()
151 xx = GX_FIXED_VAL_TO_INT(xx) + cx; in _gx_display_driver_1bpp_pixelmap_raw_rotate()
234 INT angle, INT cx, INT cy) in _gx_display_driver_1bpp_pixelmap_transparent_rotate() argument
287 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_1bpp_pixelmap_transparent_rotate()
288 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + yres; in _gx_display_driver_1bpp_pixelmap_transparent_rotate()
290 newxpos = xpos + cx - xres; in _gx_display_driver_1bpp_pixelmap_transparent_rotate()
302 xx = GX_FIXED_VAL_TO_INT((x - xres) * cosv + (y - yres) * sinv) + cx; in _gx_display_driver_1bpp_pixelmap_transparent_rotate()
[all …]
Dgx_display_driver_16bpp_rotated_pixelmap_rotate.c89 INT angle, INT cx, INT cy) in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate() argument
144 GX_SWAP_VALS(cx, cy); in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
163 cx = pixelmap -> gx_pixelmap_height - cx - 1; in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
179 x = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv); in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
180 y = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv); in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
185 newxpos = xpos + cx - x; in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
363 INT angle, INT cx, INT cy) in _gx_display_driver_565rgb_rotated_pixelmap_alpha_rotate() argument
419 GX_SWAP_VALS(cx, cy); in _gx_display_driver_565rgb_rotated_pixelmap_alpha_rotate()
438 cx = pixelmap -> gx_pixelmap_height - cx - 1; in _gx_display_driver_565rgb_rotated_pixelmap_alpha_rotate()
452 x = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv); in _gx_display_driver_565rgb_rotated_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_16bpp_pixelmap_rotate.c93 INT angle, INT cx, INT cy) in _gx_display_driver_565rgb_pixelmap_raw_rotate() argument
161 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_565rgb_pixelmap_raw_rotate()
162 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + yres; in _gx_display_driver_565rgb_pixelmap_raw_rotate()
164 newxpos = xpos + cx - xres; in _gx_display_driver_565rgb_pixelmap_raw_rotate()
178 xx = GX_FIXED_VAL_TO_INT(xx) + cx; in _gx_display_driver_565rgb_pixelmap_raw_rotate()
346 INT angle, INT cx, INT cy) in _gx_display_driver_565rgb_pixelmap_alpha_rotate() argument
413 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_565rgb_pixelmap_alpha_rotate()
414 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + yres; in _gx_display_driver_565rgb_pixelmap_alpha_rotate()
416 newxpos = xpos + cx - xres; in _gx_display_driver_565rgb_pixelmap_alpha_rotate()
430 xx = GX_FIXED_VAL_TO_INT(xx) + cx; in _gx_display_driver_565rgb_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_32bpp_rotated_pixelmap_rotate.c87 INT angle, INT cx, INT cy) in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate() argument
143 GX_SWAP_VALS(cx, cy); in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate()
162 cx = pixelmap -> gx_pixelmap_height - cx - 1; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate()
181 x = (cx - srcxres) * cosv - (cy - srcyres) * sinv; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate()
182 y = (cy - srcyres) * cosv + (cx - srcxres) * sinv; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate()
187 newxpos = xpos + cx - x; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate()
378 INT angle, INT cx, INT cy) in _gx_display_driver_32bpp_rotated_pixelmap_alpha_rotate() argument
434 GX_SWAP_VALS(cx, cy); in _gx_display_driver_32bpp_rotated_pixelmap_alpha_rotate()
453 cx = pixelmap -> gx_pixelmap_height - cx - 1; in _gx_display_driver_32bpp_rotated_pixelmap_alpha_rotate()
473 newxpos = xpos + cx - x; in _gx_display_driver_32bpp_rotated_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_4444argb_pixelmap_rotate.c96 INT angle, INT cx, INT cy) in _gx_display_driver_4444argb_pixelmap_general_rotate() argument
164 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_4444argb_pixelmap_general_rotate()
165 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + xres; in _gx_display_driver_4444argb_pixelmap_general_rotate()
167 newxpos = xpos + cx - xres; in _gx_display_driver_4444argb_pixelmap_general_rotate()
181 xx = GX_FIXED_VAL_TO_INT(xx) + cx; in _gx_display_driver_4444argb_pixelmap_general_rotate()
372 INT angle, INT cx, INT cy) in _gx_display_driver_4444argb_pixelmap_simple_rotate() argument
393 newxpos = xpos + cx - (width - 1 - cy); in _gx_display_driver_4444argb_pixelmap_simple_rotate()
394 newypos = ypos + cy - cx; in _gx_display_driver_4444argb_pixelmap_simple_rotate()
414 newxpos = xpos + cx - (width - 1 - cx); in _gx_display_driver_4444argb_pixelmap_simple_rotate()
433 newxpos = xpos + cx - cy; in _gx_display_driver_4444argb_pixelmap_simple_rotate()
[all …]
Dgx_display_driver_32bpp_pixelmap_rotate.c97 INT angle, INT cx, INT cy) in _gx_display_driver_24xrgb_pixelmap_rotate() argument
168 x = (cx - srcxres) * cosv - (cy - srcyres) * sinv; in _gx_display_driver_24xrgb_pixelmap_rotate()
169 y = (cy - srcyres) * cosv + (cx - srcxres) * sinv; in _gx_display_driver_24xrgb_pixelmap_rotate()
174 newxpos = xpos + cx - xres; in _gx_display_driver_24xrgb_pixelmap_rotate()
188 xx = GX_FIXED_VAL_TO_INT(xx) + cx; in _gx_display_driver_24xrgb_pixelmap_rotate()
367 INT angle, INT cx, INT cy) in _gx_display_driver_24xrgb_pixelmap_alpha_rotate() argument
437 x = (cx - srcxres) * cosv - (cy - srcyres) * sinv; in _gx_display_driver_24xrgb_pixelmap_alpha_rotate()
438 y = (cy - srcyres) * cosv + (cx - srcxres) * sinv; in _gx_display_driver_24xrgb_pixelmap_alpha_rotate()
443 newxpos = xpos + cx - xres; in _gx_display_driver_24xrgb_pixelmap_alpha_rotate()
457 xx = GX_FIXED_VAL_TO_INT(xx) + cx; in _gx_display_driver_24xrgb_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_332rgb_pixelmap_rotate.c92 INT angle, INT cx, INT cy) in _gx_display_driver_332rgb_pixelmap_simple_alpha_rotate() argument
118 newxpos = xpos + cx - (width - 1 - cy); in _gx_display_driver_332rgb_pixelmap_simple_alpha_rotate()
119 newypos = ypos + cy - cx; in _gx_display_driver_332rgb_pixelmap_simple_alpha_rotate()
141 newxpos = xpos + cx - (width - 1 - cx); in _gx_display_driver_332rgb_pixelmap_simple_alpha_rotate()
164 newxpos = xpos + cx - cy; in _gx_display_driver_332rgb_pixelmap_simple_alpha_rotate()
165 newypos = ypos + cx - (height - 1 - cy); in _gx_display_driver_332rgb_pixelmap_simple_alpha_rotate()
237 INT angle, INT cx, INT cy) in _gx_display_driver_332rgb_pixelmap_alpha_rotate() argument
304 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_332rgb_pixelmap_alpha_rotate()
305 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + yres; in _gx_display_driver_332rgb_pixelmap_alpha_rotate()
307 newxpos = xpos + cx - xres; in _gx_display_driver_332rgb_pixelmap_alpha_rotate()
[all …]
Dgx_canvas_pixelmap_rotate.c233 INT cx; in _gx_canvas_pixelmap_rotate() local
249 cx = pixelmap -> gx_pixelmap_width >> 1; in _gx_canvas_pixelmap_rotate()
253 cx = rot_cx; in _gx_canvas_pixelmap_rotate()
266 _gx_canvas_rotated_pixelmap_bound_calculate(&bound, angle, cx, cy); in _gx_canvas_pixelmap_rotate()
330 pmp_function(context, x_position, y_position, pixelmap, angle, cx, cy); in _gx_canvas_pixelmap_rotate()
Dgx_display_driver_1555xrgb_pixelmap_rotate.c93 INT angle, INT cx, INT cy) in _gx_display_driver_1555xrgb_pixelmap_raw_rotate() argument
161 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_1555xrgb_pixelmap_raw_rotate()
162 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + yres; in _gx_display_driver_1555xrgb_pixelmap_raw_rotate()
164 newxpos = xpos + cx - xres; in _gx_display_driver_1555xrgb_pixelmap_raw_rotate()
178 xx = GX_FIXED_VAL_TO_INT(xx) + cx; in _gx_display_driver_1555xrgb_pixelmap_raw_rotate()
346 INT angle, INT cx, INT cy) in _gx_display_driver_1555xrgb_pixelmap_alpha_rotate() argument
413 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_1555xrgb_pixelmap_alpha_rotate()
414 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + yres; in _gx_display_driver_1555xrgb_pixelmap_alpha_rotate()
416 newxpos = xpos + cx - xres; in _gx_display_driver_1555xrgb_pixelmap_alpha_rotate()
430 xx = GX_FIXED_VAL_TO_INT(xx) + cx; in _gx_display_driver_1555xrgb_pixelmap_alpha_rotate()

12