Ignore:
Timestamp:
Feb 25, 2010, 1:01:36 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
d50264
Parents:
1614a17
Message:

Added a method to query Elements using the Dialog structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/UIElements/Dialog.cpp

    r1614a17 rf467c6  
    129129  *target = *tmp;
    130130}
     131
     132// Element Queries
     133Dialog::ElementQuery::ElementQuery(std::string title, element **_target) :
     134  Query(title),
     135  target(_target),
     136  tmp(0)
     137  {}
     138
     139Dialog::ElementQuery::~ElementQuery(){}
     140
     141void Dialog::ElementQuery::setResult(){
     142  *target=tmp;
     143}
Note: See TracChangeset for help on using the changeset viewer.