1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:27:35 +00:00

Meta: Tweak .clang-format to not wrap braces after enums.

This commit is contained in:
Andreas Kling 2019-06-07 17:13:23 +02:00
parent 9145917bf0
commit 39d1a9ae66
97 changed files with 186 additions and 312 deletions

View file

@ -12,8 +12,7 @@ inline constexpr dword make_rgb(byte r, byte g, byte b)
class Color {
public:
enum NamedColor
{
enum NamedColor {
Black,
White,
Red,

View file

@ -12,8 +12,7 @@
class GraphicsBitmap : public Retainable<GraphicsBitmap> {
public:
enum class Format
{
enum class Format {
Invalid,
RGB32,
RGBA32,

View file

@ -38,8 +38,7 @@ public:
const Font& font() const { return *state().font; }
void set_font(const Font& font) { state().font = &font; }
enum class DrawOp
{
enum class DrawOp {
Copy,
Xor
};

View file

@ -3,19 +3,16 @@
class Painter;
class Rect;
enum class ButtonStyle
{
enum class ButtonStyle {
Normal,
CoolBar
};
enum class FrameShadow
{
enum class FrameShadow {
Plain,
Raised,
Sunken
};
enum class FrameShape
{
enum class FrameShape {
NoFrame,
Box,
Container,

View file

@ -1,7 +1,6 @@
#pragma once
enum class TextAlignment
{
enum class TextAlignment {
TopLeft,
CenterLeft,
Center,

View file

@ -1,7 +1,6 @@
#pragma once
enum class TextElision
{
enum class TextElision {
None,
Right,
};