1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:28:11 +00:00

AK: Rename the common integer typedefs to make it obvious what they are.

These types can be picked up by including <AK/Types.h>:

* u8, u16, u32, u64 (unsigned)
* i8, i16, i32, i64 (signed)
This commit is contained in:
Andreas Kling 2019-07-03 21:17:35 +02:00
parent c4c4bbc5ba
commit 27f699ef0c
208 changed files with 1603 additions and 1621 deletions

View file

@ -6,8 +6,8 @@ public:
GlyphEditorWidget(Font&, GWidget* parent);
virtual ~GlyphEditorWidget() override;
byte glyph() const { return m_glyph; }
void set_glyph(byte);
u8 glyph() const { return m_glyph; }
void set_glyph(u8);
int preferred_width() const;
int preferred_height() const;
@ -15,7 +15,7 @@ public:
Font& font() { return *m_font; }
const Font& font() const { return *m_font; }
Function<void(byte)> on_glyph_altered;
Function<void(u8)> on_glyph_altered;
private:
virtual void paint_event(GPaintEvent&) override;
@ -25,6 +25,6 @@ private:
void draw_at_mouse(const GMouseEvent&);
RefPtr<Font> m_font;
byte m_glyph { 0 };
u8 m_glyph { 0 };
int m_scale { 10 };
};