1 /* Copyright (c) 2008, 2009 Nicira Networks, Inc.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
22 /* Constants for visual representation of a row in an EZIO icon. */
64 void ezio_init(struct ezio *);
65 void ezio_set_icon(struct ezio *, int idx,
66 int row0, int row1, int row2, int row3,
67 int row4, int row5, int row6, int row7);
68 void ezio_set_default_icon(struct ezio *, int idx);
69 void ezio_clear(struct ezio *);
70 void ezio_put_char(struct ezio *, int x, int y, uint8_t c);
71 void ezio_line_feed(struct ezio *);
72 void ezio_newline(struct ezio *);
73 void ezio_delete_char(struct ezio *, int x, int y, int n);
74 void ezio_delete_line(struct ezio *, int y, int n);
75 void ezio_insert_char(struct ezio *, int x, int y, int n);
76 void ezio_insert_line(struct ezio *, int y, int n);
77 void ezio_scroll_left(struct ezio *, int n);
78 void ezio_scroll_right(struct ezio *, int n);
79 void ezio_scroll_up(struct ezio *, int n);
80 void ezio_scroll_down(struct ezio *, int n);
81 bool ezio_chars_differ(const struct ezio *, const struct ezio *,
82 int x0, int x1, int *xp, int *yp);