Lines Matching refs:Surface
352 class Surface { class
356 Surface(Surface::Type type) : m_type(type) {} in Surface() function in curses::Surface
362 Surface SubSurface(Rect bounds) { in SubSurface()
363 Surface subSurface(m_type); in SubSurface()
376 void CopyToSurface(Surface &target, Point source_origin, Point target_origin, in CopyToSurface()
562 class Pad : public Surface {
564 Pad(Size size) : Surface(Surface::Type::Pad) { in Pad()
571 class Window : public Surface {
574 : Surface(Surface::Type::Window), m_name(name), m_panel(nullptr), in Window()
581 : Surface(Surface::Type::Window), m_name(name), m_panel(nullptr), in Window()
591 : Surface(Surface::Type::Window), m_name(name), m_panel(nullptr), in Window()
1026 virtual void FieldDelegateDraw(Surface &surface, bool is_selected) = 0;
1112 void DrawContent(Surface &surface, bool is_selected) { in DrawContent()
1132 void DrawField(Surface &surface, bool is_selected) { in DrawField()
1137 Surface content_surface = surface.SubSurface(content_bounds); in DrawField()
1142 void DrawError(Surface &surface) { in DrawError()
1153 void FieldDelegateDraw(Surface &surface, bool is_selected) override { in FieldDelegateDraw()
1157 Surface field_surface = surface.SubSurface(field_bounds); in FieldDelegateDraw()
1158 Surface error_surface = surface.SubSurface(error_bounds); in FieldDelegateDraw()
1465 void FieldDelegateDraw(Surface &surface, bool is_selected) override { in FieldDelegateDraw()
1545 void DrawContent(Surface &surface, bool is_selected) { in DrawContent()
1561 void FieldDelegateDraw(Surface &surface, bool is_selected) override { in FieldDelegateDraw()
1568 Surface content_surface = surface.SubSurface(content_bounds); in FieldDelegateDraw()
1773 void DrawRemoveButton(Surface &surface, int highlight) { in DrawRemoveButton()
1782 void DrawFields(Surface &surface, bool is_selected) { in DrawFields()
1791 Surface field_surface = surface.SubSurface(field_bounds); in DrawFields()
1792 Surface remove_button_surface = surface.SubSurface(remove_button_bounds); in DrawFields()
1807 void DrawNewButton(Surface &surface, bool is_selected) { in DrawNewButton()
1820 void FieldDelegateDraw(Surface &surface, bool is_selected) override { in FieldDelegateDraw()
1828 Surface fields_surface = surface.SubSurface(fields_bounds); in FieldDelegateDraw()
1829 Surface new_button_surface = surface.SubSurface(new_button_bounds); in FieldDelegateDraw()
2070 void DrawArrow(Surface &surface) { in DrawArrow()
2075 void FieldDelegateDraw(Surface &surface, bool is_selected) override { in FieldDelegateDraw()
2084 Surface key_field_surface = surface.SubSurface(key_field_bounds); in FieldDelegateDraw()
2085 Surface arrow_surface = surface.SubSurface(arrow_bounds); in FieldDelegateDraw()
2086 Surface value_field_surface = surface.SubSurface(value_field_bounds); in FieldDelegateDraw()
2264 void Draw(Surface &surface, bool is_selected) { in Draw()
2547 void UpdateScrolling(Surface &surface) { in UpdateScrolling()
2571 void DrawError(Surface &surface) { in DrawError()
2585 void DrawFields(Surface &surface) { in DrawFields()
2596 Surface field_surface = surface.SubSurface(bounds); in DrawFields()
2602 void DrawActions(Surface &surface) { in DrawActions()
2611 Surface action_surface = surface.SubSurface(bounds); in DrawActions()
2617 void DrawElements(Surface &surface) { in DrawElements()
2622 Surface fields_surface = surface.SubSurface(fields_bounds); in DrawElements()
2623 Surface actions_surface = surface.SubSurface(actions_bounds); in DrawElements()
2632 void DrawContent(Surface &surface) { in DrawContent()
2642 Surface error_surface = pad.SubSurface(error_bounds); in DrawContent()
2643 Surface elements_surface = pad.SubSurface(elements_bounds); in DrawContent()
2653 void DrawSubmitHint(Surface &surface, bool is_active) { in DrawSubmitHint()
2674 Surface content_surface = window.SubSurface(content_bounds); in WindowDelegateDraw()
3703 void UpdateScrolling(Surface &surface) { in UpdateScrolling()
3716 void DrawMatches(Surface &surface) { in DrawMatches()
3735 void DrawContent(Surface &surface) { in DrawContent()
3740 Surface text_field_surface = surface.SubSurface(text_field_bounds); in DrawContent()
3741 Surface matches_surface = surface.SubSurface(matchs_bounds); in DrawContent()
3754 Surface content_surface = window.SubSurface(content_bounds); in WindowDelegateDraw()