project_files/HedgewarsMobile/Classes/MNEValueTrackingSlider.h
author S.D.
Tue, 27 Sep 2022 14:59:03 +0300
changeset 15878 fc3cb23fd26f
parent 12872 00215a7ec5f5
permissions -rwxr-xr-x
Allow to see rooms of incompatible versions in the lobby For the new clients the room version is shown in a separate column. There is also a hack for previous versions clients: the room vesion specifier is prepended to the room names for rooms of incompatible versions, and the server shows 'incompatible version' error if the client tries to join them.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6679
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
     1
//
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
     2
// MNEValueTrackingSlider
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
     3
//
6700
e04da46ee43c the most important commit of the year
koda
parents: 6679
diff changeset
     4
// Copyright 2012 Michael Neuwert
6679
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
     5
// "You can use the code in your own project and modify it as you like."
6700
e04da46ee43c the most important commit of the year
koda
parents: 6679
diff changeset
     6
// http://blog.neuwert-media.com/2012/04/customized-uislider-with-visual-value-tracking/
6679
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
     7
//
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
     8
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
     9
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
    10
#import <Foundation/Foundation.h>
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
    11
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
    12
@class SliderValuePopupView;
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
    13
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
    14
@interface MNEValueTrackingSlider : UISlider {
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
    15
    SliderValuePopupView *valuePopupView;
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
    16
    NSString *textValue;
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
    17
}
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
    18
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
    19
@property (nonatomic, readonly) CGRect thumbRect;
12872
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 6700
diff changeset
    20
@property (nonatomic, strong) NSString *textValue;
6679
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
    21
d8b98aa486a6 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it
koda
parents:
diff changeset
    22
@end