Home
last modified time | relevance | path

Searched refs:top (Results 1 – 25 of 74) sorted by relevance

123

/GUIX-v6.2.1/samples/demo_guix_calculator/
Devaluate.c17 int top; member
23 int top; member
29 GX_VALUE top; in popOperand() local
31 top = stack -> top; in popOperand()
32 if(top >= 0) in popOperand()
34 *operand = stack -> operand[top]; in popOperand()
35 stack -> top --; in popOperand()
44 stack -> top ++; in pushOperand()
45 stack -> operand[stack -> top] = operand; in pushOperand()
52 GX_VALUE top; in popOperation() local
[all …]
/GUIX-v6.2.1/guix_studio/
Dscreen_flow_edit_dlg.cpp134 size.top = (client.Height() - bmp.bmHeight) >> 1; in OnSize()
135 size.bottom = size.top + bmp.bmHeight; in OnSize()
155 size.top = client.top + 2; in OnSize()
482 rectF.Y = (REAL)(scaled_rect.top - scrollpos.cy); in OnPaint()
529 dirty.top -= scrollpos.cy; in OnLButtonDown()
656 (scaled_rect.top >= client.top)) in FindFirstVisibleItem()
659 (scaled_rect.top < find_rect.top) || in FindFirstVisibleItem()
660 ((scaled_rect.top == find_rect.top) && (scaled_rect.left < find_rect.left))) in FindFirstVisibleItem()
765 if (scaled_rect.top - scrollpos.cy + scaled_shift_y < client.top) in ShiftTop()
769 int top; in ShiftTop() local
[all …]
Dleft_panel_frame.cpp62 childrect.bottom = childrect.top + m_header_height - 1; in OnCreate()
66 childrect.top = childrect.bottom; in OnCreate()
67 childrect.bottom -= (clientrect.bottom - clientrect.top) / 2; in OnCreate()
83 childrect.bottom = childrect.top + m_header_height - 1; in PositionChildren()
86 childrect.top = childrect.bottom; in PositionChildren()
157 childrect.top = childrect.top; in OnCreate()
158 childrect.bottom = childrect.top + m_header_height - 1; in OnCreate()
162 childrect.top = childrect.bottom + 1; in OnCreate()
180 childrect.bottom = childrect.top + m_header_height - 1; in PositionChildren()
183 childrect.top = childrect.bottom; in PositionChildren()
Dresource_item.cpp611 …dc->StretchBlt(xpos, m_size.top, width, m_header_height, &dcMemory, 0, 0, width, bm.bmHeight, SRCC… in PaintThemeHeader()
620 rect.top += 1; in PaintThemeHeader()
633 boxrect.bottom = boxrect.top + m_header_height; in PaintThemeHeader()
638 vspace = boxrect.bottom - boxrect.top; in PaintThemeHeader()
641 PaintIcon(dc, icon_id, boxrect.left, boxrect.top + vspace); in PaintThemeHeader()
666 m_up_icon_rect.top = m_size.top + 2; in PaintThemeHeader()
668 m_up_icon_rect.bottom = m_up_icon_rect.top + height; in PaintThemeHeader()
671 …dc->StretchBlt(m_up_icon_rect.left, m_up_icon_rect.top, width, height, &dcMemory, 0, 0, bitmap.bmW… in PaintThemeHeader()
678 m_down_icon_rect.top = m_up_icon_rect.bottom; in PaintThemeHeader()
680 m_down_icon_rect.bottom = m_down_icon_rect.top + height; in PaintThemeHeader()
[all …]
Dresource_tree.cpp95 int resource_tree::PositionItems(resource_item *start, int top, int indent, CDC *dc) in PositionItems() argument
99 size.top = top; in PositionItems()
104 size.bottom = size.top + start->GetHeight() - 1; in PositionItems()
115 top = size.bottom + 1; in PositionItems()
130 top = start->LayoutFolderChildren(dc, top); in PositionItems()
137 top = PositionItems(start->First(), top, indent + 1, dc); in PositionItems()
140 size.top = top; in PositionItems()
144 return top; in PositionItems()
Dtarget_view.cpp79 childrect.top = 0; in OnCreate()
121 pDC->PatBlt(rect.left, rect.top, rect.Width(), rect.Height(), in OnEraseBkgnd()
282 sizetotal.cy = size.bottom - size.top + 2; in UpdateScrollSize()
308 vertex[0].y = client.top; in OnEraseBkgnd()
350 pDC->MoveTo(size.right + 1, size.top -1); in OnDraw()
354 pDC->LineTo(size.left - 1, size.top - 1); in OnDraw()
355 pDC->LineTo(size.right + 1, size.top - 1); in OnDraw()
358 pDC->MoveTo(size.right + 8, size.top - 1); in OnDraw()
359 pDC->LineTo(size.right + 1, size.top - 1); in OnDraw()
360 pDC->LineTo(size.right + 1, size.top - 8); in OnDraw()
[all …]
Dexpress_dialog.cpp69 size.bottom = size.top + m_height; in OnCreate()
80 size.top += offset; in OnCreate()
83 size.bottom = size.top + m_title_bar_height; in OnCreate()
135 size.top = size.bottom - m_save_button_height; in AddSaveButton()
155 size.top = size.bottom - m_cancel_button_height; in AddCancelButton()
192 ypos = controlbox.top; in PaintRequiredAsterisk()
224 …dc->StretchBlt(xpos, size.top, bm.bmWidth, m_title_bar_height, &dcMemory, 0, 0, bm.bmWidth, bm.bmH… in PaintTitleAndStatusBar()
235 title_rect.bottom = title_rect.top + m_title_bar_height; in PaintTitleAndStatusBar()
248 …dc->StretchBlt(title_rect.left, title_rect.top + vspace, icon_width, icon_width, &dcMemory, 0, 0, … in PaintTitleAndStatusBar()
285 rect.bottom = rect.top + m_title_bar_height; in OnNcHitTest()
[all …]
Dstring_table_edit_dlg.cpp440 int height = size.bottom - size.top; in PositionChildren()
446 childsize.top += (m_title_bar_height + 4); in PositionChildren()
447 childsize.bottom = childsize.top + m_button_bar_height; in PositionChildren()
453 childsize.top = childsize.bottom + 1; in PositionChildren()
454 childsize.bottom = childsize.top + m_table_header_height; in PositionChildren()
457 childsize.top = childsize.bottom + 1; in PositionChildren()
458 childsize.bottom = size.top + (height / 2) - 12; in PositionChildren()
465 childsize.top -= m_table_header_height; in PositionChildren()
466 childsize.bottom = childsize.top + m_table_header_height; in PositionChildren()
470 childsize.top = childsize.bottom + 1; in PositionChildren()
[all …]
Dstring_scroll_wheel_edit_dlg.cpp113 frame_size.top = size.bottom + 5; in OnInitDialog()
149 if (rect.top < list_client.top) in TestSetRowData()
151 mpValueListFrame->Scroll(rect.top - list_client.top); in TestSetRowData()
223 size.top += 5; in OnCreate()
284 pDC->PatBlt(rect.left, rect.top, rect.Width(), rect.Height(), in OnEraseBkgnd()
336 if (rect.top < list_client.top) in PreTranslateKeyDown()
338 list->Scroll(rect.top - list_client.top); in PreTranslateKeyDown()
540 client.bottom = client.top + mRowHeight; in OnCreate()
601 if (rect.top < list_client.top) in OnSetFocus()
Dfont_path_dialog.cpp163 dc.MoveTo(client.left, client.top); in BEGIN_MESSAGE_MAP()
164 dc.LineTo(client.right, client.top); in BEGIN_MESSAGE_MAP()
167 dc.MoveTo(client.left, client.top); in BEGIN_MESSAGE_MAP()
169 dc.MoveTo(client.right - 1, client.top); in BEGIN_MESSAGE_MAP()
183 rect.top += (size.Height() - sz.cy) / 2; in BEGIN_MESSAGE_MAP()
185 dc.MoveTo(size.right, size.top); in BEGIN_MESSAGE_MAP()
190 rect.top += (size.Height() - sz.cy) / 2; in BEGIN_MESSAGE_MAP()
193 dc.MoveTo(size.right, size.top); in BEGIN_MESSAGE_MAP()
198 rect.top += (size.Height() - sz.cy) / 2; in BEGIN_MESSAGE_MAP()
248 RangeListEntrySize.bottom = RangeListEntrySize.top + m_range_row_height; in OnCreate()
[all …]
Dwait_dialog.cpp46 size.bottom = size.top + m_height; in OnCreate()
55 size.top += 44; in OnCreate()
85 dc->BitBlt(xpos, size.top, width, height, &dcMemory, 0, 0, SRCCOPY); in PaintTitleBar()
97 dc->BitBlt(size.left + 4, size.top + 4, bm.bmWidth, bm.bmHeight, &dcMemory, 0, 0, SRCCOPY); in PaintTitleBar()
103 dc->TextOut(size.left + bm.bmWidth + 8, size.top + 4, _T("Please Wait...")); in PaintTitleBar()
/GUIX-v6.2.1/common/src/
Dgx_system_screen_stack_pop.c72 INT top; in _gx_system_screen_stack_pop() local
76 top = _gx_system_screen_stack.gx_screen_stack_control_top; in _gx_system_screen_stack_pop()
78 if (top >= 0) in _gx_system_screen_stack_pop()
80 top <<= 1; in _gx_system_screen_stack_pop()
81 screen = _gx_system_screen_stack.gx_screen_stack_control_memory[top]; in _gx_system_screen_stack_pop()
82 parent = _gx_system_screen_stack.gx_screen_stack_control_memory[top + 1]; in _gx_system_screen_stack_pop()
Dgx_system_screen_stack_push.c73 INT top; in _gx_system_screen_stack_push() local
76 top = _gx_system_screen_stack.gx_screen_stack_control_top; in _gx_system_screen_stack_push()
78 if (top <= _gx_system_screen_stack.gx_screen_stack_control_max - 1) in _gx_system_screen_stack_push()
80 top <<= 1; in _gx_system_screen_stack_push()
83 _gx_system_screen_stack.gx_screen_stack_control_memory[top] = screen; in _gx_system_screen_stack_push()
84 … _gx_system_screen_stack.gx_screen_stack_control_memory[top + 1] = screen -> gx_widget_parent; in _gx_system_screen_stack_push()
Dgx_screen_stack_pop.c72 INT top; in _gx_screen_stack_pop() local
76 top = control -> gx_screen_stack_control_top; in _gx_screen_stack_pop()
78 if (top >= 0) in _gx_screen_stack_pop()
80 top <<= 1; in _gx_screen_stack_pop()
81 screen = control -> gx_screen_stack_control_memory[top]; in _gx_screen_stack_pop()
82 parent = control -> gx_screen_stack_control_memory[top + 1]; in _gx_screen_stack_pop()
Dgx_screen_stack_push.c75 INT top; in _gx_screen_stack_push() local
77 top = control -> gx_screen_stack_control_top; in _gx_screen_stack_push()
79 if (top <= control -> gx_screen_stack_control_max - 1) in _gx_screen_stack_push()
81 top <<= 1; in _gx_screen_stack_push()
84 control -> gx_screen_stack_control_memory[top] = screen; in _gx_screen_stack_push()
85 control -> gx_screen_stack_control_memory[top + 1] = screen -> gx_widget_parent; in _gx_screen_stack_push()
Dgx_system_screen_stack_get.c73 INT top; in _gx_system_screen_stack_get() local
77 top = _gx_system_screen_stack.gx_screen_stack_control_top; in _gx_system_screen_stack_get()
79 if (top >= 0) in _gx_system_screen_stack_get()
81 top <<= 1; in _gx_system_screen_stack_get()
82 screen = _gx_system_screen_stack.gx_screen_stack_control_memory[top]; in _gx_system_screen_stack_get()
83 parent = _gx_system_screen_stack.gx_screen_stack_control_memory[top + 1]; in _gx_system_screen_stack_get()
Dgx_system_input_release.c87 INT top; in _gx_system_input_release() local
95 top = _gx_system_capture_count - 1; in _gx_system_input_release()
98 while (current <= top) in _gx_system_input_release()
113 while (current < top) in _gx_system_input_release()
120 if (top > 0) in _gx_system_input_release()
122 _gx_system_input_owner = stack[top - 1]; in _gx_system_input_release()
Dgx_rich_text_view_context_peek.c70 GX_UBYTE top; in _gx_rich_text_view_context_peek() local
72 top = _gx_system_rich_text_context_stack.gx_rich_text_context_stack_top; in _gx_rich_text_view_context_peek()
74 if ((top <= 0) || (context == GX_NULL)) in _gx_rich_text_view_context_peek()
79 top--; in _gx_rich_text_view_context_peek()
81 *context = _gx_system_rich_text_context_stack.gx_rich_text_context_stack[top]; in _gx_rich_text_view_context_peek()
Dgx_animation_start.c99 GX_VALUE top; in _gx_animation_start() local
110 top = info -> gx_animation_target -> gx_widget_size.gx_rectangle_top; in _gx_animation_start()
112 if (left || top) in _gx_animation_start()
114 … _gx_widget_shift(info -> gx_animation_target, (GX_VALUE)-left, (GX_VALUE)-top, GX_FALSE); in _gx_animation_start()
162 top = (GX_VALUE)(info -> gx_animation_start_position.gx_point_y - in _gx_animation_start()
165 if (left || top) in _gx_animation_start()
168 left, top, GX_TRUE); in _gx_animation_start()
Dgx_rich_text_view_context_restore.c69 GX_UBYTE top = _gx_system_rich_text_context_stack_save.gx_rich_text_context_stack_top; in _gx_rich_text_view_context_restore() local
71 if (top) in _gx_rich_text_view_context_restore()
75 …ystem_rich_text_context_stack_save.gx_rich_text_context_stack, sizeof(GX_RICH_TEXT_CONTEXT) * top); in _gx_rich_text_view_context_restore()
78 _gx_system_rich_text_context_stack.gx_rich_text_context_stack_top = top; in _gx_rich_text_view_context_restore()
Dgx_rich_text_view_context_save.c69 GX_UBYTE top = _gx_system_rich_text_context_stack.gx_rich_text_context_stack_top; in _gx_rich_text_view_context_save() local
71 if (top) in _gx_rich_text_view_context_save()
75 …_gx_system_rich_text_context_stack.gx_rich_text_context_stack, sizeof(GX_RICH_TEXT_CONTEXT) * top); in _gx_rich_text_view_context_save()
78 _gx_system_rich_text_context_stack_save.gx_rich_text_context_stack_top = top; in _gx_rich_text_view_context_save()
Dgx_display_driver_generic_mouse_draw.c76 GX_VALUE top; in _gx_display_driver_generic_mouse_draw() local
88 top = display -> gx_display_mouse.gx_mouse_position.gx_point_y; in _gx_display_driver_generic_mouse_draw()
90top = (GX_VALUE)(top - display -> gx_display_mouse.gx_mouse_cursor_info -> gx_mouse_cursor_hotspot… in _gx_display_driver_generic_mouse_draw()
111 _gx_canvas_pixelmap_draw(left, top, map); in _gx_display_driver_generic_mouse_draw()
Dgx_animation_drag_tracking_start.c87 GX_VALUE top; in _gx_animation_drag_tracking_start() local
251 top = target_1 -> gx_widget_size.gx_rectangle_top; in _gx_animation_drag_tracking_start()
256 top = target_2 -> gx_widget_size.gx_rectangle_top; in _gx_animation_drag_tracking_start()
259 if (left || top) in _gx_animation_drag_tracking_start()
261 _gx_widget_shift(target_1, (GX_VALUE)-left, (GX_VALUE)-top, GX_TRUE); in _gx_animation_drag_tracking_start()
265 _gx_widget_shift(target_2, (GX_VALUE)-left, (GX_VALUE)-top, GX_TRUE); in _gx_animation_drag_tracking_start()
270 _gx_canvas_offset_set(animation -> gx_animation_canvas, left, top); in _gx_animation_drag_tracking_start()
Dgx_widget_border_draw.c98 INT top; in _gx_widget_border_draw() local
109 top = widget -> gx_widget_size.gx_rectangle_top; in _gx_widget_border_draw()
114 top += border_width / 2; in _gx_widget_border_draw()
136 _gx_canvas_line_draw((GX_VALUE)left, (GX_VALUE)top, (GX_VALUE)right, (GX_VALUE)top); in _gx_widget_border_draw()
141 top = widget -> gx_widget_size.gx_rectangle_bottom - border_width + 1; in _gx_widget_border_draw()
142 top += border_width / 2; in _gx_widget_border_draw()
143 _gx_canvas_line_draw((GX_VALUE)left, (GX_VALUE)top, (GX_VALUE)right, (GX_VALUE)top); in _gx_widget_border_draw()
/GUIX-v6.2.1/test/guix_test/regression_test/tests/
Dvalidation_guix_canvas_polygon_draw.c66 int left, right, top, bottom; in control_thread_entry() local
75 top = pGraphicsWin->gx_widget_size.gx_rectangle_top; in control_thread_entry()
81 top += 10; in control_thread_entry()
87 size.gx_rectangle_top = top; in control_thread_entry()
94 left,top,right,bottom); in control_thread_entry()

123