• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[WIP] SharpRainbow

Status
Not open for further replies.

Bru

Bru

Level 2
Joined
Mar 28, 2013
Messages
13
fxko.png
SharpRainbow
Small program for creating colored text in Warcraft 3.

Links: SourceForge Home | Files | Tickets | Wiki

Description

Features


Description
SharpRainbow - small program for creating colored
text in Warcraft 3. Yes, again. What is the difference
between SharpRainbow and other programs? User-friendly
GUI, photoshop-like cool palette, transliteration same cyrillic
and latin letters, and more.

Features
  • User-friendly GUI
  • Photoshop-like color picker
  • Transliteration same cyrillic and latin characters
  • Making commas working in descriptions
  • User colors palette
  • Russian and English language
Screenshots
 

Attachments

  • Scrn1.JPG
    Scrn1.JPG
    35.7 KB · Views: 136
  • Scrn2.JPG
    Scrn2.JPG
    24.3 KB · Views: 141
  • Scrn3.JPG
    Scrn3.JPG
    34 KB · Views: 139
  • Scrn4.JPG
    Scrn4.JPG
    17.2 KB · Views: 110
Last edited:
Level 29
Joined
Jul 29, 2007
Messages
5,174
Went over it quite fast, didn't look at the code.

  • What's the point of "Replace commas"? didn't notice any changes.
  • If you open the palette and "Save color" without choosing a slot, it throws an exception because the slot object isn't set.
  • You can open the palette window multiple times. The changes seem to only be saved for the last one you close. I suggest to either only allow one window (and if the user tries to open it again, simply give it focus), or to embed it in the main window (which in my opinion is more intuitive).
  • The text seems to be mixed between the Russian and English resources.
  • I believe it would be more natural to have the color picker open when you click on the selected color, instead of (or in addition to) having a special button for it.
 
  • Like
Reactions: Bru

Bru

Bru

Level 2
Joined
Mar 28, 2013
Messages
13
  • I don't know very well, but one of the users of my program said, that in some descriptions of spells comma will remove all of the text after this comma, so we need to replace it by same symbol.
  • I know, this bug already added to tickets.
  • Thanks, i will fix it.
  • I don't quite understand what do you mean.
  • Okay!
 

Bru

Bru

Level 2
Joined
Mar 28, 2013
Messages
13
1.3 Released!
Changelog:
  • Now you can open only 1 palette window and when you click at the button again, form just appears on top.
  • Now you can open color picker by clicking on colored square on main form.
  • Renamed some of the controls.
  • Now you can't maximize forms.
  • Fixed error with transliterating. (That causes Out Of Range error)
  • Changed the way of localization - from default .NET (that requires more files then only main exe) to new, program-inside.
  • Program now a bit smaller (152 KB > 87 KB)

Now on tickets available new milestone - 1.4. Your ideas and reports are welcome!
 
Well, I know that there are hardcoded limits for tooltip lengths. You might want to investigate on that. And I know that for strings in wc3, certain characters take up more bytes than others, e.g.:
http://www.hiveworkshop.com/forums/lab-715/documentation-string-type-240473/#B
I don't know if this applies to tooltips or not. Does it? I haven't ever tested it. It might be something to look into!
 

Zwiebelchen

Hosted Project GR
Level 35
Joined
Sep 17, 2009
Messages
7,236
Well, I know that there are hardcoded limits for tooltip lengths.
The major problem with the tooltip length is, that the color codes (like |cffffffff|r) take up character space in the same way as any other character. That means that if you use a lot of color coding, the tooltips have to be considerably shorter.
 
Status
Not open for further replies.
Top