RENAMED: riconsdata.h to ricons.h
This commit is contained in:
parent
d297b5d7d9
commit
b8932dab26
@ -503,7 +503,8 @@ RAYGUIDEF bool GuiCheckIconPixel(int iconId, int x, int y); // Check icon pi
|
||||
#if defined(RAYGUI_IMPLEMENTATION)
|
||||
|
||||
#if defined(RAYGUI_SUPPORT_ICONS)
|
||||
#include "riconsdata.h" // Required for: raygui icons data
|
||||
#define RICONS_IMPLEMENTATION
|
||||
#include "ricons.h" // Required for: raygui icons data
|
||||
#endif
|
||||
|
||||
#include <stdio.h> // Required for: FILE, fopen(), fclose(), fprintf(), feof(), fscanf(), vsprintf()
|
||||
|
@ -1,10 +1,10 @@
|
||||
/**********************************************************************************************
|
||||
*
|
||||
* rIconsData - Icons data pack intended for tools development with raygui
|
||||
* rIcons - Icons pack intended for tools development with raygui
|
||||
*
|
||||
* LICENSE: zlib/libpng
|
||||
*
|
||||
* Copyright (c) 2019 Ramon Santamaria (@raysan5)
|
||||
* Copyright (c) 2019-2020 Ramon Santamaria (@raysan5)
|
||||
*
|
||||
**********************************************************************************************/
|
||||
|
||||
@ -287,6 +287,9 @@ typedef enum {
|
||||
RICON_255 = 255,
|
||||
} guiIconName;
|
||||
|
||||
#endif // RICONS_H
|
||||
|
||||
#if defined(RICONS_IMPLEMENTATION)
|
||||
//----------------------------------------------------------------------------------
|
||||
// Icons data (allocated on heap by default)
|
||||
// NOTE: A new icon set could be loaded over this array using GuiLoadIcons(),
|
||||
@ -550,5 +553,4 @@ static unsigned int guiIcons[RICON_MAX_ICONS*RICON_DATA_ELEMENTS] = {
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, // RICON_254
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, // RICON_255
|
||||
};
|
||||
|
||||
#endif // RICONS_H
|
||||
#endif // RICONS_IMPLEMENTATION
|
Loading…
x
Reference in New Issue
Block a user