source: tags/initial/EDIT4/ED4_secedit.cxx

Last change on this file was 2, checked in by oldcode, 24 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 513 bytes
Line 
1#include <stdio.h>
2
3#include <aw_root.hxx>
4#include <aw_device.hxx>
5#include <aw_window.hxx>
6
7#include <awt_canvas.hxx>
8
9#include <secedit.hxx>
10#include <sec_graphic.hxx>
11
12#include "ed4_secedit.hxx"
13
14void ED4_SECEDIT_start(AW_window *aw, AW_CL, AW_CL)
15{
16    static AW_window *aw_sec = 0;
17   
18    if (!aw_sec) { // do not open window twice
19        aw_sec = SEC_create_main_window(aw->get_root());
20        if (!aw_sec) {
21            aw_message("Couldn't start secondary structure editor");
22            return;
23        }
24    }
25    aw_sec->show();
26}
27
Note: See TracBrowser for help on using the repository browser.