Author Topic: Background image  (Read 5177 times)


  • Guest
Background image
« on: October 17, 2013, 08:07:03 pm »
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:
(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.

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: Background image
« Reply #1 on: October 21, 2013, 02:28:23 am »
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.