Subversion Repositories tpanel

Rev

Rev 479 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 479 Rev 480
Line 282... Line 282...
282
        std::vector<SR_T> sr;
282
        std::vector<SR_T> sr;
283
    }EXTBUTTON_t;
283
    }EXTBUTTON_t;
284
 
284
 
285
    typedef struct PUSH_FUNC
285
    typedef struct PUSH_FUNC
286
    {
286
    {
-
 
287
        int item{0};            // TP5: Item number ordered
287
        std::string pfType; // command to execute when button was pushed
288
        std::string pfType;     // command to execute when button was pushed
288
        std::string pfName; // Name of popup
289
        std::string pfName;     // Name of popup
289
    } PUSH_FUNC_T;
290
    }PUSH_FUNC_T;
-
 
291
 
-
 
292
    typedef struct CALL_APP     // TP5: Call an application
-
 
293
    {
-
 
294
        int item{0};            // Item number
-
 
295
        std::string action;     // The action to take (show, hide, ...)
-
 
296
        int id{0};              // An ID for the application
-
 
297
        std::string name;       // The name of the application (Calculator, ...)
-
 
298
    }CALL_APP_t;
290
 
299
 
291
    typedef enum CENTER_CODE
300
    typedef enum CENTER_CODE
292
    {
301
    {
293
        SC_ICON = 0,
302
        SC_ICON = 0,
294
        SC_BITMAP,
303
        SC_BITMAP,
Line 1339... Line 1348...
1339
            bool drawAlongOrder(SkBitmap *imgButton, int instance);
1348
            bool drawAlongOrder(SkBitmap *imgButton, int instance);
1340
 
1349
 
1341
            void getDrawOrder(const std::string& sdo, DRAW_ORDER *order);
1350
            void getDrawOrder(const std::string& sdo, DRAW_ORDER *order);
1342
            bool buttonFill(SkBitmap *bm, int instance);
1351
            bool buttonFill(SkBitmap *bm, int instance);
1343
            bool buttonBitmap(SkBitmap *bm, int instance);
1352
            bool buttonBitmap(SkBitmap *bm, int instance);
-
 
1353
            bool buttonBitmap5(SkBitmap *bm, int instance);
1344
            bool buttonDynamic(SkBitmap *bm, int instance, bool show, bool *state=nullptr);
1354
            bool buttonDynamic(SkBitmap *bm, int instance, bool show, bool *state=nullptr);
1345
            bool buttonIcon(SkBitmap *bm, int instance);
1355
            bool buttonIcon(SkBitmap *bm, int instance);
1346
            bool buttonText(SkBitmap *bm, int instance);
1356
            bool buttonText(SkBitmap *bm, int instance);
1347
            bool buttonBorder(SkBitmap *bm, int instance, TSystemDraw::LINE_TYPE_t lnType=TSystemDraw::LT_OFF);
1357
            bool buttonBorder(SkBitmap *bm, int instance, TSystemDraw::LINE_TYPE_t lnType=TSystemDraw::LT_OFF);
1348
            bool isPixelTransparent(int x, int y);
1358
            bool isPixelTransparent(int x, int y);
Line 1453... Line 1463...
1453
            std::string we;         // SubPageView: Anchor position: Empty = Center, "l/t" = left/top, "r/b" = right/bottom
1463
            std::string we;         // SubPageView: Anchor position: Empty = Center, "l/t" = left/top, "r/b" = right/bottom
1454
            std::string pc;         // Password character for text area
1464
            std::string pc;         // Password character for text area
1455
            std::string op;         // String the button send
1465
            std::string op;         // String the button send
1456
            bool visible{true};     // TRUE=Button is visible
1466
            bool visible{true};     // TRUE=Button is visible
1457
            std::vector<PUSH_FUNC_T> pushFunc;  // Push functions: This are executed on button press
1467
            std::vector<PUSH_FUNC_T> pushFunc;  // Push functions: This are executed on button press
-
 
1468
            std::vector<CALL_APP_t> callApp;    // TP5: Call an application
1458
            std::vector<SR_T> sr;   // The elements the button consists of
1469
            std::vector<SR_T> sr;   // The elements the button consists of
1459
            // ListView settings (G5)
1470
            // ListView settings (G5)
1460
            std::string listSource; // Defines the data source for a list.
1471
            std::string listSource; // Defines the data source for a list.
1461
            int listEvNum{1401};       // ListView event number.
1472
            int listEvNum{1401};       // ListView event number.
1462
            std::string listFilter; // ListView filter string.
1473
            std::string listFilter; // ListView filter string.