Dear all,
2 days ago during a presentation of Herb Sutter at the c++ connections conference in Vegas, Herb needed to show something in a browser. Since he actually works at M$ he asked to the crowd which browser he should use, and everyone was going like "Firefox ... Firefox". Well, Herb did, and even told us what he thinks was the best feature : it was the ctrl-+ and ctrl-- zoom in / zoom out functions. Dynamically increase/decrease the font size in the current tab. Very cool during presentations, no need to adjust those resolutions for the laptop/pc itself, causing all those icons to reposition on the desktop.
Immediately I got the idea, hey , cool, would be nice to have this in Code::Blocks also.
Back in the hotel room, first looked if CB already had this : NO.
Really, within 5 (!) minutes I had implemented it as a plug-in.
Only one small problem, I don't seem to get it bind to ctrl-+ and ctrl--, but for the rest it works.
So the plugin adds :
- zoom in / zoom out entries to the "View" menu
- zoom in / zoom out entries to the context menu of the editor pane
Installation :
Copy the dll from the attached Zoom.zip to the CB-plug-in directory.
In the dll is also included the source code and the cbp project file (build on windows).
kind regards and happy zooming,
Lieven
PS : once I know how to bind with ctrl-+/- I will post a new zip file.
[attachment deleted by admin]