-
Notifications
You must be signed in to change notification settings - Fork 0
/
splash.h
28 lines (24 loc) · 1 KB
/
splash.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
* Copyright 2014 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SPLASH_H
#define SPLASH_H
typedef struct _splash_t splash_t;
int splash_add_image(splash_t*, char* filespec);
int splash_destroy(splash_t*);
splash_t* splash_init(int pts_fd);
int splash_is_hires(splash_t* splash);
int splash_num_images(splash_t* splash);
int splash_run(splash_t*);
int splash_set_clear(splash_t* splash, uint32_t clear_color);
void splash_set_default_duration(splash_t* splash, uint32_t duration);
void splash_set_loop_count(splash_t* splash, int32_t count);
void splash_set_loop_duration(splash_t* splash, uint32_t duration);
void splash_set_loop_offset(splash_t* splash, int32_t x, int32_t y);
void splash_set_loop_start(splash_t* splash, int32_t start_location);
void splash_set_offset(splash_t* splash, int32_t x, int32_t y);
void splash_set_scale(splash_t* splash, uint32_t scale);
void splash_redrm(splash_t* splash);
#endif // SPLASH_H