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