Four-space indents, braces on their own lines, and one-statement bodies without braces. Semicolons in comments became full stops. Designated initializers may leave fields out without a warning.
15 lines
301 B
C++
15 lines
301 B
C++
#pragma once
|
|
|
|
#include "ui/panel.h"
|
|
|
|
struct ShadersPanel
|
|
{
|
|
PanelState state = {};
|
|
std::string status;
|
|
int dialogShaderId = -1;
|
|
int popupShaderId = -1;
|
|
PopupHelper propertiesPopup = PopupHelper(LABEL_SHADER_PROPERTIES, POPUP_NORMAL);
|
|
};
|
|
|
|
void shaders_update(Panel&, ShadersPanel&);
|