Skip to content

Commit

Permalink
update IScheme2 and ISurface2.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Feb 14, 2024
1 parent 0a79975 commit 5e19827
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion include/Interface/VGUI/IScheme2.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,12 @@ class ISchemeManager2 : public ISchemeManager_HL25
virtual int GetAlteredProportionalNormalizedValue(int scaledValue) = 0;
virtual int GetHDAlteredProportionalScaledValue(int normalizedValue) = 0;
virtual int GetHDAlteredProportionalNormalizedValue(int scaledValue) = 0;

virtual void SetForcingAlteredProportional(bool bForcingAlteredProportional) = 0;
virtual bool IsForcingAlteredProportional() const = 0;
};

#define VGUI_SCHEME2_INTERFACE_VERSION "VGUI_Scheme2_001"
#define VGUI_SCHEME2_INTERFACE_VERSION "VGUI_Scheme2_002"

} // namespace vgui

Expand Down
4 changes: 3 additions & 1 deletion include/Interface/VGUI/ISurface2.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,12 @@ class ISurface2 : public IBaseInterface
virtual const char *GetResolutionKey( void ) const = 0;
virtual void DeleteTextureByID(int textureId) = 0;
virtual double GetAbsoluteTime() const = 0;
virtual void SetForcingHDProportional(bool bForcingHDProportional) = 0;
virtual bool IsForcingHDProportional() const = 0;
};

}

#define VGUI_SURFACE2_INTERFACE_VERSION "VGUI_Surface2_002"
#define VGUI_SURFACE2_INTERFACE_VERSION "VGUI_Surface2_003"

#endif

0 comments on commit 5e19827

Please sign in to comment.