Subversion Repositories tpanel

Rev

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

Rev 435 Rev 439
Line 275... Line 275...
275
        int top{1};
275
        int top{1};
276
        bool overflow{false};
276
        bool overflow{false};
277
        bool valid{false};
277
        bool valid{false};
278
    }POSITION_t;
278
    }POSITION_t;
279
 
279
 
-
 
280
    typedef struct POINT_t
-
 
281
    {
-
 
282
        int x{0};
-
 
283
        int y{0};
-
 
284
    }POINT_t;
-
 
285
 
280
    typedef struct IMAGE_SIZE_t
286
    typedef struct IMAGE_SIZE_t
281
    {
287
    {
282
        int width{0};
288
        int width{0};
283
        int height{0};
289
        int height{0};
284
    }IMAGE_SIZE_t;
290
    }IMAGE_SIZE_t;
Line 1152... Line 1158...
1152
             * The method sends the level of the x and y axes of a joystick to
1158
             * The method sends the level of the x and y axes of a joystick to
1153
             * the NetLinx.
1159
             * the NetLinx.
1154
             */
1160
             */
1155
            void sendJoystickLevels();
1161
            void sendJoystickLevels();
1156
            /**
1162
            /**
-
 
1163
             * @brief Send the level of the bargraph
-
 
1164
             * The method sends the level of the bargraph to the NetLinx.
-
 
1165
             */
-
 
1166
            void sendBargraphLevel();
-
 
1167
            /**
1157
             * @brief invalidate - Mark a button internal as hidden.
1168
             * @brief invalidate - Mark a button internal as hidden.
1158
             * This method does not call any surface methods and marks the
1169
             * This method does not call any surface methods and marks the
1159
             * the button only internal hidden. The graphic remains.
1170
             * the button only internal hidden. The graphic remains.
1160
             *
1171
             *
1161
             * @return TRUE on success.
1172
             * @return TRUE on success.
Line 1325... Line 1336...
1325
            SkBitmap colorImage(SkBitmap& base, SkBitmap& alpha, SkColor col, SkColor bg=0, bool useBG=false);
1336
            SkBitmap colorImage(SkBitmap& base, SkBitmap& alpha, SkColor col, SkColor bg=0, bool useBG=false);
1326
            bool retrieveImage(const std::string& path, SkBitmap *image);
1337
            bool retrieveImage(const std::string& path, SkBitmap *image);
1327
            bool getBorderFragment(const std::string& path, const std::string& pathAlpha, SkBitmap *image, SkColor color);
1338
            bool getBorderFragment(const std::string& path, const std::string& pathAlpha, SkBitmap *image, SkColor color);
1328
            SkBitmap drawSliderButton(const std::string& slider, SkColor col);
1339
            SkBitmap drawSliderButton(const std::string& slider, SkColor col);
1329
            SkBitmap drawCursorButton(const std::string& cursor, SkColor col);
1340
            SkBitmap drawCursorButton(const std::string& cursor, SkColor col);
-
 
1341
            POINT_t getImagePosition(int width, int height);
1330
 
1342
 
1331
            void addToBitmapCache(BITMAP_CACHE& bc);
1343
            void addToBitmapCache(BITMAP_CACHE& bc);
1332
            BITMAP_CACHE& getBCentryByHandle(ulong handle, ulong parent);
1344
            BITMAP_CACHE& getBCentryByHandle(ulong handle, ulong parent);
1333
            BITMAP_CACHE& getBCentryByBI(int bIdx);
1345
            BITMAP_CACHE& getBCentryByBI(int bIdx);
1334
            void removeBCentry(std::vector<BITMAP_CACHE>::iterator *elem);
1346
            void removeBCentry(std::vector<BITMAP_CACHE>::iterator *elem);