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_parent(nullptr), in Window()
1025 virtual void FieldDelegateDraw(Surface &surface, bool is_selected) = 0;
1111 void DrawContent(Surface &surface, bool is_selected) { in DrawContent()
1131 void DrawField(Surface &surface, bool is_selected) { in DrawField()
1136 Surface content_surface = surface.SubSurface(content_bounds); in DrawField()
1141 void DrawError(Surface &surface) { in DrawError()
1152 void FieldDelegateDraw(Surface &surface, bool is_selected) override { in FieldDelegateDraw()
1156 Surface field_surface = surface.SubSurface(field_bounds); in FieldDelegateDraw()
1157 Surface error_surface = surface.SubSurface(error_bounds); in FieldDelegateDraw()
1464 void FieldDelegateDraw(Surface &surface, bool is_selected) override { in FieldDelegateDraw()
1544 void DrawContent(Surface &surface, bool is_selected) { in DrawContent()
1560 void FieldDelegateDraw(Surface &surface, bool is_selected) override { in FieldDelegateDraw()
1567 Surface content_surface = surface.SubSurface(content_bounds); in FieldDelegateDraw()
1772 void DrawRemoveButton(Surface &surface, int highlight) { in DrawRemoveButton()
1781 void DrawFields(Surface &surface, bool is_selected) { in DrawFields()
1790 Surface field_surface = surface.SubSurface(field_bounds); in DrawFields()
1791 Surface remove_button_surface = surface.SubSurface(remove_button_bounds); in DrawFields()
1806 void DrawNewButton(Surface &surface, bool is_selected) { in DrawNewButton()
1819 void FieldDelegateDraw(Surface &surface, bool is_selected) override { in FieldDelegateDraw()
1827 Surface fields_surface = surface.SubSurface(fields_bounds); in FieldDelegateDraw()
1828 Surface new_button_surface = surface.SubSurface(new_button_bounds); in FieldDelegateDraw()
2069 void DrawArrow(Surface &surface) { in DrawArrow()
2074 void FieldDelegateDraw(Surface &surface, bool is_selected) override { in FieldDelegateDraw()
2083 Surface key_field_surface = surface.SubSurface(key_field_bounds); in FieldDelegateDraw()
2084 Surface arrow_surface = surface.SubSurface(arrow_bounds); in FieldDelegateDraw()
2085 Surface value_field_surface = surface.SubSurface(value_field_bounds); in FieldDelegateDraw()
2263 void Draw(Surface &surface, bool is_selected) { in Draw()
2546 void UpdateScrolling(Surface &surface) { in UpdateScrolling()
2570 void DrawError(Surface &surface) { in DrawError()
2584 void DrawFields(Surface &surface) { in DrawFields()
2595 Surface field_surface = surface.SubSurface(bounds); in DrawFields()
2601 void DrawActions(Surface &surface) { in DrawActions()
2610 Surface action_surface = surface.SubSurface(bounds); in DrawActions()
2616 void DrawElements(Surface &surface) { in DrawElements()
2621 Surface fields_surface = surface.SubSurface(fields_bounds); in DrawElements()
2622 Surface actions_surface = surface.SubSurface(actions_bounds); in DrawElements()
2631 void DrawContent(Surface &surface) { in DrawContent()
2641 Surface error_surface = pad.SubSurface(error_bounds); in DrawContent()
2642 Surface elements_surface = pad.SubSurface(elements_bounds); in DrawContent()
2652 void DrawSubmitHint(Surface &surface, bool is_active) { in DrawSubmitHint()
2673 Surface content_surface = window.SubSurface(content_bounds); in WindowDelegateDraw()
3702 void UpdateScrolling(Surface &surface) { in UpdateScrolling()
3715 void DrawMatches(Surface &surface) { in DrawMatches()
3734 void DrawContent(Surface &surface) { in DrawContent()
3739 Surface text_field_surface = surface.SubSurface(text_field_bounds); in DrawContent()
3740 Surface matches_surface = surface.SubSurface(matchs_bounds); in DrawContent()
3753 Surface content_surface = window.SubSurface(content_bounds); in WindowDelegateDraw()