mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
Address CPRulerOrientation build warning
CPRulerView.j declared CPRulerOrientation's constants directly, with only a comment claiming it was a typedef. No @typedef directive existed, so the type was unknown wherever used as an ivar or parameter type. Added the missing @typedef CPRulerOrientation, matching the pattern already used for CPTextAlignment in CPText.j.
This commit is contained in:
@@ -29,11 +29,11 @@
|
||||
@import "CPMenuItem.j"
|
||||
|
||||
// Orientations matching AppKit standards
|
||||
// typedef enum CPRulerOrientation
|
||||
CPHorizontalRuler = 0,
|
||||
CPVerticalRuler = 1,
|
||||
CPRulerOrientationHorizontal = 0,
|
||||
CPRulerOrientationVertical = 1
|
||||
@typedef CPRulerOrientation
|
||||
CPHorizontalRuler = 0;
|
||||
CPVerticalRuler = 1;
|
||||
CPRulerOrientationHorizontal = 0;
|
||||
CPRulerOrientationVertical = 1;
|
||||
|
||||
@class CPRulerView;
|
||||
@class CPScrollView;
|
||||
|
||||
Reference in New Issue
Block a user