]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/delegate/protocols/protocols.factor
Add HOOK-CONSULT: to delegate
[factor.git] / basis / delegate / protocols / protocols.factor
index 409307a7d1b4bdb4ca6cee13c84a6d3084bba99b..d4a62f49bea262805953c3c2f071e0ec639df59e 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2007 Daniel Ehrenberg
 ! See https://factorcode.org/license.txt for BSD license.
 USING: assocs delegate deques io sequences sequences.private
-sets ;
+sets ui.theme ;
 IN: delegate.protocols
 
 PROTOCOL: sequence-protocol
@@ -28,3 +28,30 @@ stream-readln stream-read-until stream-contents* ;
 
 PROTOCOL: output-stream-protocol
 stream-flush stream-write1 stream-write stream-nl ;
+
+PROTOCOL: theme-protocol
+toolbar-background toolbar-button-pressed-background
+menu-background menu-border-color status-bar-background
+status-bar-foreground button-text-color
+button-clicked-text-color line-color column-title-background
+roll-button-rollover-border roll-button-selected-background
+source-files-color errors-color details-color debugger-color
+completion-color data-stack-color retain-stack-color
+call-stack-color title-bar-gradient popup-color object-color
+contents-color help-header-background
+thread-status-stopped-background
+thread-status-suspended-background
+thread-status-running-background
+thread-status-stopped-foreground
+thread-status-suspended-foreground
+thread-status-running-foreground error-summary-background
+content-background text-color link-color title-color
+heading-color snippet-color output-color
+deprecated-background-color deprecated-border-color
+warning-background-color warning-border-color
+code-background-color code-border-color help-path-border-color
+tip-background-color prompt-background-color dim-color
+highlighted-word-color string-color stack-effect-color
+vocab-background-color vocab-border-color field-border-color
+editor-caret-color selection-color panel-background-color
+focus-border-color labeled-border-color table-border-color ;