gsplash
Loading...
Searching...
No Matches
gsplash Namespace Reference

Namespace utilities for the GSplash module.

Functions

GOptions defineOptions ()
 Defines the module options for GSplash.
 

Function Documentation

◆ defineOptions()

GOptions gsplash::defineOptions ( )
inline

This helper returns a GOptions instance configured for the GSplash module namespace. Applications typically merge/collect options from multiple modules and construct a shared GOptions instance from argc/argv and module definitions.

Expected options consumed by GSplash at runtime include:

  • --gui : when enabled, GSplash will create and show a splash screen; otherwise GSplash::create returns nullptr.
  • -splash_time : minimum time in seconds to keep the splash visible before closing it.
  • -splash_scale : scale factor applied to the loaded splash image.
Returns
A GOptions definition for the GSplash module.

Definition at line 45 of file gsplash.h.