* Give boot stages a more meaningful name, make the max stage count known.

* Calculate icon offset from stage in splash.cpp, remove hard coded placement
  values. Draw only icon, not the whole image from top/left to right of
  icon.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24439 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2008-03-18 13:14:18 +00:00
parent 48e299e2ef
commit 7d85665d0f
3 changed files with 24 additions and 42 deletions
+9 -7
View File
@@ -35,13 +35,15 @@ extern "C" {
#endif
enum {
BOOT_SPLASH_STAGE_1 = 0,
BOOT_SPLASH_STAGE_2,
BOOT_SPLASH_STAGE_3,
BOOT_SPLASH_STAGE_4,
BOOT_SPLASH_STAGE_5,
BOOT_SPLASH_STAGE_6,
BOOT_SPLASH_STAGE_7
BOOT_SPLASH_STAGE_1_INIT_MODULES = 0,
BOOT_SPLASH_STAGE_2_BOOTSTRAP_FS,
BOOT_SPLASH_STAGE_3_INIT_DEVICES,
BOOT_SPLASH_STAGE_4_MOUNT_BOOT_FS,
BOOT_SPLASH_STAGE_5_INIT_CPU_MODULES,
BOOT_SPLASH_STAGE_6_INIT_VM_MODULES,
BOOT_SPLASH_STAGE_7_RUN_BOOT_SCRIPT,
BOOT_SPLASH_STAGE_MAX // keep this at the end
};
status_t boot_splash_fb_init(struct kernel_args *args);