Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Background image

(1/1)

WhoaImAFreak:
Is it possible to implement a plugin that would replace editor's background with a specified image? It should (probably; haven't looked up C::B's code-base yet) be quite trivial to achieve this by editing the code of the editor widget, but what about doing this with a plugin?

I was thinking of something along the lines of: http://i.imgur.com/agJl3zw.jpg
(Never mind the poor code quality [and the poor image editing skills  ;)]; I was getting the hang of threads when this idea suddenly popped into my head.)

PS: I've searched around to no avail; I'm not asking anyone to do it for me.

Alpha:
I am not sure exactly what to suggest, but you could start by examining the code for EditorTweaks plugin, on how to hook into editors.  Then, probably, register a painting event from cbStyledTextCtrl.

Navigation

[0] Message Index

Go to full version