Skip to content

Commit

Permalink
procui: Fix ProcUIInForeground and ProcUIIsRunning comments (#330)
Browse files Browse the repository at this point in the history
* procui: Fix ProcUIInForeground and ProcUIIsRunning comments

* Apply suggestions from code review

Co-authored-by: GaryOderNichts <[email protected]>

---------

Co-authored-by: GaryOderNichts <[email protected]>
  • Loading branch information
Andrew1Hawes and GaryOderNichts authored Oct 17, 2023
1 parent 922eb45 commit b98f8fc
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions include/proc_ui/procui.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,11 @@ ProcUIDrawDoneRelease();
* Determines whether the application is in the foreground.
*
* \returns
* \c true if the application status is #PROCUI_STATUS_IN_FOREGROUND.
* \c true if the application is in foreground (e.g. during #PROCUI_STATUS_IN_FOREGROUND or #PROCUI_STATUS_RELEASE_FOREGROUND).
*
* \sa
* - #PROCUI_STATUS_IN_FOREGROUND
* - #PROCUI_STATUS_RELEASE_FOREGROUND
* - ProcUIRegisterCallback()
*/
BOOL
Expand Down Expand Up @@ -185,14 +186,15 @@ ProcUIInitEx(ProcUISaveCallbackEx saveCallback,
void *arg);

/**
* Determines whether the application is running.
* Determines whether the ProcUI library is running/initialised.
*
* \returns
* \c true if the application is running.
* \c true if the ProcUI library is initialised.
*
* \if false
* running? what does that actually mean? any state except exiting?
* \endif
* \sa
* - ProcUIInit()
* - ProcUIInitEx()
* - ProcUIShutdown()
*/
BOOL
ProcUIIsRunning();
Expand Down

0 comments on commit b98f8fc

Please sign in to comment.