diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2011-01-02 03:50:54 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2011-01-02 03:50:54 +0000 |
| commit | e203237eb3406ce7d4639b33a3ea2b05d8b7e9c5 (patch) | |
| tree | be246b76f09f0439bf37c5fe34b06abb12ee5f6e /test/mandelbrot_ui.fl | |
| parent | 5f2aa6ca9c0f3054a0dfa061d9e0662f421f8862 (diff) | |
Integrated menu into demo resource branch for OS X. Indicating items that open more choices with ...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8167 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/mandelbrot_ui.fl')
| -rw-r--r-- | test/mandelbrot_ui.fl | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/test/mandelbrot_ui.fl b/test/mandelbrot_ui.fl index f0ffe8545..6c6072e07 100644 --- a/test/mandelbrot_ui.fl +++ b/test/mandelbrot_ui.fl @@ -2,16 +2,17 @@ version 1.0300 header_name {.h} code_name {.cxx} -decl {\#include "mandelbrot.h"} {public +decl {\#include "mandelbrot.h"} {public local } -decl {\#include <stdlib.h>} {} +decl {\#include <stdlib.h>} {private local +} class Drawing_Window {open } { Function {make_window()} {open return_type void } { - Fl_Window window {open selected + Fl_Window window {open xywh {178 479 450 520} type Single resizable code0 {o->size_range(220,220);} visible } { @@ -24,21 +25,21 @@ class Drawing_Window {open label {x:} callback {d->X = atof(o->value());; d->new_display();} - xywh {30 15 125 30} type Float box THIN_DOWN_BOX color 8 selection_color 7 labelfont 11 labelsize 20 textfont 11 textsize 20 + xywh {30 15 125 30} type Float box THIN_DOWN_BOX color 48 selection_color 7 labelfont 11 labelsize 20 textfont 11 textsize 20 code0 {o->when(FL_WHEN_ENTER_KEY|FL_WHEN_RELEASE);} } Fl_Input y_input { label {y:} callback {d->Y = atof(o->value()); d->new_display();} - xywh {175 15 125 30} type Float box THIN_DOWN_BOX color 8 selection_color 7 labelfont 11 labelsize 20 textfont 11 textsize 20 + xywh {175 15 125 30} type Float box THIN_DOWN_BOX color 48 selection_color 7 labelfont 11 labelsize 20 textfont 11 textsize 20 code0 {o->when(FL_WHEN_ENTER_KEY|FL_WHEN_RELEASE);} } Fl_Input w_input { label {w:} callback {d->scale = atof(o->value()); d->new_display();} - xywh {325 15 105 30} type Float box THIN_DOWN_BOX color 8 selection_color 7 labelfont 11 labelsize 20 textfont 11 textsize 20 + xywh {325 15 105 30} type Float box THIN_DOWN_BOX color 48 selection_color 7 labelfont 11 labelsize 20 textfont 11 textsize 20 code0 {o->when(FL_WHEN_ENTER_KEY|FL_WHEN_RELEASE);} } Fl_Slider {} { @@ -52,7 +53,7 @@ d->new_display();} } Fl_Box {} { label {left: click = zoom out, drag = zoom in -right click: Julia set, ctrl-P: Print} +right click: Julia set, ctrl-P: Print} selected xywh {240 50 190 30} labelsize 10 align 24 deactivate } Fl_Slider {} { @@ -66,6 +67,6 @@ d->new_display();} } } } - decl {void update_label();} {public + decl {void update_label();} {public local } } |
