mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:07:36 +00:00
Meta: Tweak .clang-format to not wrap braces after enums.
This commit is contained in:
parent
9145917bf0
commit
39d1a9ae66
97 changed files with 186 additions and 312 deletions
|
@ -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,
|
||||
|
|
|
@ -12,8 +12,7 @@
|
|||
|
||||
class GraphicsBitmap : public Retainable<GraphicsBitmap> {
|
||||
public:
|
||||
enum class Format
|
||||
{
|
||||
enum class Format {
|
||||
Invalid,
|
||||
RGB32,
|
||||
RGBA32,
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
enum class TextAlignment
|
||||
{
|
||||
enum class TextAlignment {
|
||||
TopLeft,
|
||||
CenterLeft,
|
||||
Center,
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
enum class TextElision
|
||||
{
|
||||
enum class TextElision {
|
||||
None,
|
||||
Right,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue