Replace use of 'typedef' by 'using'

Issue #5227
This commit is contained in:
Norman Feske
2024-06-28 17:20:59 +02:00
parent 361557e1f0
commit 19c13877ca
442 changed files with 1306 additions and 1349 deletions

View File

@ -79,7 +79,7 @@ static long config_fb_y = 260;
/**
* Window title
*/
typedef Genode::String<128> Title;
using Title = Genode::String<128>;
static Title config_title { "Liquid Framebuffer" };
/**

View File

@ -26,7 +26,7 @@
#include "services.h"
typedef Genode::Texture<Genode::Pixel_rgb888> Texture_rgb888;
using Texture_rgb888 = Genode::Texture<Genode::Pixel_rgb888>;
class Window_content : public Scout::Element

View File

@ -33,11 +33,11 @@
enum { LOG_W = 80 }; /* number of visible characters per line */
enum { LOG_H = 25 }; /* number of lines of log window */
typedef Text_painter::Font Font;
typedef Genode::Surface_base::Point Point;
typedef Genode::Surface_base::Area Area;
typedef Genode::Surface_base::Rect Rect;
typedef Genode::Color Color;
using Font = Text_painter::Font;
using Point = Genode::Surface_base::Point;
using Area = Genode::Surface_base::Area;
using Rect = Genode::Surface_base::Rect;
using Color = Genode::Color;
/*
@ -357,8 +357,8 @@ class Log_view
Gui::Area _size;
Gui::Session::View_handle _handle;
typedef Gui::Session::Command Command;
typedef Gui::Session::View_handle View_handle;
using Command = Gui::Session::Command;
using View_handle = Gui::Session::View_handle;
public: