ADDED: GetWindowTitle()
This commit is contained in:
parent
482b8a5e7e
commit
ec7d0fb0a0
|
|
@ -17,6 +17,7 @@ KEY CHANGES:
|
|||
Detailed changes:
|
||||
[core] ADDED: IsWindowFocused()
|
||||
[core] ADDED: GetWindowScaleDPI()
|
||||
[core] ADDED: GetWindowTitle()
|
||||
[core] ADDED: GetMonitorRefreshRate() (#1289) by @Shylie
|
||||
[core] ADDED: IsCursorOnScreen() (#1262) by @ChrisDill
|
||||
[core] ADDED: SetMouseCursor() and GetMouseCursor() for standard Desktop cursors (#1407) by @chances
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ SetWindowMonitor|void|(int monitor);|
|
|||
SetWindowMinSize|void|(int width, int height);|
|
||||
SetWindowSize|void|(int width, int height);|
|
||||
GetWindowHandle|void *|(void);|
|
||||
GetWindowTitle|const char *|(void);|
|
||||
GetScreenWidth|int|(void);|
|
||||
GetScreenHeight|int|(void);|
|
||||
GetMonitorCount|int|(void);|
|
||||
|
|
|
|||
|
|
@ -70,6 +70,9 @@
|
|||
<Param name="const char *title" />
|
||||
</Overload>
|
||||
</KeyWord>
|
||||
<KeyWord name="GetWindowTitle" func="yes">
|
||||
<Overload retVal="const char *" descr="Get title for window"></Overload>
|
||||
</KeyWord>
|
||||
<KeyWord name="SetWindowPosition" func="yes">
|
||||
<Overload retVal="void" descr="Set window position on screen (only PLATFORM_DESKTOP)">
|
||||
<Param name="int x" />
|
||||
|
|
|
|||
|
|
@ -47,6 +47,9 @@
|
|||
<Param name="const char *title" />
|
||||
</Overload>
|
||||
</KeyWord>
|
||||
<KeyWord name="GetWindowTitle" func="yes">
|
||||
<Overload retVal="const char *" descr="Get title for window"></Overload>
|
||||
</KeyWord>
|
||||
<KeyWord name="SetWindowPosition" func="yes">
|
||||
<Overload retVal="void" descr="Set window position on screen (only PLATFORM_DESKTOP)">
|
||||
<Param name="int x" />
|
||||
|
|
|
|||
|
|
@ -1093,6 +1093,12 @@ void SetWindowTitle(const char *title)
|
|||
#endif
|
||||
}
|
||||
|
||||
// Get title for window
|
||||
const char *GetWindowTitle()
|
||||
{
|
||||
return CORE.Window.title;
|
||||
}
|
||||
|
||||
// Set window position on screen (windowed mode)
|
||||
void SetWindowPosition(int x, int y)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -917,6 +917,7 @@ RLAPI int GetMonitorPhysicalHeight(int monitor); // Get primary
|
|||
RLAPI int GetMonitorRefreshRate(int monitor); // Get primary monitor refresh rate
|
||||
RLAPI Vector2 GetWindowPosition(void); // Get window position XY on monitor
|
||||
RLAPI Vector2 GetWindowScaleDPI(void); // Get window scale DPI factor
|
||||
RLAPI const char *GetWindowTitle(); // Get title for window
|
||||
RLAPI const char *GetMonitorName(int monitor); // Get the human-readable, UTF-8 encoded name of the primary monitor
|
||||
RLAPI void SetClipboardText(const char *text); // Set clipboard text content
|
||||
RLAPI const char *GetClipboardText(void); // Get clipboard text content
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user