jps wrote:Hi rulfzid, and a belated welcome to the forums!
There's no way currently to place the minimap on the right hand side of the screen, but I added an item for it to my todo list.
I'm not happy with the current theme file format, it's not particularily flexible, and in need of replacement - but for what it's worth, a bit of documentation:
Each of the shader definitions specify a way to draw a rectangular area on screen. There are a few different types of shaders:
- ColorShader. This takes a single parameter, which is the color to draw.
- SimpleTextureShader. This takes the name of an image file, and a bool indicating if it should be alpha-blended over the background, or simply overwrite the background.
- SimpleBlendedTextureShader. As above, but it takes two images, and blends between them over time. This is used for things like mouse over effects on buttons.
The remaining two shaders are TextureShader and BlendedTextureShader. These are very much like the corresponding Simple versions, except they don't take a parameter for alpha blending (they're never alpha blended), and the image is drawn in a different way.
The file names passed to these two shaders should follow a naming convention, named something along the lines of foo_w4_h8.png. This indicates that the image as a 4px horizontal border, and an 8px vertical border: the border areas of the image won't be drawn stretched, just the centre portion.
Thanks for the info. I had figured out some of the above through some trial and error, but wasn't completely sure about the file naming. One more question: are the elements listed in default.sublime-theme all the possible elements that can be styled?
I was thinking about maybe writing a tutorial to lay out what I'd learned, but perhaps I should wait for the updates to the theme file format?
Also, just wanted to say thanks again - It's been said before, but it's just a lot of fun to work in Sublime.