Updated Win32 MS-VisualC Workspace to run FLTK "out of the box":
Donload the archive, unpack, start VisualC and press F5 to compile and run the demo and all other test programs... . browser: wouldn't find sample file CubeView: calls fluid in custom build step, unintialised position fast_slow: build calls fluid forms: added plastic buttons (cute) inactive: build calls fluid keyboard: build calls fluid, added mousewheel mandelbrot: build calls fluid resize: build calls fluid radio: build calls fluid shiny: build calls fluid tabs: build calls fluid valuators: build calls fluid, tiny scrollbar bug demo: debug on VC finds correct menu file git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1796 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
ca83eb11a1
commit
1977f13908
@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: CubeView.cxx,v 1.4.2.4 2001/04/25 13:34:43 easysw Exp $"
|
||||
// "$Id: CubeView.cxx,v 1.4.2.4.2.1 2001/12/01 01:54:30 matthiaswm Exp $"
|
||||
//
|
||||
// CubeView class implementation for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@ -37,7 +37,9 @@ CubeView::CubeView(int x,int y,int w,int h,const char *l)
|
||||
{
|
||||
vAng = 0.0;
|
||||
hAng=0.0;
|
||||
size=10.0;
|
||||
size=10.0;
|
||||
xshift=0.0;
|
||||
yshift=0.0;
|
||||
|
||||
/* The cube definition. These are the vertices of a unit cube
|
||||
* centered on the origin.*/
|
||||
@ -165,5 +167,5 @@ void CubeView::draw() {
|
||||
#endif /* HAVE_GL */
|
||||
|
||||
//
|
||||
// End of "$Id: CubeView.cxx,v 1.4.2.4 2001/04/25 13:34:43 easysw Exp $".
|
||||
// End of "$Id: CubeView.cxx,v 1.4.2.4.2.1 2001/12/01 01:54:30 matthiaswm Exp $".
|
||||
//
|
||||
|
@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: browser.cxx,v 1.5.2.6.2.1 2001/11/02 20:38:15 easysw Exp $"
|
||||
// "$Id: browser.cxx,v 1.5.2.6.2.2 2001/12/01 01:54:30 matthiaswm Exp $"
|
||||
//
|
||||
// Browser test program for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@ -113,9 +113,26 @@ int main(int argc, char **argv) {
|
||||
browser->callback(b_cb);
|
||||
// browser->scrollbar_right();
|
||||
//browser->has_scrollbar(Fl_Browser::BOTH_ALWAYS);
|
||||
if (!browser->load(fname)) {
|
||||
if (!browser->load(fname)) {
|
||||
#ifdef _MSC_VER
|
||||
// if 'browser' was started from the VisualC environment in Win32,
|
||||
// the current directory is set to the environment itself,
|
||||
// so we need to correct the browser file path
|
||||
int done = 1;
|
||||
if ( i == argc )
|
||||
{
|
||||
fname = "../test/browser.cxx";
|
||||
done = browser->load(fname);
|
||||
}
|
||||
if ( !done )
|
||||
{
|
||||
printf("Can't load %s, %s\n", fname, strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
#else
|
||||
printf("Can't load %s, %s\n", fname, strerror(errno));
|
||||
exit(1);
|
||||
exit(1);
|
||||
#endif
|
||||
}
|
||||
browser->position(0);
|
||||
|
||||
@ -140,6 +157,6 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
|
||||
//
|
||||
// End of "$Id: browser.cxx,v 1.5.2.6.2.1 2001/11/02 20:38:15 easysw Exp $".
|
||||
// End of "$Id: browser.cxx,v 1.5.2.6.2.2 2001/12/01 01:54:30 matthiaswm Exp $".
|
||||
//
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: demo.cxx,v 1.8.2.5.2.2 2001/09/29 14:38:59 easysw Exp $"
|
||||
// "$Id: demo.cxx,v 1.8.2.5.2.3 2001/12/01 01:54:30 matthiaswm Exp $"
|
||||
//
|
||||
// Main demo program for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@ -316,7 +316,12 @@ int main(int argc, char **argv) {
|
||||
putenv("FLTK_DOCDIR=../documentation");
|
||||
create_the_forms();
|
||||
char buf[256];
|
||||
strcpy(buf, argv[0]);
|
||||
strcpy(buf, argv[0]);
|
||||
#if defined _MSC_VER && defined _DEBUG
|
||||
// MS_VisualC appends a 'd' to debugging executables. remove it.
|
||||
filename_setext( buf, "" );
|
||||
buf[ strlen(buf)-1 ] = 0;
|
||||
#endif
|
||||
filename_setext(buf,".menu");
|
||||
const char *fname = buf;
|
||||
int i = 0;
|
||||
@ -335,6 +340,6 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
|
||||
//
|
||||
// End of "$Id: demo.cxx,v 1.8.2.5.2.2 2001/09/29 14:38:59 easysw Exp $".
|
||||
// End of "$Id: demo.cxx,v 1.8.2.5.2.3 2001/12/01 01:54:30 matthiaswm Exp $".
|
||||
//
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: forms.cxx,v 1.4.2.4 2001/04/13 19:07:40 easysw Exp $"
|
||||
// "$Id: forms.cxx,v 1.4.2.4.2.1 2001/12/01 01:54:30 matthiaswm Exp $"
|
||||
//
|
||||
// Another forms demo for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@ -60,7 +60,9 @@ static VN_struct btypes[]=
|
||||
{FL_ROUNDED3D_UPBOX,"rounded3d upbox"},
|
||||
{FL_ROUNDED3D_DOWNBOX,"rounded3d downbox"},
|
||||
{FL_OVAL3D_UPBOX,"oval3d upbox"},
|
||||
{FL_OVAL3D_DOWNBOX,"oval3d downbox"},
|
||||
{FL_OVAL3D_DOWNBOX,"oval3d downbox"},
|
||||
{FL_PLASTIC_UP_BOX,"plastic upbox"},
|
||||
{FL_PLASTIC_DOWN_BOX,"plastic downbox"},
|
||||
/* sentinel */
|
||||
{-1}
|
||||
};
|
||||
@ -229,5 +231,5 @@ main (int argc, char *argv[])
|
||||
}
|
||||
|
||||
//
|
||||
// End of "$Id: forms.cxx,v 1.4.2.4 2001/04/13 19:07:40 easysw Exp $".
|
||||
// End of "$Id: forms.cxx,v 1.4.2.4.2.1 2001/12/01 01:54:30 matthiaswm Exp $".
|
||||
//
|
||||
|
@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: keyboard.cxx,v 1.5.2.3 2001/01/22 15:13:41 easysw Exp $"
|
||||
// "$Id: keyboard.cxx,v 1.5.2.3.2.1 2001/12/01 01:54:30 matthiaswm Exp $"
|
||||
//
|
||||
// Keyboard/event test program for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@ -36,18 +36,39 @@
|
||||
//
|
||||
// Please report all bugs and problems to "fltk-bugs@fltk.org".
|
||||
//
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <FL/Fl.H>
|
||||
#include <FL/Fl_Window.H>
|
||||
|
||||
class MyWindow : public Fl_Window {
|
||||
int handle(int);
|
||||
public:
|
||||
MyWindow(int w, int h, const char *t=0L)
|
||||
: Fl_Window( w, h, t ) { }
|
||||
};
|
||||
|
||||
#include "keyboard_ui.cxx"
|
||||
#include <stdio.h>
|
||||
|
||||
// these are used to identify which buttons are which:
|
||||
void key_cb(Fl_Button*, void*) {}
|
||||
void shift_cb(Fl_Button*, void*) {}
|
||||
void shift_cb(Fl_Button*, void*) {}
|
||||
void wheel_cb(Fl_Button*, void*) {}
|
||||
|
||||
// this is used to stop Esc from exiting the program:
|
||||
int handle(int e) {
|
||||
return (e == FL_SHORTCUT); // eat all keystrokes
|
||||
}
|
||||
|
||||
int MyWindow::handle(int msg) {
|
||||
if (msg==FL_MOUSEWHEEL)
|
||||
{
|
||||
roller->value( roller->value() + Fl::e_dy * roller->step() );
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct {int n; const char* text;} table[] = {
|
||||
{FL_Escape, "FL_Escape"},
|
||||
@ -121,11 +142,11 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
key_output->value(keyname);
|
||||
|
||||
text_output->value(Fl::event_text());
|
||||
text_output->value(Fl::event_text());
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
//
|
||||
// End of "$Id: keyboard.cxx,v 1.5.2.3 2001/01/22 15:13:41 easysw Exp $".
|
||||
// End of "$Id: keyboard.cxx,v 1.5.2.3.2.1 2001/12/01 01:54:30 matthiaswm Exp $".
|
||||
//
|
||||
|
1398
test/keyboard_ui.fl
1398
test/keyboard_ui.fl
File diff suppressed because it is too large
Load Diff
@ -1,190 +1,189 @@
|
||||
# data file for the Fltk User Interface Designer (fluid)
|
||||
version 1.00
|
||||
header_name {.h}
|
||||
code_name {.cxx}
|
||||
gridx 5
|
||||
gridy 5
|
||||
snap 3
|
||||
Function {callback(Fl_Widget* o, void*)} {open private return_type void
|
||||
} {
|
||||
code {printf("%g \\r", ((Fl_Valuator*)o)->value());
|
||||
fflush(stdout);} {selected
|
||||
}
|
||||
}
|
||||
|
||||
Function {} {open
|
||||
} {
|
||||
Fl_Window {} {
|
||||
label {Valuator classes, showing values for type()} open
|
||||
xywh {382 441 567 506} color 43 selection_color 43
|
||||
code0 {\#include <stdio.h>} visible
|
||||
} {
|
||||
Fl_Box {} {
|
||||
label Fl_Slider
|
||||
xywh {10 10 280 210} box ENGRAVED_BOX labelfont 1 align 17
|
||||
}
|
||||
Fl_Slider {} {
|
||||
label 0
|
||||
callback callback
|
||||
xywh {30 45 20 145} selection_color 1 labelsize 8 align 1
|
||||
}
|
||||
Fl_Slider {} {
|
||||
label FL_VERT_FILL_SLIDER
|
||||
callback callback
|
||||
xywh {70 55 20 145} type {Vert Fill} selection_color 1 labelsize 8
|
||||
}
|
||||
Fl_Slider {} {
|
||||
label FL_VERT_NICE_SLIDER
|
||||
callback callback
|
||||
xywh {105 45 20 145} type {Vert Knob} box FLAT_BOX color 10 selection_color 1 labelsize 8 align 1
|
||||
}
|
||||
Fl_Box {} {
|
||||
label Fl_Value_Slider
|
||||
xywh {10 230 280 205} box ENGRAVED_BOX labelfont 1 align 17
|
||||
}
|
||||
Fl_Value_Slider {} {
|
||||
label 0
|
||||
callback callback
|
||||
xywh {30 260 30 145} selection_color 1 labelsize 8 align 1
|
||||
}
|
||||
Fl_Value_Slider {} {
|
||||
label FL_VERT_FILL_SLIDER
|
||||
callback callback
|
||||
xywh {70 275 30 140} type {Vert Fill} selection_color 1 labelsize 8
|
||||
}
|
||||
Fl_Value_Slider {} {
|
||||
label FL_VERT_NICE_SLIDER
|
||||
callback callback
|
||||
xywh {110 260 20 145} type {Vert Knob} box FLAT_BOX color 10 selection_color 1 labelsize 8 align 1
|
||||
}
|
||||
Fl_Slider {} {
|
||||
label FL_HORIZONTAL
|
||||
callback callback
|
||||
xywh {140 80 130 20} type Horizontal selection_color 1 labelsize 8
|
||||
}
|
||||
Fl_Slider {} {
|
||||
label FL_HOR_FILL_SLIDER
|
||||
callback callback
|
||||
xywh {140 120 130 20} type {Horz Fill} selection_color 1 labelsize 8
|
||||
}
|
||||
Fl_Slider {} {
|
||||
label FL_HOR_NICE_SLIDER
|
||||
callback callback
|
||||
xywh {140 160 130 20} type {Horz Knob} box FLAT_BOX color 10 selection_color 1 labelsize 8
|
||||
}
|
||||
Fl_Value_Slider {} {
|
||||
label FL_HOR_SLIDER
|
||||
callback callback
|
||||
xywh {140 290 130 20} type Horizontal selection_color 1 labelsize 8
|
||||
}
|
||||
Fl_Value_Slider {} {
|
||||
label FL_HOR_FILL_SLIDER
|
||||
callback callback
|
||||
xywh {140 330 130 20} type {Horz Fill} selection_color 1 labelsize 8
|
||||
}
|
||||
Fl_Box {} {
|
||||
label Fl_Adjuster
|
||||
xywh {430 10 125 120} box ENGRAVED_BOX labelfont 1 align 17
|
||||
}
|
||||
Fl_Value_Slider {} {
|
||||
label FL_HOR_NICE_SLIDER
|
||||
callback callback
|
||||
xywh {140 370 130 20} type {Horz Knob} box FLAT_BOX color 10 selection_color 1 labelsize 8
|
||||
}
|
||||
Fl_Adjuster {} {
|
||||
label {w()>h()}
|
||||
callback callback
|
||||
xywh {440 60 75 25} labelsize 8
|
||||
}
|
||||
Fl_Adjuster {} {
|
||||
label {w()<h()}
|
||||
callback callback
|
||||
xywh {520 35 25 75} labelsize 8
|
||||
}
|
||||
Fl_Box {} {
|
||||
label Fl_Counter
|
||||
xywh {345 135 210 115} box ENGRAVED_BOX labelfont 1 align 17
|
||||
}
|
||||
Fl_Counter {} {
|
||||
label 0
|
||||
callback callback
|
||||
xywh {360 160 180 30} labelsize 8
|
||||
}
|
||||
Fl_Counter {} {
|
||||
label FL_SIMPLE_COUNTER
|
||||
callback callback
|
||||
xywh {360 205 180 30} type Simple labelsize 8
|
||||
}
|
||||
Fl_Box {} {
|
||||
label Fl_Dial
|
||||
xywh {300 260 255 105} box ENGRAVED_BOX labelfont 1 align 17
|
||||
}
|
||||
Fl_Dial {} {
|
||||
label 0
|
||||
callback callback
|
||||
xywh {315 280 65 65} color 10 selection_color 1 labelsize 8 value 0.5
|
||||
code0 {o->angles(0,315);}
|
||||
}
|
||||
Fl_Dial {} {
|
||||
label FL_LINE_DIAL
|
||||
callback callback
|
||||
xywh {395 280 65 65} type Line color 10 selection_color 1 labelsize 8 value 0.5
|
||||
}
|
||||
Fl_Dial {} {
|
||||
label FL_FILL_DIAL
|
||||
callback callback
|
||||
xywh {475 280 65 65} type Fill color 10 selection_color 1 labelsize 8 value 1
|
||||
code0 {o->angles(0,360);}
|
||||
}
|
||||
Fl_Box {} {
|
||||
label Fl_Roller
|
||||
xywh {300 375 145 120} box ENGRAVED_BOX labelfont 1 align 17
|
||||
}
|
||||
Fl_Roller {} {
|
||||
label 0
|
||||
callback callback
|
||||
xywh {315 390 20 95} labelsize 8
|
||||
}
|
||||
Fl_Roller {} {
|
||||
label FL_HORIZONTAL
|
||||
callback callback
|
||||
xywh {340 430 90 20} type Horizontal labelsize 8
|
||||
}
|
||||
Fl_Box {} {
|
||||
label Fl_Value_Input
|
||||
xywh {10 445 140 50} box ENGRAVED_BOX labelfont 1 align 17
|
||||
}
|
||||
Fl_Box {} {
|
||||
label {Some widgets have color(FL_GREEN) and color2(FL_RED) to show the areas these effect.}
|
||||
xywh {455 375 100 120} box BORDER_FRAME color 0 selection_color 0 labelsize 10 align 128
|
||||
}
|
||||
Fl_Box {} {
|
||||
label Fl_Value_Output
|
||||
xywh {155 445 135 50} box ENGRAVED_BOX labelfont 1 align 17
|
||||
}
|
||||
Fl_Value_Input {} {
|
||||
label 0
|
||||
callback callback
|
||||
xywh {30 460 110 30} labelsize 8 maximum 100 step 0.1
|
||||
}
|
||||
Fl_Value_Output {} {
|
||||
label 0
|
||||
callback callback
|
||||
xywh {170 460 110 30} labelsize 8 maximum 100 step 0.1
|
||||
}
|
||||
Fl_Box {} {
|
||||
label { Fl_Scrollbar}
|
||||
xywh {295 10 130 120} box ENGRAVED_BOX labelfont 1 align 21
|
||||
}
|
||||
Fl_Scrollbar {} {
|
||||
label 0
|
||||
callback callback
|
||||
xywh {395 20 20 105} labelsize 8 align 1 maximum 100
|
||||
}
|
||||
Fl_Scrollbar {} {
|
||||
label FL_HORIZONTAL
|
||||
callback callback
|
||||
xywh {300 65 95 20} type Horizontal labelsize 8 maximum 100
|
||||
}
|
||||
}
|
||||
}
|
||||
# data file for the Fltk User Interface Designer (fluid)
|
||||
version 1.0100
|
||||
header_name {.h}
|
||||
code_name {.cxx}
|
||||
gridx 5
|
||||
gridy 5
|
||||
snap 3
|
||||
Function {callback(Fl_Widget* o, void*)} {open private return_type void
|
||||
} {
|
||||
code {printf("%g \\r", ((Fl_Valuator*)o)->value());
|
||||
fflush(stdout);} {}
|
||||
}
|
||||
|
||||
Function {} {open
|
||||
} {
|
||||
Fl_Window {} {
|
||||
label {Valuator classes, showing values for type()} open
|
||||
xywh {382 441 567 506} color 43 selection_color 43
|
||||
code0 {\#include <stdio.h>} visible
|
||||
} {
|
||||
Fl_Box {} {
|
||||
label Fl_Slider
|
||||
xywh {10 10 280 210} box ENGRAVED_BOX labelfont 1 align 17
|
||||
}
|
||||
Fl_Slider {} {
|
||||
label 0
|
||||
callback callback
|
||||
xywh {30 45 20 145} selection_color 1 labelsize 8 align 1
|
||||
}
|
||||
Fl_Slider {} {
|
||||
label FL_VERT_FILL_SLIDER
|
||||
callback callback
|
||||
xywh {70 55 20 145} type {Vert Fill} selection_color 1 labelsize 8
|
||||
}
|
||||
Fl_Slider {} {
|
||||
label FL_VERT_NICE_SLIDER
|
||||
callback callback
|
||||
xywh {105 45 20 145} type {Vert Knob} box FLAT_BOX color 10 selection_color 1 labelsize 8 align 1
|
||||
}
|
||||
Fl_Box {} {
|
||||
label Fl_Value_Slider
|
||||
xywh {10 230 280 205} box ENGRAVED_BOX labelfont 1 align 17
|
||||
}
|
||||
Fl_Value_Slider {} {
|
||||
label 0
|
||||
callback callback
|
||||
xywh {30 260 30 145} selection_color 1 labelsize 8 align 1
|
||||
}
|
||||
Fl_Value_Slider {} {
|
||||
label FL_VERT_FILL_SLIDER
|
||||
callback callback
|
||||
xywh {70 275 30 140} type {Vert Fill} selection_color 1 labelsize 8
|
||||
}
|
||||
Fl_Value_Slider {} {
|
||||
label FL_VERT_NICE_SLIDER
|
||||
callback callback
|
||||
xywh {110 260 20 145} type {Vert Knob} box FLAT_BOX color 10 selection_color 1 labelsize 8 align 1
|
||||
}
|
||||
Fl_Slider {} {
|
||||
label FL_HORIZONTAL
|
||||
callback callback
|
||||
xywh {140 80 130 20} type Horizontal selection_color 1 labelsize 8
|
||||
}
|
||||
Fl_Slider {} {
|
||||
label FL_HOR_FILL_SLIDER
|
||||
callback callback
|
||||
xywh {140 120 130 20} type {Horz Fill} selection_color 1 labelsize 8
|
||||
}
|
||||
Fl_Slider {} {
|
||||
label FL_HOR_NICE_SLIDER
|
||||
callback callback
|
||||
xywh {140 160 130 20} type {Horz Knob} box FLAT_BOX color 10 selection_color 1 labelsize 8
|
||||
}
|
||||
Fl_Value_Slider {} {
|
||||
label FL_HOR_SLIDER
|
||||
callback callback
|
||||
xywh {140 290 130 20} type Horizontal selection_color 1 labelsize 8
|
||||
}
|
||||
Fl_Value_Slider {} {
|
||||
label FL_HOR_FILL_SLIDER
|
||||
callback callback
|
||||
xywh {140 330 130 20} type {Horz Fill} selection_color 1 labelsize 8
|
||||
}
|
||||
Fl_Box {} {
|
||||
label Fl_Adjuster
|
||||
xywh {430 10 125 120} box ENGRAVED_BOX labelfont 1 align 17
|
||||
}
|
||||
Fl_Value_Slider {} {
|
||||
label FL_HOR_NICE_SLIDER
|
||||
callback callback selected
|
||||
xywh {140 370 130 20} type {Horz Knob} box FLAT_BOX color 10 selection_color 1 labelsize 8
|
||||
}
|
||||
Fl_Adjuster {} {
|
||||
label {w()>h()}
|
||||
callback callback
|
||||
xywh {440 60 75 25} labelsize 8
|
||||
}
|
||||
Fl_Adjuster {} {
|
||||
label {w()<h()}
|
||||
callback callback
|
||||
xywh {520 35 25 75} labelsize 8
|
||||
}
|
||||
Fl_Box {} {
|
||||
label Fl_Counter
|
||||
xywh {345 135 210 115} box ENGRAVED_BOX labelfont 1 align 17
|
||||
}
|
||||
Fl_Counter {} {
|
||||
label 0
|
||||
callback callback
|
||||
xywh {360 160 180 30} labelsize 8
|
||||
}
|
||||
Fl_Counter {} {
|
||||
label FL_SIMPLE_COUNTER
|
||||
callback callback
|
||||
xywh {360 205 180 30} type Simple labelsize 8
|
||||
}
|
||||
Fl_Box {} {
|
||||
label Fl_Dial
|
||||
xywh {300 260 255 105} box ENGRAVED_BOX labelfont 1 align 17
|
||||
}
|
||||
Fl_Dial {} {
|
||||
label 0
|
||||
callback callback
|
||||
xywh {315 280 65 65} color 10 selection_color 1 labelsize 8 value 0.5
|
||||
code0 {o->angles(0,315);}
|
||||
}
|
||||
Fl_Dial {} {
|
||||
label FL_LINE_DIAL
|
||||
callback callback
|
||||
xywh {395 280 65 65} type Line color 10 selection_color 1 labelsize 8 value 0.5
|
||||
}
|
||||
Fl_Dial {} {
|
||||
label FL_FILL_DIAL
|
||||
callback callback
|
||||
xywh {475 280 65 65} type Fill color 10 selection_color 1 labelsize 8 value 1
|
||||
code0 {o->angles(0,360);}
|
||||
}
|
||||
Fl_Box {} {
|
||||
label Fl_Roller
|
||||
xywh {300 375 145 120} box ENGRAVED_BOX labelfont 1 align 17
|
||||
}
|
||||
Fl_Roller {} {
|
||||
label 0
|
||||
callback callback
|
||||
xywh {315 390 20 95} labelsize 8
|
||||
}
|
||||
Fl_Roller {} {
|
||||
label FL_HORIZONTAL
|
||||
callback callback
|
||||
xywh {340 430 90 20} type Horizontal labelsize 8
|
||||
}
|
||||
Fl_Box {} {
|
||||
label Fl_Value_Input
|
||||
xywh {10 445 140 50} box ENGRAVED_BOX labelfont 1 align 17
|
||||
}
|
||||
Fl_Box {} {
|
||||
label {Some widgets have color(FL_GREEN) and color2(FL_RED) to show the areas these effect.}
|
||||
xywh {455 375 100 120} box BORDER_FRAME color 0 selection_color 0 labelsize 10 align 128
|
||||
}
|
||||
Fl_Box {} {
|
||||
label Fl_Value_Output
|
||||
xywh {155 445 135 50} box ENGRAVED_BOX labelfont 1 align 17
|
||||
}
|
||||
Fl_Value_Input {} {
|
||||
label 0
|
||||
callback callback
|
||||
xywh {30 460 110 30} labelsize 8 maximum 100 step 0.1
|
||||
}
|
||||
Fl_Value_Output {} {
|
||||
label 0
|
||||
callback callback
|
||||
xywh {170 460 110 30} labelsize 8 maximum 100 step 0.1
|
||||
}
|
||||
Fl_Box {} {
|
||||
label { Fl_Scrollbar}
|
||||
xywh {295 10 130 120} box ENGRAVED_BOX labelfont 1 align 21
|
||||
}
|
||||
Fl_Scrollbar {} {
|
||||
label 0
|
||||
callback callback
|
||||
xywh {395 20 20 105} labelsize 8 align 1 maximum 100 slider_size 0.3
|
||||
}
|
||||
Fl_Scrollbar {} {
|
||||
label FL_HORIZONTAL
|
||||
callback callback
|
||||
xywh {300 65 95 20} type Horizontal labelsize 8 maximum 100 slider_size 0.3
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ BSC32=bscmake.exe
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
|
||||
# ADD LINK32 fltk.lib opengl32.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libcd" /out:"../CubeView/CubeView.exe" /libpath:"..\lib"
|
||||
# ADD LINK32 fltk.lib opengl32.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libcd" /out:"../test/CubeView.exe" /libpath:"..\lib"
|
||||
# SUBTRACT LINK32 /pdb:none /incremental:yes
|
||||
|
||||
!ELSEIF "$(CFG)" == "CubeView - Win32 Debug"
|
||||
@ -80,7 +80,7 @@ BSC32=bscmake.exe
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||
# ADD LINK32 fltkd.lib opengl32.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd" /out:"../CubeView/CubeViewd.exe" /pdbtype:sept /libpath:"..\lib"
|
||||
# ADD LINK32 fltkd.lib opengl32.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd" /out:"../test/CubeViewd.exe" /pdbtype:sept /libpath:"..\lib"
|
||||
# SUBTRACT LINK32 /pdb:none /incremental:no
|
||||
|
||||
!ENDIF
|
||||
@ -100,6 +100,37 @@ SOURCE=..\test\CubeView.cxx
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\CubeViewUI.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\CubeViewUI.fl
|
||||
|
||||
!IF "$(CFG)" == "CubeView - Win32 Release"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluid
|
||||
InputPath=..\test\CubeViewUI.fl
|
||||
|
||||
"..\test\CubeViewUI.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluid -c CubeViewUI.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ELSEIF "$(CFG)" == "CubeView - Win32 Debug"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluidd
|
||||
InputPath=..\test\CubeViewUI.fl
|
||||
|
||||
"..\test\CubeViewUI.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluidd -c CubeViewUI.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
||||
|
@ -92,6 +92,37 @@ LINK32=link.exe
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\fast_slow.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\fast_slow.fl
|
||||
|
||||
!IF "$(CFG)" == "fast_slow - Win32 Release"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluid
|
||||
InputPath=..\test\fast_slow.fl
|
||||
|
||||
"..\test\fast_slow.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluid -c fast_slow.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ELSEIF "$(CFG)" == "fast_slow - Win32 Debug"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluidd
|
||||
InputPath=..\test\fast_slow.fl
|
||||
|
||||
"..\test\fast_slow.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluidd -c fast_slow.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
||||
|
@ -17,6 +17,9 @@ Package=<4>
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fltkgl
|
||||
End Project Dependency
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fluid
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
@ -434,6 +437,9 @@ Package=<4>
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name tiled_image
|
||||
End Project Dependency
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name help
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
@ -476,6 +482,12 @@ Package=<5>
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fluid
|
||||
End Project Dependency
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fltk
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
@ -719,6 +731,9 @@ Package=<4>
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fltk
|
||||
End Project Dependency
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fluid
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
@ -749,6 +764,9 @@ Package=<4>
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fltk
|
||||
End Project Dependency
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fluid
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
@ -791,6 +809,9 @@ Package=<4>
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fltk
|
||||
End Project Dependency
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fluid
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
@ -941,6 +962,9 @@ Package=<4>
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fltk
|
||||
End Project Dependency
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fluid
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
@ -956,6 +980,9 @@ Package=<4>
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fltk
|
||||
End Project Dependency
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fluid
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
@ -1022,6 +1049,9 @@ Package=<4>
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fltkgl
|
||||
End Project Dependency
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fluid
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
@ -1067,6 +1097,9 @@ Package=<4>
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fltk
|
||||
End Project Dependency
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fluid
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
@ -1112,6 +1145,9 @@ Package=<4>
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fltk
|
||||
End Project Dependency
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name fluid
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
@ -92,6 +92,37 @@ LINK32=link.exe
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\inactive.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\inactive.fl
|
||||
|
||||
!IF "$(CFG)" == "inactive - Win32 Release"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluidd
|
||||
InputPath=..\test\inactive.fl
|
||||
|
||||
"..\test\inactive.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluid -c inactive.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ELSEIF "$(CFG)" == "inactive - Win32 Debug"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluidd
|
||||
InputPath=..\test\inactive.fl
|
||||
|
||||
"..\test\inactive.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluidd -c inactive.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
||||
|
@ -92,6 +92,37 @@ LINK32=link.exe
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\keyboard.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\keyboard_ui.fl
|
||||
|
||||
!IF "$(CFG)" == "keyboard - Win32 Release"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluid
|
||||
InputPath=..\test\keyboard_ui.fl
|
||||
|
||||
"..\test\keyboard_ui.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluid -c keyboard_ui.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ELSEIF "$(CFG)" == "keyboard - Win32 Debug"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluidd
|
||||
InputPath=..\test\keyboard_ui.fl
|
||||
|
||||
"..\test\keyboard_ui.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluidd -c keyboard_ui.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
||||
|
@ -92,6 +92,37 @@ LINK32=link.exe
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\mandelbrot.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\mandelbrot_ui.fl
|
||||
|
||||
!IF "$(CFG)" == "mandelbrot - Win32 Release"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluid
|
||||
InputPath=..\test\mandelbrot_ui.fl
|
||||
|
||||
"../test/mandelbrot_ui.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluid -c mandelbrot_ui.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ELSEIF "$(CFG)" == "mandelbrot - Win32 Debug"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluidd
|
||||
InputPath=..\test\mandelbrot_ui.fl
|
||||
|
||||
"../test/mandelbrot_ui.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluidd -c mandelbrot_ui.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
||||
|
@ -92,6 +92,37 @@ LINK32=link.exe
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\radio.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\radio.fl
|
||||
|
||||
!IF "$(CFG)" == "radio - Win32 Release"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluid
|
||||
InputPath=..\test\radio.fl
|
||||
|
||||
"../test/radio.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluid -c radio.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ELSEIF "$(CFG)" == "radio - Win32 Debug"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluidd
|
||||
InputPath=..\test\radio.fl
|
||||
|
||||
"../test/radio.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluidd -c radio.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
||||
|
@ -92,6 +92,37 @@ LINK32=link.exe
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\resize.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\resize.fl
|
||||
|
||||
!IF "$(CFG)" == "resize - Win32 Release"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluid
|
||||
InputPath=..\test\resize.fl
|
||||
|
||||
"../test/resize.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluid -c resize.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ELSEIF "$(CFG)" == "resize - Win32 Debug"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluidd
|
||||
InputPath=..\test\resize.fl
|
||||
|
||||
"../test/resize.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluidd -c resize.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
||||
|
@ -92,6 +92,37 @@ LINK32=link.exe
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\shiny.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\shiny_panel.fl
|
||||
|
||||
!IF "$(CFG)" == "shiny - Win32 Release"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluid
|
||||
InputPath=..\test\shiny_panel.fl
|
||||
|
||||
"../test/shiny_panel.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluid -c shiny_panel.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ELSEIF "$(CFG)" == "shiny - Win32 Debug"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluidd
|
||||
InputPath=..\test\shiny_panel.fl
|
||||
|
||||
"../test/shiny_panel.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluidd -c shiny_panel.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
||||
|
@ -92,6 +92,37 @@ LINK32=link.exe
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\tabs.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\tabs.fl
|
||||
|
||||
!IF "$(CFG)" == "tabs - Win32 Release"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluid
|
||||
InputPath=..\test\tabs.fl
|
||||
|
||||
"../test/tabs.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluid -c tabs.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ELSEIF "$(CFG)" == "tabs - Win32 Debug"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluidd
|
||||
InputPath=..\test\tabs.fl
|
||||
|
||||
"../test/tabs.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluidd -c tabs.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
||||
|
@ -92,6 +92,37 @@ LINK32=link.exe
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\valuators.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\test\valuators.fl
|
||||
|
||||
!IF "$(CFG)" == "valuators - Win32 Release"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluid
|
||||
InputPath=..\test\valuators.fl
|
||||
|
||||
"../test/valuators.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluid -c valuators.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ELSEIF "$(CFG)" == "valuators - Win32 Debug"
|
||||
|
||||
# Begin Custom Build - Create .cxx and .h file with fluidd
|
||||
InputPath=..\test\valuators.fl
|
||||
|
||||
"../test/valuators.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ..\test
|
||||
..\fluid\fluidd -c valuators.fl
|
||||
cd ..\visualc
|
||||
|
||||
# End Custom Build
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
||||
|
Loading…
Reference in New Issue
Block a user