mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00
chore: formating issues by codefactor
This commit is contained in:
parent
573fc6fe13
commit
3806063b01
@ -59,7 +59,6 @@ CApplicationContext::CApplicationContext (int argc, char* argv []) :
|
|||||||
this->settings.render.window.geometry.y = strtol (delim1 + 1, nullptr, 10);
|
this->settings.render.window.geometry.y = strtol (delim1 + 1, nullptr, 10);
|
||||||
this->settings.render.window.geometry.z = strtol (delim2 + 1, nullptr, 10);
|
this->settings.render.window.geometry.z = strtol (delim2 + 1, nullptr, 10);
|
||||||
this->settings.render.window.geometry.w = strtol (delim3 + 1, nullptr, 10);
|
this->settings.render.window.geometry.w = strtol (delim3 + 1, nullptr, 10);
|
||||||
|
|
||||||
})
|
})
|
||||||
.append ();
|
.append ();
|
||||||
backgroundMode.add_argument ("-r", "--screen-root")
|
backgroundMode.add_argument ("-r", "--screen-root")
|
||||||
|
@ -31,8 +31,8 @@ class CPropertySlider final : public CProperty {
|
|||||||
void set (const std::string& value) override;
|
void set (const std::string& value) override;
|
||||||
|
|
||||||
[[nodiscard]] const char* getType () const override;
|
[[nodiscard]] const char* getType () const override;
|
||||||
private:
|
|
||||||
|
|
||||||
|
private:
|
||||||
/** Minimum value */
|
/** Minimum value */
|
||||||
const float m_min;
|
const float m_min;
|
||||||
/** Maximum value */
|
/** Maximum value */
|
||||||
|
@ -51,8 +51,8 @@ class CScene : public CWallpaper {
|
|||||||
[[nodiscard]] const glm::vec3& getSkylightColor () const;
|
[[nodiscard]] const glm::vec3& getSkylightColor () const;
|
||||||
|
|
||||||
[[nodiscard]] const Scenes::CCamera* getCamera () const;
|
[[nodiscard]] const Scenes::CCamera* getCamera () const;
|
||||||
protected:
|
|
||||||
|
|
||||||
|
protected:
|
||||||
friend class CWallpaper;
|
friend class CWallpaper;
|
||||||
|
|
||||||
void insertObject (const CObject* object);
|
void insertObject (const CObject* object);
|
||||||
|
@ -424,7 +424,6 @@ void CShaderUnit::parseParameterConfiguration (
|
|||||||
} else if (require != data.end ()) {
|
} else if (require != data.end ()) {
|
||||||
// this is required based on certain conditions
|
// this is required based on certain conditions
|
||||||
if (requireany != data.end () && requireany->get <bool> ()) {
|
if (requireany != data.end () && requireany->get <bool> ()) {
|
||||||
|
|
||||||
// any of the values set are valid, check for them
|
// any of the values set are valid, check for them
|
||||||
for (const auto& item : require->items ()) {
|
for (const auto& item : require->items ()) {
|
||||||
const std::string& macro = item.key ();
|
const std::string& macro = item.key ();
|
||||||
|
Loading…
Reference in New Issue
Block a user