diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-04-28 01:00:41 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-04-28 01:00:41 +0000 |
| commit | d90102f9d22f7da2a21c42e6f7e953ca479c6671 (patch) | |
| tree | 41d1cb07269f3c260d501ac2930b56aaac75fb7b /fluid/function_panel.cxx | |
| parent | f74a812003bab965e02e6811eb90d111bff90139 (diff) | |
Fluid Code Viewer is now truly a viewer, not an editor. I would love to allow text editing in the Code Viewer and re-enter the code into the UI, but that is currently close to impossible to implement
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/function_panel.cxx')
| -rw-r--r-- | fluid/function_panel.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fluid/function_panel.cxx b/fluid/function_panel.cxx index 43c6ccf88..64ba8b58e 100644 --- a/fluid/function_panel.cxx +++ b/fluid/function_panel.cxx @@ -843,9 +843,9 @@ Fl_Double_Window *sourceview_panel=(Fl_Double_Window *)0; Fl_Tabs *sv_tab=(Fl_Tabs *)0; -CodeEditor *sv_source=(CodeEditor *)0; +CodeViewer *sv_source=(CodeViewer *)0; -CodeEditor *sv_header=(CodeEditor *)0; +CodeViewer *sv_header=(CodeViewer *)0; Fl_Light_Button *sv_autorefresh=(Fl_Light_Button *)0; @@ -863,7 +863,7 @@ Fl_Double_Window* make_sourceview() { { Fl_Group* o = new Fl_Group(10, 35, 500, 415, "Source"); o->labelsize(13); o->hide(); - { CodeEditor* o = sv_source = new CodeEditor(20, 50, 480, 390); + { CodeViewer* o = sv_source = new CodeViewer(20, 50, 480, 390); o->box(FL_DOWN_FRAME); o->color(FL_BACKGROUND2_COLOR); o->selection_color(FL_SELECTION_COLOR); @@ -882,7 +882,7 @@ Fl_Double_Window* make_sourceview() { } { Fl_Group* o = new Fl_Group(10, 35, 500, 415, "Header"); o->labelsize(13); - { CodeEditor* o = sv_header = new CodeEditor(20, 50, 480, 390); + { CodeViewer* o = sv_header = new CodeViewer(20, 50, 480, 390); o->box(FL_DOWN_FRAME); o->color(FL_BACKGROUND2_COLOR); o->selection_color(FL_SELECTION_COLOR); |
