diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-13 16:53:51 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-13 16:53:51 +0100 |
commit | 731200111990fa8270781ffad2f060f9c214a12a (patch) | |
tree | cb00fbfd4af4a8ea7cdc8e128412ff8a48428776 /src/kern.h | |
parent | m (diff) | |
download | scrotty-731200111990fa8270781ffad2f060f9c214a12a.tar.gz scrotty-731200111990fa8270781ffad2f060f9c214a12a.tar.bz2 scrotty-731200111990fa8270781ffad2f060f9c214a12a.tar.xz |
support margins
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | src/kern.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -55,14 +55,13 @@ char *get_fbpath (int altpath, int fbno); * Get the dimensions of a framebuffer. * * @param fbno The number of the framebuffer. - * @param fbpath The path to the framebuffer device.. + * @param fbfd File descriptor for framebuffer device. * @param width Output parameter for the width of the image. * @param height Output parameter for the height of the image. * @parma data Additional data to pass to `convert_fb_to_png`. * @return Zero on success, -1 on error. */ -int measure (int fbno, char *restrict fbpath, long *restrict width, - long *restrict height, void **restrict data); +int measure (int fbno, int fbfd, long *restrict width, long *restrict height, void **restrict data); /** * Convert read data from a framebuffer to PNG pixel data. |