Changeset e87e18f in mainline for console/screenbuffer.c
- Timestamp:
- 2006-06-02T18:19:08Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d6cc453
- Parents:
- a9bd960c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
console/screenbuffer.c
ra9bd960c re87e18f 47 47 /** Initilize screenbuffer. Allocate space for screen content in accordance to given size. 48 48 * @param scr initialized screenbuffer 49 * @param size_x 50 * @param size_y 49 * @param size_x width in characters 50 * @param size_y height in characters 51 * @return pointer to screenbuffer (same as scr parameter) or NULL 51 52 */ 52 53 screenbuffer_t *screenbuffer_init(screenbuffer_t *scr, int size_x, int size_y) … … 66 67 } 67 68 69 /** Clear screenbuffer. 70 * @param scr screenbuffer 71 */ 68 72 void screenbuffer_clear(screenbuffer_t *scr) 69 73 { … … 80 84 } 81 85 82 /** Clear one buffer line 86 /** Clear one buffer line. 83 87 * @param scr 84 88 * @param line One buffer line (not a screen line!) … … 94 98 } 95 99 100 /** Copy content buffer from screenbuffer to given memory. 101 * @param scr source screenbuffer 102 * @param dest destination 103 */ 96 104 void screenbuffer_copy_buffer(screenbuffer_t *scr, keyfield_t *dest) 97 105 { … … 103 111 } 104 112 113 /** Set new cursor position in screenbuffer. 114 * @param scr 115 * @param x 116 * @param y 117 */ 105 118 void screenbuffer_goto(screenbuffer_t *scr, unsigned int x, unsigned int y) 106 119 { … … 109 122 } 110 123 124 /** Set new style. 125 * @param scr 126 * @param fg_color 127 * @param bg_color 128 */ 111 129 void screenbuffer_set_style(screenbuffer_t *scr, unsigned int fg_color, unsigned int bg_color) 112 130 {
Note:
See TracChangeset
for help on using the changeset viewer.