Jump to content

The <off topic> thread


Recommended Posts

that would be helpful and how do you make the icons for it?? would be able to make PDN reskinnable like mozilla firefox

Technically, v3.36 is skinnable in the sense that you can replace all the icons. You do this by dropping files into %PROGRAMFILES%/Paint.NET/Resources/xx-YY where xx-YY is the ISO code for the "language-Region" you've chosen. For example, en-US for English U.S., or zh-CN for for Traditional Chinese, or fr for French (with no specific region). But, in 3.36 this isn't easily shared since there's no common fallback other than the PaintDotNet.Resources.dll. (there's also no list of icon filenames to use, although this isn't too difficult to figure out with a copy of Reflector and looking at the Resources node)

For v3.5 it will always fallback to en-US before it digs into the DLL. For example, for "ru-RU" (Russian / Russia) it will first look for an icon, e.g. Icons.MenuFileNewIcon.png, in Resources/ru-RU/, then it will try Resources/ru/, then Resources/en-US/ and then finally look into PaintDotNet.Resources.dll. I'll probably add a Resources/custom/ fallback in there as well, to make it simpler to play with and share icons without having to delete the built-in set.

That is, assuming I can get this working. It's a trivial code change but it isn't working on anyone else's system that I've sent the installer to, here on the forum. It works fine on every system I've installed it to in-person though :?:

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

that would be helpful and how do you make the icons for it?? would be able to make PDN reskinnable like mozilla firefox

Technically, v3.36 is skinnable in the sense that you can replace all the icons. You do this by dropping files into %PROGRAMFILES%/Paint.NET/Resources/xx-YY where xx-YY is the ISO code for the "language-Region" you've chosen. For example, en-US for English U.S., or zh-CN for for Traditional Chinese, or fr for French (with no specific region). But, in 3.36 this isn't easily shared since there's no common fallback other than the PaintDotNet.Resources.dll. (there's also no list of icon filenames to use, although this isn't too difficult to figure out with a copy of Reflector and looking at the Resources node)

For v3.5 it will always fallback to en-US before it digs into the DLL. For example, for "ru-RU" (Russian / Russia) it will first look for an icon, e.g. Icons.MenuFileNewIcon.png, in Resources/ru-RU/, then it will try Resources/ru/, then Resources/en-US/ and then finally look into PaintDotNet.Resources.dll. I'll probably add a Resources/custom/ fallback in there as well, to make it simpler to play with and share icons without having to delete the built-in set.

That is, assuming I can get this working. It's a trivial code change but it isn't working on anyone else's system that I've sent the installer to, here on the forum. It works fine on every system I've installed it to in-person though :?:

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

that would be helpful and how do you make the icons for it?? would be able to make PDN reskinnable like mozilla firefox

Technically, v3.36 is skinnable in the sense that you can replace all the icons. You do this by dropping files into %PROGRAMFILES%/Paint.NET/Resources/xx-YY where xx-YY is the ISO code for the "language-Region" you've chosen. For example, en-US for English U.S., or zh-CN for for Traditional Chinese, or fr for French (with no specific region). But, in 3.36 this isn't easily shared since there's no common fallback other than the PaintDotNet.Resources.dll. (there's also no list of icon filenames to use, although this isn't too difficult to figure out with a copy of Reflector and looking at the Resources node)

For v3.5 it will always fallback to en-US before it digs into the DLL. For example, for "ru-RU" (Russian / Russia) it will first look for an icon, e.g. Icons.MenuFileNewIcon.png, in Resources/ru-RU/, then it will try Resources/ru/, then Resources/en-US/ and then finally look into PaintDotNet.Resources.dll. I'll probably add a Resources/custom/ fallback in there as well, to make it simpler to play with and share icons without having to delete the built-in set.

That is, assuming I can get this working. It's a trivial code change but it isn't working on anyone else's system that I've sent the installer to, here on the forum. It works fine on every system I've installed it to in-person though :?:

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

that would be helpful and how do you make the icons for it?? would be able to make PDN reskinnable like mozilla firefox

Technically, v3.36 is skinnable in the sense that you can replace all the icons. You do this by dropping files into %PROGRAMFILES%/Paint.NET/Resources/xx-YY where xx-YY is the ISO code for the "language-Region" you've chosen. For example, en-US for English U.S., or zh-CN for for Traditional Chinese, or fr for French (with no specific region). But, in 3.36 this isn't easily shared since there's no common fallback other than the PaintDotNet.Resources.dll. (there's also no list of icon filenames to use, although this isn't too difficult to figure out with a copy of Reflector and looking at the Resources node)

For v3.5 it will always fallback to en-US before it digs into the DLL. For example, for "ru-RU" (Russian / Russia) it will first look for an icon, e.g. Icons.MenuFileNewIcon.png, in Resources/ru-RU/, then it will try Resources/ru/, then Resources/en-US/ and then finally look into PaintDotNet.Resources.dll. I'll probably add a Resources/custom/ fallback in there as well, to make it simpler to play with and share icons without having to delete the built-in set.

That is, assuming I can get this working. It's a trivial code change but it isn't working on anyone else's system that I've sent the installer to, here on the forum. It works fine on every system I've installed it to in-person though :?:

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Yes. Cursors are just named as Cursors.*.cur

If you want to play with it now, grab a copy of .NET Reflector and look at the Resources node for PaintDotNet.Resources.dll. That will give you the filenames to use. Just don't put the PaintDotNet prefix on them.

For example, below it shows "PaintDotNet.Cursors.CloneStampToolCursor.cur". The filename to use is thus %PROGRAMFILES%/Paint.NET/Resources/en-US/Cursors.CloneStampToolCursor.cur (or replace en-US with the language code that you're using, if you're not using English)

3_47a5c23c7d336bf6cddc5726bc85c524

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Yes. Cursors are just named as Cursors.*.cur

If you want to play with it now, grab a copy of .NET Reflector and look at the Resources node for PaintDotNet.Resources.dll. That will give you the filenames to use. Just don't put the PaintDotNet prefix on them.

For example, below it shows "PaintDotNet.Cursors.CloneStampToolCursor.cur". The filename to use is thus %PROGRAMFILES%/Paint.NET/Resources/en-US/Cursors.CloneStampToolCursor.cur (or replace en-US with the language code that you're using, if you're not using English)

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Yes. Cursors are just named as Cursors.*.cur

If you want to play with it now, grab a copy of .NET Reflector and look at the Resources node for PaintDotNet.Resources.dll. That will give you the filenames to use. Just don't put the PaintDotNet prefix on them.

For example, below it shows "PaintDotNet.Cursors.CloneStampToolCursor.cur". The filename to use is thus %PROGRAMFILES%/Paint.NET/Resources/en-US/Cursors.CloneStampToolCursor.cur (or replace en-US with the language code that you're using, if you're not using English)

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Yes. Cursors are just named as Cursors.*.cur

If you want to play with it now, grab a copy of .NET Reflector and look at the Resources node for PaintDotNet.Resources.dll. That will give you the filenames to use. Just don't put the PaintDotNet prefix on them.

For example, below it shows "PaintDotNet.Cursors.CloneStampToolCursor.cur". The filename to use is thus %PROGRAMFILES%/Paint.NET/Resources/en-US/Cursors.CloneStampToolCursor.cur (or replace en-US with the language code that you're using, if you're not using English)

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...