13 lines
431 B
Kotlin
13 lines
431 B
Kotlin
|
package net.shadowfacts.cacao.view.button
|
||
|
|
||
|
import net.shadowfacts.cacao.view.View
|
||
|
|
||
|
/**
|
||
|
* A simple button implementation that provides no additional logic.
|
||
|
*
|
||
|
* @author shadowfacts
|
||
|
* @param content The [View] that provides the content of this button.
|
||
|
* @param padding The padding between the [content] and the edges of the button.
|
||
|
*/
|
||
|
class Button(content: View, padding: Double = 4.0): AbstractButton<Button>(content, padding)
|