LibGfx: Reduce header dependencies of Bitmap and Font

This commit is contained in:
Andreas Kling 2020-02-15 01:03:37 +01:00
commit 9c0c677d57
Notes: sideshowbarker 2024-07-19 09:19:43 +09:00
4 changed files with 3 additions and 3 deletions

View file

@ -24,6 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <AK/String.h>
#include <LibGUI/Icon.h> #include <LibGUI/Icon.h>
GIcon::GIcon() GIcon::GIcon()

View file

@ -25,6 +25,7 @@
*/ */
#include <AK/SharedBuffer.h> #include <AK/SharedBuffer.h>
#include <AK/String.h>
#include <LibGfx/Bitmap.h> #include <LibGfx/Bitmap.h>
#include <LibGfx/PNGLoader.h> #include <LibGfx/PNGLoader.h>
#include <errno.h> #include <errno.h>

View file

@ -30,10 +30,8 @@
#include <AK/MappedFile.h> #include <AK/MappedFile.h>
#include <AK/RefCounted.h> #include <AK/RefCounted.h>
#include <AK/RefPtr.h> #include <AK/RefPtr.h>
#include <AK/String.h>
#include <LibGfx/Color.h> #include <LibGfx/Color.h>
#include <LibGfx/Rect.h> #include <LibGfx/Rect.h>
#include <LibGfx/Size.h>
namespace Gfx { namespace Gfx {

View file

@ -31,7 +31,7 @@
#include <AK/RefPtr.h> #include <AK/RefPtr.h>
#include <AK/String.h> #include <AK/String.h>
#include <AK/Types.h> #include <AK/Types.h>
#include <LibGfx/Rect.h> #include <LibGfx/Size.h>
namespace Gfx { namespace Gfx {