Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed spelling mistakes #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fixed spelling mistakes #5

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 31, 2021

No description provided.

@absoIute
Copy link
Owner

you disappear for weeks and come back for THIS??

@ghost
Copy link
Author

ghost commented Dec 31, 2021

Grammar is important, Ben.

@absoIute
Copy link
Owner

the British spelling is the right 😡

@qimiko
Copy link

qimiko commented Jan 1, 2022

i think we merge this in solidarity

@camila314
Copy link

i agree, this will be too iconic to just close

@qimiko
Copy link

qimiko commented Jan 1, 2022

i propose a preprocessor variable to maintain backwards compatibility as well, something like this:

#ifdef BRITISH_MH7
#error cos8o says British people aren't allowed.
#else
	class MH_DLL ColorPicker
	{
		typedef void (MH_CALL *Callback)(ColorPicker *, Color);
	public:
		ColorPicker() = delete;
		ColorPicker(const ColorPicker &) = delete;
		ColorPicker &operator=(const ColorPicker &) = delete;
		~ColorPicker() = delete;

		static ColorPicker *Create(Color color);

		void setCallback(Callback callback);

		void set(Color color, bool trigger_callback = true);
		Color get() const;
	};
#endif

@Wyliemaster
Copy link

ew this pull request is littered with spelling mistakes

@FigmentBoy
Copy link

any update on this? seems to me like this is ready to merge.

@absoIute
Copy link
Owner

sadly v7 has the colour in its exports already so you might have to #define your incorrect spellings instead

@FigmentBoy
Copy link

Sometimes breaking changes are needed to fix important issues.

@absoIute
Copy link
Owner

when breaking changes can be avoided and important issues can be resolved sometimes, if non-breaking changes are made to the pull it may be merged!

@FigmentBoy
Copy link

i propose a preprocessor variable to maintain backwards compatibility as well, something like this:

#ifdef BRITISH_MH7
#error cos8o says British people aren't allowed.
#else
	class MH_DLL ColorPicker
	{
		typedef void (MH_CALL *Callback)(ColorPicker *, Color);
	public:
		ColorPicker() = delete;
		ColorPicker(const ColorPicker &) = delete;
		ColorPicker &operator=(const ColorPicker &) = delete;
		~ColorPicker() = delete;

		static ColorPicker *Create(Color color);

		void setCallback(Callback callback);

		void set(Color color, bool trigger_callback = true);
		Color get() const;
	};
#endif

Thats where this proposed change comes in handy

@absoIute
Copy link
Owner

not backwards compatible with older versions!

strike 1

@qimiko
Copy link

qimiko commented Feb 15, 2022

I personally think we should follow the wisdom of semantic versioning and create Mega Hack v8. This will allow us to make the necessary breaking changes, while clearly communicating to extension developers that they are immensely British.

@absoIute
Copy link
Owner

also comes with the bonus of being easily marketable as a new version, so people will adopt the update quicker than usual, good idea

@ghost
Copy link

ghost commented Aug 5, 2022

merge this, its better and minified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants