diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-06 20:07:24 +0100 | 
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-06 20:07:45 +0100 | 
| commit | fdb4c99e139a264d4e15e6913a3756fc6cccb2f2 (patch) | |
| tree | 144b0e9efecd4c10d6d79a17b4bf571336d45961 /src/crepe/api/Button.h | |
| parent | 9c1fb8b2253149d4a15a94b7ee576a0f9e791033 (diff) | |
nitpick #59
Diffstat (limited to 'src/crepe/api/Button.h')
| -rw-r--r-- | src/crepe/api/Button.h | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/crepe/api/Button.h b/src/crepe/api/Button.h index 26e7526..61b18d7 100644 --- a/src/crepe/api/Button.h +++ b/src/crepe/api/Button.h @@ -11,7 +11,7 @@ class Button : public UIObject {  public:  	/**  	 * \brief Constructs a Button with the specified game object ID and dimensions. -	 *  +	 *  	 * \param id The unique ID of the game object associated with this button.  	 * \param dimensions The width and height of the UIObject  	 * \param offset The offset relative this GameObjects Transform @@ -23,7 +23,7 @@ public:  	/**  	 * \brief Indicates if the button is a toggle button (can be pressed and released). -	 *  +	 *  	 * A toggle button allows for a pressed/released state, whereas a regular button  	 * typically only has an on-click state.  	 */ @@ -31,7 +31,7 @@ public:  	// TODO: create separate toggle button class  	/**  	 * \brief The callback function to be executed when the button is clicked. -	 *  +	 *  	 * This function is invoked whenever the button is clicked. It can be set to any  	 * function that matches the signature `void()`.  	 */ |