Subversion Repositories tpanel

Rev

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

Rev 434 Rev 435
Line 1... Line 1...
1
/*
1
/*
2
 * Copyright (C) 2020 to 2023 by Andreas Theofilu <andreas@theosys.at>
2
 * Copyright (C) 2020 to 2024 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 428... Line 428...
428
            int getChannelPort() { return cp; }
428
            int getChannelPort() { return cp; }
429
            int getLevelPort() { return lp; }
429
            int getLevelPort() { return lp; }
430
            int getLevelChannel() { return lv; }
430
            int getLevelChannel() { return lv; }
431
            bool isBargraphInverted() { return (ri != 0); }
431
            bool isBargraphInverted() { return (ri != 0); }
432
            bool isJoystickAuxInverted() { return (ji != 0); }
432
            bool isJoystickAuxInverted() { return (ji != 0); }
433
            int getBarRangeHigh() { return rh; }
-
 
434
            int getBarRangeLow() { return rl; }
-
 
435
            int getLevelValue();
433
            int getLevelValue();
436
            void setLevelValue(int level);
434
            void setLevelValue(int level);
437
            int getLevelAxisX();
435
            int getLevelAxisX();
438
            int getLevelAxisY();
436
            int getLevelAxisY();
439
            uint32_t getButtonID() { return mButtonID; }
437
            uint32_t getButtonID() { return mButtonID; }
440
            std::string getButtonIDstr();
438
            std::string getButtonIDstr(uint32_t rid=0x1fffffff);
441
            std::string& getLevelFuction() { return lf; }
439
            std::string& getLevelFuction() { return lf; }
442
            std::string getText(int inst=0);
440
            std::string getText(int inst=0);
443
            std::string getTextColor(int inst=0);
441
            std::string getTextColor(int inst=0);
444
            std::string getTextEffectColor(int inst=0);
442
            std::string getTextEffectColor(int inst=0);
445
            void setTextEffectColor(const std::string& ec, int inst=-1);
443
            void setTextEffectColor(const std::string& ec, int inst=-1);