mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 16:46:52 +08:00
Lots of changes:
- Added #defines for Visual C++ to speed up compiles.
- Added FLTK.DLL project to visualc directory.
- Added editor project to visualc directory.
- Added icon() method to Fl_Window class.
- Implemented xclass() method for WIN32.
- Fixed extern declaration of fl_send_extra_move in Fl_Menu_Window.cxx.
- scandir_win32.c needed to include <stdlib.h>.
- Added fix from Bill for fl_width() bug.
- Updated fix for Fl_Input to default to FL_DOWN_BOX.
- Added visible() check for children of Fl_Pack.
- Added WinMain() function to library.
- Now show console window in debug mode.
- Fixed demo.menu and demo.cxx to work under WIN32.
git-svn-id: file:///fltk/svn/fltk/trunk@180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+292
-276
File diff suppressed because it is too large
Load Diff
+53
-52
@@ -10,70 +10,71 @@
|
||||
#
|
||||
|
||||
@main:Widget\nTests:@x
|
||||
@x:Fl_Browser:./browser&
|
||||
@x:Fl_Input:./input&
|
||||
@x:Fl_Output:./output&
|
||||
@x:Fl_Button:./radio&
|
||||
@x:Fl_Tabs:./tabs&
|
||||
@x:Fl_Tile:./tile&
|
||||
@x:Fl_Scroll:./scroll&
|
||||
@x:Fl_Pack:./pack&
|
||||
@x:Fl_Menu:./menubar&
|
||||
@x:Fl_Browser:browser
|
||||
@x:Fl_Input:input
|
||||
@x:Fl_Output:output
|
||||
@x:Fl_Button:radio
|
||||
@x:Fl_Tabs:tabs
|
||||
@x:Fl_Tile:tile
|
||||
@x:Fl_Scroll:scroll
|
||||
@x:Fl_Pack:pack
|
||||
@x:Fl_Menu:menubar
|
||||
|
||||
@main:Window\nTests:@w
|
||||
@w:overlay:./overlay&
|
||||
@w:subwindow:./subwindow&
|
||||
@w:double\nbuffer:./doublebuffer&
|
||||
@w:GL window:./cube&
|
||||
@w:GL overlay:./gl_overlay&
|
||||
@w:iconize:./iconize&
|
||||
@w:fullscreen:./fullscreen&
|
||||
@w:resizable:./resizebox&
|
||||
@w:resize:./resize&
|
||||
@w:overlay:overlay
|
||||
@w:subwindow:subwindow
|
||||
@w:double\nbuffer:doublebuffer
|
||||
@w:GL window:cube
|
||||
@w:GL overlay:gl_overlay
|
||||
@w:iconize:iconize
|
||||
@w:fullscreen:fullscreen
|
||||
@w:resizable:resizebox
|
||||
@w:resize:resize
|
||||
|
||||
@main:Drawing\nTests:@d
|
||||
@d:Fl_Bitmap:./bitmap&
|
||||
@d:Fl_Pixmap:./pixmap&
|
||||
@d:Fl_Image:./image&
|
||||
@d:pixmap\nbrowser:./pixmap_browser&
|
||||
@d:cursor:./cursor&
|
||||
@d:labels:./label&
|
||||
@d:fl_arc:./arc&
|
||||
@d:fl_curve:./curve&
|
||||
@d:fonts:./fonts&
|
||||
@d:Fl_Bitmap:bitmap
|
||||
@d:Fl_Pixmap:pixmap
|
||||
@d:Fl_Image:image
|
||||
@d:pixmap\nbrowser:pixmap_browser
|
||||
@d:cursor:cursor
|
||||
@d:labels:label
|
||||
@d:fl_arc:arc
|
||||
@d:fl_curve:curve
|
||||
@d:fonts:fonts
|
||||
|
||||
@main:Events:@u
|
||||
@u:navigation:./navigation&
|
||||
@u:minimum update:./minimum&
|
||||
@u:keyboard:./keyboard&
|
||||
@u:fast & slow widgets:./fast_slow&
|
||||
@u:inactive:./inactive&
|
||||
@u:navigation:navigation
|
||||
@u:minimum update:minimum
|
||||
@u:keyboard:keyboard
|
||||
@u:fast & slow widgets:fast_slow
|
||||
@u:inactive:inactive
|
||||
|
||||
@main:Fluid\n(UI design tool):../fluid/fluid valuators.fl&
|
||||
@main:Fluid\n(UI design tool):../fluid/fluid valuators.fl
|
||||
|
||||
@main:Cool\nDemos:@e
|
||||
@e:X Color\nBrowser:./colbrowser&
|
||||
@e:Mandelbrot:./mandelbrot&
|
||||
@e:Fractals:./fractals&
|
||||
@e:Puzzle:./glpuzzle&
|
||||
@e:shiny\nOpenGL\nbuttons:./shiny&
|
||||
@e:Checkers:./checkers&
|
||||
@e:X Color\nBrowser:colbrowser
|
||||
@e:Mandelbrot:mandelbrot
|
||||
@e:Fractals:fractals
|
||||
@e:Puzzle:glpuzzle
|
||||
@e:shiny\nOpenGL\nbuttons:shiny
|
||||
@e:Checkers:checkers
|
||||
|
||||
@main:Other\nTests:@o
|
||||
@o:color choosers:./color_chooser r&
|
||||
@o:file chooser:./file_chooser&
|
||||
@o:XForms Emulation:./forms&
|
||||
@o:color choosers:color_chooser r
|
||||
@o:file chooser:file_chooser
|
||||
@o:XForms Emulation:forms
|
||||
|
||||
@main:Tutorial\nfrom\nManual:@j
|
||||
@j:hello:./hello&
|
||||
@j:button:./button&
|
||||
@j:ask\n(modified):./ask&
|
||||
@j:shape:./shape&
|
||||
@j:ask\n(modified):ask
|
||||
@j:button:button
|
||||
@j:editor:editor
|
||||
@j:hello:hello
|
||||
@j:shape:shape
|
||||
|
||||
@main:Images\nfor\nManual:@i
|
||||
@i:valuators:./valuators&
|
||||
@i:symbols:./symbols&
|
||||
@i:buttons:./buttons&
|
||||
@i:clock:./clock&
|
||||
@i:popups:./message&
|
||||
@i:boxtypes:./boxtype&
|
||||
@i:valuators:valuators
|
||||
@i:symbols:symbols
|
||||
@i:buttons:buttons
|
||||
@i:clock:clock
|
||||
@i:popups:message
|
||||
@i:boxtypes:boxtype
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
# Menu description file for the generic demo program
|
||||
#
|
||||
# Each line consists of three fields, separated by :
|
||||
#
|
||||
# - menu name : To which the item belongs (starts with @)
|
||||
# - item name : Placed on button. (use \n for newline)
|
||||
# - command name: To be executed. Use a menu name to define a submenu.
|
||||
#
|
||||
# @main indicates the main menu.
|
||||
#
|
||||
|
||||
@main:Widget\nTests:@x
|
||||
@x:Fl_Browser:browser
|
||||
@x:Fl_Input:input
|
||||
@x:Fl_Output:output
|
||||
@x:Fl_Button:radio
|
||||
@x:Fl_Tabs:tabs
|
||||
@x:Fl_Tile:tile
|
||||
@x:Fl_Scroll:scroll
|
||||
@x:Fl_Pack:pack
|
||||
@x:Fl_Menu:menubar
|
||||
|
||||
@main:Window\nTests:@w
|
||||
@w:overlay:overlay
|
||||
@w:subwindow:subwindow
|
||||
@w:double\nbuffer:doublebuffer
|
||||
@w:GL window:cube
|
||||
@w:GL overlay:gl_overlay
|
||||
@w:iconize:iconize
|
||||
@w:fullscreen:fullscreen
|
||||
@w:resizable:resizebox
|
||||
@w:resize:resize
|
||||
|
||||
@main:Drawing\nTests:@d
|
||||
@d:Fl_Bitmap:bitmap
|
||||
@d:Fl_Pixmap:pixmap
|
||||
@d:Fl_Image:image
|
||||
@d:pixmap\nbrowser:pixmap_browser
|
||||
@d:cursor:cursor
|
||||
@d:labels:label
|
||||
@d:fl_arc:arc
|
||||
@d:fl_curve:curve
|
||||
@d:fonts:fonts
|
||||
|
||||
@main:Events:@u
|
||||
@u:navigation:navigation
|
||||
@u:minimum update:minimum
|
||||
@u:keyboard:keyboard
|
||||
@u:fast & slow widgets:fast_slow
|
||||
@u:inactive:inactive
|
||||
|
||||
@main:Fluid\n(UI design tool):../fluid/fluid valuators.fl
|
||||
|
||||
@main:Cool\nDemos:@e
|
||||
@e:X Color\nBrowser:colbrowser
|
||||
@e:Mandelbrot:mandelbrot
|
||||
@e:Fractals:fractals
|
||||
@e:Puzzle:glpuzzle
|
||||
@e:shiny\nOpenGL\nbuttons:shiny
|
||||
@e:Checkers:checkers
|
||||
|
||||
@main:Other\nTests:@o
|
||||
@o:color choosers:color_chooser r
|
||||
@o:file chooser:file_chooser
|
||||
@o:XForms Emulation:forms
|
||||
|
||||
@main:Tutorial\nfrom\nManual:@j
|
||||
@j:ask\n(modified):ask
|
||||
@j:button:button
|
||||
@j:editor:editor
|
||||
@j:hello:hello
|
||||
@j:shape:shape
|
||||
|
||||
@main:Images\nfor\nManual:@i
|
||||
@i:valuators:valuators
|
||||
@i:symbols:symbols
|
||||
@i:buttons:buttons
|
||||
@i:clock:clock
|
||||
@i:popups:message
|
||||
@i:boxtypes:boxtype
|
||||
Reference in New Issue
Block a user