about summary refs log tree commit diff stats
path: root/src/img/bitmap.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/img/bitmap.nim')
-rw-r--r--src/img/bitmap.nim6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/img/bitmap.nim b/src/img/bitmap.nim
index 9f9b3401..a186b47f 100644
--- a/src/img/bitmap.nim
+++ b/src/img/bitmap.nim
@@ -8,7 +8,11 @@ type
 
   ImageBitmap* = ref object of Bitmap
 
-proc newBitmap*(width, height: uint64): Bitmap =
+  NetworkBitmap* = ref object of Bitmap
+    outputId*: int
+    imageId*: int
+
+proc newBitmap*(width, height: uint64): ImageBitmap =
   return ImageBitmap(
     px: newSeq[ARGBColor](width * height),
     width: width,