⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 fltk 2.0 source code
💻
字号:
These header files are for back-compatability with fltk1.x.  Do notuse these header files in new programs. Use the ones in the fltkdirectory.Most fltk1.x programs should compile with no changes by using theseheader files and linking with the fltk2.0 library.Known changes that must be done to fltk1.1 code to make them compile:Widgets inside groups will need their x,y coordinates fixed as theyare now relative to the group, not the window.FL_BOLD, FL_ITALIC - these symbols used to be added to fonts to getbold and italic. This no longer works. You should replace them withthe single symbol for the font (like FL_HELVETICA_BOLD in place ofFL_HELVETICA+FL_BOLD) or use font->plus(attributes).Drawing functions are only roughly emulated. You may need to add caststo float to get your compiler to locate the correct functions. And ifyou offset by the x,y of the widget you need to remove these offsets.Some new members of widgets may hide global data. For instance "width"and "height" are now members. You can fix this by putting "::" infront of the global data names.If you use the Fl_Browser you are probably going to have trouble. Allthe indexes are offset by 1 from fltk1.1, ie the first item has anindex of zero, not 1. Adding items with forward slashes in them willproduce a hierarchy, which is pretty confusing when you don't plan onit.Menu and browser callbacks: the widget passed is the item, not themenu or browser. If you use o->parent() to find what window it is inyou will have to change this, in most cases you can use o->window().

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -