Subversion Repositories tpanel

Rev

Rev 16 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16 Rev 21
Line 1... Line 1...
1
/*
1
/*
2
 * Copyright (C) 2020 by Andreas Theofilu <andreas@theosys.at>
2
 * Copyright (C) 2020, 2021 by Andreas Theofilu <andreas@theosys.at>
3
 *
3
 *
4
 * This program is free software; you can redistribute it and/or modify
4
 * This program is free software; you can redistribute it and/or modify
5
 * it under the terms of the GNU General Public License as published by
5
 * it under the terms of the GNU General Public License as published by
6
 * the Free Software Foundation; either version 3 of the License, or
6
 * the Free Software Foundation; either version 3 of the License, or
7
 * (at your option) any later version.
7
 * (at your option) any later version.
Line 115... Line 115...
115
            TButton *button = new TButton();
115
            TButton *button = new TButton();
116
            button->setPalette(mPalette);
116
            button->setPalette(mPalette);
117
            button->setFonts(mFonts);
117
            button->setFonts(mFonts);
118
            button->registerCallback(_displayButton);
118
            button->registerCallback(_displayButton);
119
            button->registerCallbackFT(_setText);
119
            button->registerCallbackFT(_setText);
-
 
120
            button->regCallPlayVideo(_playVideo);
120
            button->initialize(&reader, node);
121
            button->initialize(&reader, node);
121
 
122
 
122
            if (TError::isError())
123
            if (TError::isError())
123
            {
124
            {
124
                delete button;
125
                delete button;