Subversion Repositories tpanel

Rev

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

Rev 332 Rev 334
Line 384... Line 384...
384
             */
384
             */
385
            BUTTONTYPE getButtonType() { return type; }
385
            BUTTONTYPE getButtonType() { return type; }
386
            /**
386
            /**
387
             * Set font file name and optional the size
387
             * Set font file name and optional the size
388
             *
388
             *
389
             * @param font  File name of the font
389
             * @param name  File name of the font
390
             * @param size  The size of the font in PT
390
             * @param size  The size of the font in PT
391
             * @param inst  The instance of the button
391
             * @param inst  The instance of the button
-
 
392
             *
-
 
393
             * @return TRUE success
392
             */
394
             */
393
            bool setFontFileName(const std::string& name, int size, int inst);
395
            bool setFontFileName(const std::string& name, int size, int inst);
-
 
396
            /**
-
 
397
             * Set font name.
-
 
398
             *
-
 
399
             * @param name  The font name
-
 
400
             * @param inst  The instance of the button
-
 
401
             *
-
 
402
             * @return TRUE success
-
 
403
             */
-
 
404
            bool setFontName(const std::string& name, int inst);
394
 
405
 
395
            std::string& getName() { return na; }
406
            std::string& getName() { return na; }
396
            int getRangeLow() { return rl; }
407
            int getRangeLow() { return rl; }
397
            int getRangeHigh() { return rh; }
408
            int getRangeHigh() { return rh; }
398
            int getStateCount() { return stateCount; }
409
            int getStateCount() { return stateCount; }
Line 502... Line 513...
502
            bool setFontOnly(int id, int instance);
513
            bool setFontOnly(int id, int instance);
503
            void setTop(int top);
514
            void setTop(int top);
504
            void setLeft(int left);
515
            void setLeft(int left);
505
            void setLeftTop(int left, int top);
516
            void setLeftTop(int left, int top);
506
            void setRectangle(int left, int top, int right, int bottom);
517
            void setRectangle(int left, int top, int right, int bottom);
-
 
518
            void getRectangle(int *left, int *top, int *height, int *width);
507
            void setResourceName(const std::string& name, int instance);
519
            void setResourceName(const std::string& name, int instance);
508
            int getBitmapJustification(int *x, int *y, int instance);
520
            int getBitmapJustification(int *x, int *y, int instance);
509
            void setBitmapJustification(int j, int x, int y, int instance);
521
            void setBitmapJustification(int j, int x, int y, int instance);
510
            int getIconJustification(int *x, int *y, int instance);
522
            int getIconJustification(int *x, int *y, int instance);
511
            void setIconJustification(int j, int x, int y, int instance);
523
            void setIconJustification(int j, int x, int y, int instance);