فهرست منبع

Renamed ShowWindow() to UnhideWindow() -WIP-

Function provisional renaming... that's not the end of this issue...
Ray 6 سال پیش
والد
کامیت
3703430f57
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      src/core.c
  2. 1 1
      src/raylib.h

+ 1 - 1
src/core.c

@@ -836,7 +836,7 @@ void SetWindowSize(int width, int height)
 }
 
 // Show the window
-__stdcall void ShowWindow(void)
+void UnhideWindow(void)
 {
 #if defined(PLATFORM_DESKTOP)
     glfwShowWindow(window);

+ 1 - 1
src/raylib.h

@@ -840,7 +840,7 @@ RLAPI bool IsWindowReady(void);                                   // Check if wi
 RLAPI bool IsWindowMinimized(void);                               // Check if window has been minimized (or lost focus)
 RLAPI bool IsWindowHidden(void);                                  // Check if window is currently hidden
 RLAPI void ToggleFullscreen(void);                                // Toggle fullscreen mode (only PLATFORM_DESKTOP)
-RLAPI __stdcall void ShowWindow(void);                                      // Show the window
+RLAPI void UnhideWindow(void);                                    // Show the window
 RLAPI void HideWindow(void);                                      // Hide the window
 RLAPI void SetWindowIcon(Image image);                            // Set icon for window (only PLATFORM_DESKTOP)
 RLAPI void SetWindowTitle(const char *title);                     // Set title for window (only PLATFORM_DESKTOP)