diff options
Diffstat (limited to 'src/decomp/expr/block.h')
-rw-r--r-- | src/decomp/expr/block.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/decomp/expr/block.h b/src/decomp/expr/block.h index b0c2baa..b0788dd 100644 --- a/src/decomp/expr/block.h +++ b/src/decomp/expr/block.h @@ -48,12 +48,28 @@ typedef struct _GExprBlock GExprBlock; typedef struct _GExprBlockClass GExprBlockClass; +/* Rendu des bordures */ +typedef enum _BlockBordeBehavior +{ + BBB_AUTO, + BBB_FORCE_OFF, + BBB_FORCE_ON + +} BlockBordeBehavior; + + /* Indique le type défini pour un ensemble d'instructions décompilées. */ GType g_expr_block_get_type(void); /* Constuit un conteneur pour diverses instructions décompilées. */ GDecInstruction *g_expr_block_new(GDecInstruction *); +/* Fournit le comportement du bloc pour le rendu de ses bords. */ +BlockBordeBehavior g_expr_block_get_border_behavior(const GExprBlock *); + +/* Définit le comportement du bloc pour le rendu de ses bords. */ +void g_expr_block_set_border_behavior(GExprBlock *, BlockBordeBehavior); + /* Ajoute une instruction décompilée au conteneur existant. */ void g_expr_block_add_item(GExprBlock *, GDecInstruction *); |